Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37741 18 d 13 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 38 d 12 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 107 d 10 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 165 d 14 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 198 d 8 h aman /trunk/ Fix:FULL_Stock flow , fin service mark unapplicable ,send invoice to whatsapp by default, update contact list ,Training mail issue  
35728 240 d 16 h vikas /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Hide 0 Tenure Offers for PineLabs  
35726 241 d 8 h vikas /trunk/ Pinelabs offer discovery on billing and stock page  
35549 267 d 15 h ranu /trunk/ bulletin updated on dashboard and give access category department  
35298 324 d 13 h aman /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fix:DOB date picker revert  
35284 330 d 3 h aman /trunk/ Fix:Monthly acceories sale  
35072 379 d 11 h ranu /trunk/ insurance price and banner change  
35069 379 d 12 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ get quote from backend  
35068 379 d 12 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ get quote from backend  
35067 379 d 12 h ranu /trunk/ get quote from backend  
35055 382 d 14 h ranu /trunk/ remove cash discount from billing page  
34805 449 d 8 h ranu /trunk/ icici insurance policy phase one uploaded  
34798 451 d 11 h ranu /trunk/ icici insurance policy phase one uploaded  
34788 453 d 13 h ranu /trunk/ method update for customer offer  
33795 745 d 5 h ranu /trunk/ upgrade offer live  
33437 855 d 16 h ranu /trunk/profitmandi-fofo/src/main/ b2c online order process modified  
33400 865 d 13 h ranu /trunk/profitmandi-fofo/src/main/ complete spilit order and payment by l2 of pending order item  
32816 1003 d 12 h ranu /trunk/ non serialize fix for serial number in invoice item  
32329 1155 d 12 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed orders  
31975 1249 d 6 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31974 1249 d 11 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
31275 1394 d 16 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Removed unwanted files  
31274 1394 d 17 h amit.gupta /trunk/ Removed unwanted files  
31083 1450 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/ Adedd default httpClient  
30941 1488 d 9 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Fixed commit  
30601 1583 d 17 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Added velocity  
29541 1805 d 8 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
29015 1877 d 7 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
28479 1945 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/  
28395 1975 d 8 h amit.gupta /trunk/ Added changes for activation schemes  
28339 1984 d 8 h tejbeer /trunk/ online order changes  
27693 2087 d 3 h amit.gupta /trunk/profitmandi-fofo/src/main/ Added order related changes  
27681 2087 d 11 h tejbeer /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ change  
27181 2188 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
27180 2188 d 11 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
26828 2276 d 13 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/