| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37973 |
9 h 44 m |
ranu |
/trunk/profitmandi-cron/src/main/resources/META-INF/ |
knowlarity password update |
|
| 37972 |
10 h 9 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/resources/js/ |
Fixed mail sender everywhere |
|
| 37971 |
10 h 25 m |
vikas |
/trunk/ |
Beat Export button |
|
| 37970 |
11 h 10 m |
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 |
1 d 11 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
emi plans should be come via emi offer json from server |
|
| 37968 |
1 d 13 h |
ranu |
/trunk/profitmandi-web/src/main/resources/META-INF/ |
pinelab emi offer publish |
|
| 37967 |
1 d 13 h |
ranu |
/trunk/profitmandi-web/src/main/ |
pinelab emi offer publish |
|
| 37966 |
1 d 14 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
emi plans should be come via emi offer json from server |
|
| 37965 |
1 d 14 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 |
2 d 8 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 |
2 d 8 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 |
2 d 8 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 |
2 d 8 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 |
2 d 9 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 |
2 d 9 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 |
2 d 10 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 |
2 d 10 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. |
|
| 37956 |
2 d 10 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ |
Award scratch card after the sale commits, in its own transaction, so a gift-stock lock timeout can no longer roll back the sale. EMI product and partner pincode lookups return the first row when a model or partner has several. |
|
| 37955 |
2 d 13 h |
aman |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/fofo/ |
Fin Service mapping: show partners without onboarding panel row
- selectFinanceServices (full Fin Service mapping page) inner-joined
PartnerOnBoardingPanel, so partners with no onboarding row (e.g. UPAMH1699,
UPGBN1359) were dropped and every brand showed '--' after refresh, although
activation saved fine (row refresh uses the left-joined ByFofoId query).
- Same inner join in selectFinanceServiceByFollowUpDate skipped those partners'
follow-up reminders. Both now left join, matching selectFinanceServicesByFofoId.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01SaCSsjqnDidVZprquD1pUV |
|
| 37954 |
5 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Invalid GSTINs screen for Accounts to revalidate and re-enable billing
Lists stores flagged gst_invalid (NIC refused their GSTIN) with the NIC reason and date.
Revalidate & enable (Accounts category only) does a live GSTIN lookup and clears the
flag only when the portal returns Active; otherwise shows why it is still invalid.
Menu "Invalid GSTINs" under Partner Reports, action class invalid-gstin-stores, granted
like Credit Note (272) - inserted by claude-data/sql-migrations/store_gst_invalid_flag_20261023.sql.
Needs the matching dao commit. jsVersion 448 -> 449. |
|