| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 36189 |
8 h 10 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ |
Revert rerenderCNs - downloadCN already re-renders on the fly |
|
| 36188 |
8 h 10 m |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Revert rerenderCNs CLI option - downloadCN already re-renders on the fly |
|
| 36187 |
8 h 51 m |
amit |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/ |
Add --rerenderCNs CLI option to re-generate old CN PDFs with new format |
|
| 36186 |
8 h 52 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/ |
Add rerenderCNs method to re-generate old CN PDFs with new format, persist hsnCode on CreditNoteLine |
|
| 36185 |
8 h 56 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Persist and restore hsnCode on CreditNoteLine for CN re-rendering
- Add hsn_code column to CreditNoteLine entity
- Save hsnCode when persisting CN lines in issueMonthlyMarginsCN
- Read hsnCode back in getCreditNotePdfModel for downloadCN/sendCnMails
- Earlier CNs without hsn_code will render with blank HSN (nullable column) |
|
| 36184 |
9 h 43 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
Fix Credit Note IRN generation for monthly margins
- Add hsnCode to InventoryMarginModel, update 3 named queries to select ii.hsnCode
- Group CN items by taxRate+HSN, set hsnCode on CustomOrderItem
- Add getGenIrnRequest/getItemList overloads in GstProService for credit notes
- Fix IndexOutOfBoundsException from orders-items mismatch in generateCreditNoteIrn
- Wrap fofo and vendor loops in try-catch so one CN failure does not abort the process
- Send summary email with failure details to amit.gupta and ranu.rajput |
|
| 36183 |
9 h 43 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Credit Note PDF fixes: null guard on msAddDataCell, doc-type-aware labels (invoice/credit note/challan), conditional Order Id column, HSN code support |
|
| 36182 |
1 d 4 h |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
weekly rating system live on calling module |
|
| 36181 |
1 d 5 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ |
weekly rating system live on calling module |
|
| 36180 |
1 d 23 h |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/knowlarity/dto/ |
weekly rating system live on calling module |
|
| 36179 |
2 d 0 h |
ranu |
/trunk/ |
weekly rating system live on calling module |
|
| 36178 |
2 d 0 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ |
Validate from/to items have same itemType in GRN correction request
Prevents GRN corrections between SERIALIZED and NON_SERIALIZED items which
would corrupt inventory data (e.g. assigning bulk qty to a serialized item
or vice versa). Validation runs at request submission time. |
|
| 36177 |
2 d 3 h |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Fix currency format for negative amounts and use explicit symbol removal
Previous regex fix missed negative amounts like -Rs.500.50. Now uses explicit
replace("Rs.", "") for Java 8 en_IN locale with ₹ fallback for newer JDKs.
Handles both positive (Rs.17,618.00) and negative (-Rs.500.50) correctly. |
|
| 36176 |
2 d 3 h |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Simplify invoice currency format fix for Java 8 compatibility
Use single regex replaceFirst to strip any non-numeric prefix (Rs., ₹, etc.)
instead of getCurrency().getSymbol() which may return a different symbol than
what format() produces on Java 8. |
|
| 36175 |
2 d 3 h |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Fix leading dot in invoice currency formatting
indianCurrencyFormat.format() produces 'Rs.17,618.00' and the regex [^0-9,.]
was keeping the dot from 'Rs.' resulting in '.17,618.00'. Now strips the
currency symbol properly using getCurrency().getSymbol() with a fallback
regex to remove any remaining non-numeric prefix. |
|
| 36174 |
2 d 3 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/warehouse/ |
Fix OOS false positive for dummy serialized items in warehouse management
Serialized items without serial numbers (e.g. dummy items with bulk qty) were
always classified as out-of-stock because the ageing query requires
currentQuantity=1 and a serial number join. Added fallback to scan-based
availability check when ageing returns empty, so items with physical stock
correctly show as in-stock. |
|
| 36173 |
2 d 3 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Fix second QR NPE for DCs in getInvoicePdfModel — same DC skip needed in both QR code paths |
|
| 36172 |
2 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Skip IRN/QR code generation for DC challans in PDF - DCs have no IRN, null QR was causing NPE |
|
| 36171 |
2 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ |
Handle GSP102 auth token expired/missing: evict cache and retry, same as GSP752 |
|
| 36170 |
2 d 4 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Prevent infinite API retry loop: set irn_generated=false on any saveInvoice failure, remove hardcoded RF filter |
|