| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 35716 |
1 m |
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() |
|
| 35715 |
4 h 2 m |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/smartping/model/ |
code commit for calling target / retailer contact |
|
| 35714 |
4 h 22 m |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
code commit for calling target / retailer contact |
|
| 35713 |
4 h 39 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
code commit for calling target / retailer contact |
|
| 35712 |
4 h 45 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
code commit for calling target / retailer contact |
|
| 35711 |
4 h 53 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
code commit for calling target / retailer contact |
|
| 35710 |
5 h 3 m |
ranu |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/cs/ |
code commit for calling target / retailer contact |
|
| 35709 |
5 h 12 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
code commit for calling target / retailer contact |
|
| 35708 |
5 h 16 m |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ |
now recording also fetching |
|
| 35707 |
5 h 20 m |
amit |
/trunk/Crm/src/main/webapp/WEB-INF/content/ |
fix: make refund amount field editable in return order view |
|
| 35706 |
5 h 28 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
code commit for calling target / retailer contact |
|
| 35705 |
5 h 36 m |
amit |
/trunk/PyProj/src/ |
Include resource files (cfg, xml, xls) in egg build via package_data |
|
| 35704 |
5 h 42 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ |
Fixed SchemeService |
|
| 35703 |
5 h 47 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
code commit for calling target / retailer contact |
|
| 35702 |
5 h 48 m |
ranu |
/trunk/ |
now recording also fetching |
|
| 35701 |
6 h 58 m |
amit |
/trunk/PyProj/src/ |
Performance fix: reduce logging level to WARNING, remove incompatible pool_pre_ping, fix tornado dependency
- Changed logging.basicConfig from DEBUG to WARNING in 6 service files to stop
SQLAlchemy query spam that caused memory bloat (TransactionServer 553MB -> 63MB)
- Set echoOn=False as default in PurchaseServiceHandler
- Removed pool_pre_ping=True from 7 DataService files (incompatible with SQLAlchemy 0.6.6)
- Updated tornado dependency from 1.0.1 to 1.0 in setup.py (1.0.1 unavailable on PyPI) |
|
| 35700 |
8 h 15 m |
amit |
/trunk/WarehouseService/src/main/ |
Prevent duplicate sale returns by matching inventory item to specific order |
|
| 35699 |
8 h 15 m |
amit |
/trunk/HotspotDashboard/ |
Upgrade EHCache from 2.4.4 to 3.10.6 |
|
| 35698 |
8 h 15 m |
amit |
/trunk/Crm/src/main/webapp/WEB-INF/content/ |
Remove replacement option from returns, make refund amount read-only |
|
| 35697 |
10 h 58 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Slab progress: skip message for 1pc first slab, show criteria name per line |
|