Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37741 17 d 14 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ fix(fofo): show Pine Labs monthly EMI in rupees, not paise

Plural sends Money.value in paise; the EMI offers modal printed it raw
(185959 INR instead of Rs 1,859.59). Converted at the view only - the
web API hands the same DTO to the app, which expects paise.
 
37498 37 d 14 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix: namespace document-level handlers in remaining vm fragments

Completes the sweep started in r37493/r37494. These fragments are injected
with .html(), which re-executes their inline <script>, so every load stacked
another $(document) delegated handler. Mutating handlers then fired N
identical requests and were rejected as duplicates; read-only ones silently
fired N GETs (never deduped, so no alert - just N times the load).

35 fragments, 70 bindings. Adopts the create-purchase-return.vm convention:
one $(document).off('.ns') before the first binding, every event namespaced,
so only the newest binding survives a re-injection.

Notes:
- ticket.vm binds via jQuery(document).on, which the earlier passes did not
match, and its clear must sit OUTSIDE ready() - that callback fires async,
so an inside-ready clear would wipe the top-level binds registered before it.
- agreement-esign-panel, full-stock-payment-panel and create-purchase-return
were left alone; they already clear their handlers (selector-targeted
.off('click', sel) and .off('.createpr') respectively).

Behaviour-preserving: every diff line is either a namespace suffix on an
event string or a new off() call. Selectors, handlers and ordering untouched.
Verified no unprotected document-level bindings remain in any fragment.
 
36922 106 d 12 h amit /trunk/profitmandi-fofo/src/main/ Remove unused Digify retailer integration and fix slim-jQuery clobber on partner-performance/today_po/today_target pages

- Delete Digify controller, views and Buyback asset; drop dead .digify-retailer-login handler and buyback links/buttons
- Load full jQuery (3.5.1) instead of jquery slim on partner-performance/today_po/today_target so injected pages no longer overwrite the dashboard jQuery (restores $.ajax / slideUp)
- Bump jsVersion to 365
 
36394 164 d 15 h amit /trunk/profitmandi-fofo/src/main/ Add IMEI net-margin modal on order-index billing panel.

New /getImeiNetMarginModal endpoint: given an IMEI, derives the
purchase-billed date from the IMEI's purchase order
(InventoryItem.purchaseId -> Purchase.purchaseReference -> Order.billingTimestamp),
fetches schemes applicable on that date via PriceCircular, and shows
per-scheme contribution, NLC, and net margin in a slim modal.

Effective DP = inventory_item.unit_price - max(0, price_drop_amount)
to match SchemeServiceImpl.createSchemeInOut/PriceCircularService.getPayouts.
Offers are intentionally excluded. Per-IMEI price-drop history is
shown for reference.
 
36064 197 d 10 h aman /trunk/ Fix:FULL_Stock flow , fin service mark unapplicable ,send invoice to whatsapp by default, update contact list ,Training mail issue  
35728 239 d 17 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Hide 0 Tenure Offers for PineLabs  
35726 240 d 9 h vikas /trunk/ Pinelabs offer discovery on billing and stock page  
35549 266 d 17 h ranu /trunk/ bulletin updated on dashboard and give access category department  
35298 323 d 14 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:DOB date picker revert  
35284 329 d 5 h aman /trunk/ Fix:Monthly acceories sale  
35072 378 d 12 h ranu /trunk/ insurance price and banner change  
35069 378 d 14 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ get quote from backend  
35068 378 d 14 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ get quote from backend  
35067 378 d 14 h ranu /trunk/ get quote from backend  
35055 381 d 16 h ranu /trunk/ remove cash discount from billing page  
34805 448 d 10 h ranu /trunk/ icici insurance policy phase one uploaded  
34798 450 d 13 h ranu /trunk/ icici insurance policy phase one uploaded  
34788 452 d 14 h ranu /trunk/ method update for customer offer  
33795 744 d 6 h ranu /trunk/ upgrade offer live  
33437 854 d 18 h ranu /trunk/profitmandi-fofo/src/main/ b2c online order process modified  

Show All