Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37498 38 d 7 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.
 
37171 71 d 10 h amit /trunk/profitmandi-fofo/src/main/ Wallet page: show sanctioned credit limit tile alongside utilization/total due; format amounts via currency class + formatCurrency on load; jsVersion 388  
36776 127 d 10 h amit /trunk/profitmandi-fofo/src/main/ Remove redundant /account/closing-statements; repoint wallet-details closing button to /account/reco (now on the wallet+PI-loan model)  
36746 130 d 14 h amit /trunk/profitmandi-fofo/src/main/ Restore Total Payables and Credit Utilization fields on wallet statement dashboard (NPE-safe via creditSummary)  
36720 135 d 3 h amit /trunk/profitmandi-fofo/src/main/ Remove redundant credit section from wallet dashboard: fixes NPE for users without SD Credit, credit info already available in partner report  
36242 182 d 3 h aman /trunk/ Fix:Attachment is Full-stock payment approval ,Timeline ui graphical summary, wod initianl mail after store code creation  
33450 847 d 8 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ some css modification  
33449 847 d 9 h ranu /trunk/ add total due and utilization number on wallet  
33220 909 d 14 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed account statement  
32771 1017 d 10 h raveendra.bharati /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ translation english to hindi  
32491 1107 d 8 h jai.hind /trunk/profitmandi-fofo/src/main/ In Finance Wallet Edit and Wallet Stmt Changes  
32490 1108 d 9 h jai.hind /trunk/profitmandi-fofo/src/main/ IN Finance Wallet edit and Wallet stmt add Total amount and Availabele amount  
32348 1143 d 7 h jai.hind /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Design Related Issue Resolved  
30601 1583 d 12 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Added velocity  
28596 1915 d 4 h amit.gupta /trunk/ Added logic to get closing of all retailers.  
28516 1931 d 5 h amit.gupta /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/  
24523 2790 d 6 h amit.gupta /trunk/profitmandi-fofo/src/main/ 1. Added Wallet Summary for internal users.
2. Added icon for CRM
 
24509 2795 d 12 h amit.gupta /trunk/ Added Wallet Statement  
23173 3195 d 10 h ashik.ali /trunk/profitmandi-fofo/src/ retailer not found redirect change to login, remove wallet history date and invoice search box, remove new grn line, handle missing shipping details with better way  
22551 3289 d 5 h ashik.ali /trunk/profitmandi-fofo/src/main/