Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37798 10 d 2 h amit /trunk/profitmandi-fofo/src/main/ Show a settled debit note as settled instead of offering Receive

The DN screens decided everything from "does a purchase_return_order exist",
which no return settled before the receive workflow ever had. A note settled
years ago therefore read "Pending Receive" with a Receive button, and receiving
one handed a partner back a phone already returned, refunded and resold
(DN UPBLY975/4, IMEI 864973083197734).

The debit note's own status now carries the fact - CREATED means there is
genuinely something to receive, anything else means it is settled - so the
screens read it directly instead of re-deriving it from warehouse scans on
every page load. r37797 backfilled the 4,154 notes the old flow left behind.

- invoice-return-results, debit-notes-table, debit-note-details,
receive-debit-note: Receive only while the note is CREATED with no return
order; otherwise "Processed - settled earlier".
- debit-notes-table: Refund only on a note received and not yet settled,
rather than on every row.
- PurchaseReturnController: the admin debit-note list now loads the return
orders its Refund button needs.

Deploy with profitmandi-dao r37797.
 
36274 176 d 4 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Hide Receive/Refund actions on Recent Debit Notes from non-admin partners  
36027 202 d 23 h amit /trunk/profitmandi-fofo/src/main/ Sale Returns: finance approval endpoint, invoice links in all views, invoice map for INV: returns, purchase reference check fix  
35999 207 d 19 h amit /trunk/profitmandi-fofo/src/main/ Invoice Return: role-based auth (receive/refund), remove unused finance fields, warehouse column in debit notes table  
35998 208 d 0 h amit /trunk/profitmandi-fofo/src/main/ Invoice Return: controller endpoints, UI views (receive/refund/reject/details/search), JS handlers, role-based access, dashboard menu  
32771 1016 d 6 h raveendra.bharati /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ translation english to hindi  
29635 1775 d 21 h amit.gupta /trunk/profitmandi-fofo/src/main/ Fixed debit note basic search page