Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37976 5 h 31 m aman /trunk/profitmandi-fofo/src/main/webapp/ Mobile sidebar: closed by CSS default on phones, no longer driven by window load/resize
On <=768px #sidebar is display:none until #container has .sidebar-open; the hamburger
toggles .sidebar-closed and .sidebar-open together so one tap flips the state at any width.
The old code only added .sidebar-closed on window load, so on a phone the menu was open
until load fired and the first address-bar resize (or load itself) closed whatever the user
had opened. Resize now only resets the state when the window actually crosses 768px.
Drops the overscroll-behavior rule from r37975 (reload was not the symptom).
12dashboard34.vm: version the style-responsive.css link like the other templates.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112V6gZq3hA6Xeg7SkAdJzs
 
37975 5 h 49 m aman /trunk/profitmandi-fofo/src/main/ Mobile sidebar: bump jsVersion 450->451 / cssVersion 54->55 so phones fetch the r37974 swipe fix (scripts.js is served without Cache-Control, so the old file stayed cached); set lastWidth at DOM ready, not only on window load; overscroll-behavior-y: contain on phones so a pull-down at the top no longer reloads the page and closes the menu.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112V6gZq3hA6Xeg7SkAdJzs
 
37974 8 h 21 m aman /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fix mobile sidebar closing on swipe: ignore height-only resize from address bar show/hide

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0112V6gZfS13DXVLexWjZte6
 
37973 1 d 2 h ranu /trunk/profitmandi-cron/src/main/resources/META-INF/ knowlarity password update  
37972 1 d 2 h amit /trunk/profitmandi-fofo/src/main/webapp/resources/js/ Fixed mail sender everywhere  
37971 1 d 2 h vikas /trunk/ Beat Export button  
37970 1 d 3 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ fix(catalog): match item brand to brand master case-insensitively on item upload

Item upload now resolves the brand against catalog.brand ignoring case, stores the
brand master's spelling in item.brand/catalog.brand, and throws 'Brand not found'
when no master matches. A casing mismatch (e.g. LAPCARE vs Lapcare) made the
exact-match Solr brand_ss filter hide the brand on /fofo.
 
37969 2 d 4 h ranu /trunk/profitmandi-fofo/src/main/ emi plans should be come via emi offer json from server  
37968 2 d 6 h ranu /trunk/profitmandi-web/src/main/resources/META-INF/ pinelab emi offer publish  
37967 2 d 6 h ranu /trunk/profitmandi-web/src/main/ pinelab emi offer publish  
37966 2 d 6 h ranu /trunk/profitmandi-fofo/src/main/ emi plans should be come via emi offer json from server  
37965 2 d 6 h amit /trunk/profitmandi-dao/src/test/java/com/spice/profitmandi/service/ Add tests for bad-return partial cancel and partial scheme reversal (r37964)  
37964 3 d 0 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ Bad return: cancel invoice and reverse schemes only for returned units; reject address not belonging to customer

- badReturn reverses OUT schemes only for the returned inventory items and cancels the order only when every unit is returned (was: whole invoice cancelled + all margin reversed on a 1-of-N return)
- guard each returned unit is billed on the line and not already returned
- createOrder throws a business error instead of NoSuchElementException when the selected address is not the customer's
 
37963 3 d 0 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ perf(returns): batch partner, debit note and invoice lookups on Sale Returns screen

/return/invoice looked up partner name, debit note and invoice number per row
(~400 queries for the default 30-day view). Collect ids across the pending and
settled rows and fetch each once: getFofoRetailers for partner names,
selectAllByDebitNoteIds for debit notes, and return items -> inventory items ->
purchases for invoice numbers. Same invoice resolution (highest inventory item
of the debit note) and same fallbacks as before.
 
37962 3 d 1 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Sale returns screen: show IRN failure / B2C option only for credit-note-stage GSTIN refusals; a no-IRN invoice return shows plain Approve.  
37961 3 d 1 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/inventory/ B2C refund option, Finance-only gate and 'IRN failed' status now driven only by credit-note-stage GSTIN refusals. A return on an invoice that never got an IRN shows a plain Approve (full local credit note, r37960); its old INVOICE_IRN refusal rows stay for history.  
37960 3 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/inventory/ Return on an invoice that never got an IRN (incl. NIC refusing a dead buyer GSTIN at billing) now issues a local credit note at full value instead of failing into the B2C flow. B2C net-of-GST stays only for a credit note NIC refuses against a filed invoice. Invoice return and DN return.  
37959 3 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ Invoice with no IRN (NIC rejected, irn_generated=0), not shipped and billed under 24h ago is cancelled without finance approval, same as an IRN inside its 24h window. Past 24h it still goes to finance as a return. Queued IRNs (irn_generated NULL) excluded.  
37958 3 d 3 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ Scratch card awarded after the sale commits. Store login with an unknown or inactive store code returns 'Store not found' instead of a null pointer.  
37957 3 d 3 h amit /trunk/profitmandi-fofo/src/main/ Scratch card awarded after the sale commits. Clear messages for: billing with nothing scanned, debit note generation with no approved returns, bad delivered date in mark-delivered CSV. Reset selected customer address when the mobile number changes. jsVersion 450.  

Show All