| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 35746 |
164 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix: Handle empty item list in searchOrderDetails endpoint
Added empty check before calling itemRepository.selectByIds() to prevent
invalid SQL IN clause exception when invoice has no items. |
|
| 35737 |
164 d 8 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
OrderController: fix N+1 queries, replace e.printStackTrace with LOGGER, fix string concat in logging, make accessoriesDeals static final |
|
| 35730 |
164 d 11 h |
ranu |
/trunk/ |
rbm calls date wise filter given |
|
| 35726 |
165 d 4 h |
vikas |
/trunk/ |
Pinelabs offer discovery on billing and stock page |
|
| 35717 |
166 d 0 h |
amit |
/trunk/ |
Fix performance issues in PurchaseOrderController
- Replace supplierRepository.selectAll() with targeted selectBySupplierIds() in 2 endpoints
- Replace sellerRepository.selectAll() with new selectByIds() in 2 endpoints
- Add SellerRepository.selectByIds(List<Integer>) batch method
- Remove dead code: unused totalUnitPrice and totalPriceOfLineItem computations |
|
| 35716 |
166 d 1 h |
amit |
/trunk/ |
Refactor GrnController and PurchaseOrderController: extract business logic into focused services and fix N+1 query performance issues
- Create InvoiceService: invoice item CRUD, validation, vendor price matching
- Create GrnRequestService: GRN request lifecycle, mismatch resolution state machine
- Create DebitNoteService: debit note generation, PDF model building
- Move PO amendment logic from PurchaseOrderController to PurchaseOrderService
- Delegate generateDebitNote from PurchaseOrderServiceImpl to DebitNoteService
- Thin GrnController from ~1215 to ~717 lines, remove 15 unused autowired dependencies
- Thin PurchaseOrderController editPurchaseOrder from 40+ lines to 3 lines
Performance fixes:
- InvoiceServiceImpl.validateInvoiceDetail: batch item/vendor pricing/GST loading (4N+3 queries -> ~5)
- DebitNoteServiceImpl: batch item loading in buildDebitNotePdfModel and generateDebitNote
- GrnController.generateDebitNote: eliminate 2 redundant DB fetches
- Replace 3x supplierRepository.selectAll() with targeted selectBySupplierIds() |
|
| 35679 |
168 d 7 h |
ranu |
/trunk/ |
calling webhook updated |
|
| 35674 |
169 d 0 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Add multi-month duration option for manual partner category upgrade (up to 3 months) |
|
| 35672 |
169 d 4 h |
ranu |
/trunk/ |
code commit for calling target / retailer contact |
|
| 35670 |
169 d 5 h |
ranu |
/trunk/ |
code commit for calling target / retailer contact |
|
| 35669 |
169 d 6 h |
ranu |
/trunk/ |
code commit for calling target / retailer contact |
|
| 35660 |
171 d 6 h |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
code commit for calling target / retailer contact |
|
| 35654 |
171 d 12 h |
ranu |
/trunk/ |
code commit for calling target / retailer contact |
|
| 35648 |
172 d 13 h |
ranu |
/trunk/ |
code commit for calling target / retailer contact |
|
| 35646 |
173 d 7 h |
aman |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix:Dsm Code update null check |
|
| 35645 |
173 d 9 h |
ranu |
/trunk/ |
code commit for calling target |
|
| 35640 |
175 d 8 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Skip escalations in ticket overview Message column, compact escalation styling in detail dialog
- Pass lastMessageMap to ticket overview templates for all three views
(myTicket, managerTicket, myPartnerTicket)
- Template Message column prefers lastMessageMap over activityMap
- Escalation activities in detail dialog render as compact centered
system messages with pill styling instead of chat bubbles
- Add .system-activity CSS for compact centered gray pill style |
|
| 35631 |
175 d 12 h |
ranu |
/trunk/ |
code commit for calling target |
|
| 35628 |
176 d 7 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Commented dashobard |
|
| 35626 |
176 d 7 h |
amit |
/trunk/ |
Ticket system: add unread tracking, pagination, search, and partner notifications |
|