| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 36136 |
36 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix date formatting: use dateFormatter (dd/MM/yyyy) instead of toLocalDate() in all GRN correction views |
|
| 36135 |
1 h 2 m |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/warehouse/ |
Include correction To Item IDs in itemMap so item names resolve in approval view |
|
| 36134 |
1 h 6 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix item description: use getItemDescription() (brand+model+number+color) instead of just modelName |
|
| 36133 |
1 h 9 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
GRN correction approval: add GRN By column |
|
| 36132 |
1 h 16 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
GRN correction views: add invoice date, show item names in qty corrections, wrap JS in Velocity literal blocks |
|
| 36131 |
1 h 42 m |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix Velocity parse error: wrap JS in literal block to prevent jQuery $ conflicts |
|
| 36130 |
1 h 51 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/ |
Generate standalone EWB for Delivery Challans > 20K
GstProService.generateEwbForDeliveryChallan():
- Builds GENEWAYBILL payload from order data (seller, buyer, items, transport)
- docType=CHL, subSupplyType=8, transactionType=4 (intra-state same GSTIN)
- Zero GST, items aggregated by HSN
- Stores EWB number in einvoice_details table
- Skips if EWB already exists for the invoice
InvoiceService.saveInvoice():
- DC invoices with total > 20K trigger standalone EWB generation
- EWB failure is non-fatal (logged, doesn't block PDF generation) |
|
| 36129 |
2 h 12 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ |
Refactor EWB API to use headers (consistent with e-invoice auth style)
Auth: params in headers (aspid, password, Gstin, Username, Ewbpwd)
Generate/Cancel: credentials in headers, action in query param
Extracted common ewbApiCall() with retry-on-GSP752 logic
getEwbApiHeaders() in GstProAuthService for reuse |
|
| 36128 |
2 h 42 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ |
EWB auth with Redis cache (6h TTL) + auto-retry on token expiry
GstProAuthService: getEwbAuthToken() cached via redisCacheManager (6h TTL),
fetchEwbAuthToken() for direct API call on cache miss/eviction.
GstProService: getEwbToken() tries cache first, evicts and retries on failure.
generateStandaloneEwb/cancelEwb retry once on GSP752 (expired token) error. |
|
| 36127 |
2 h 48 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ |
Add standalone E-Way Bill APIs for Delivery Challans
- getEwbAuthToken(): authenticate with EWB portal (separate from e-invoice auth)
- generateStandaloneEwb(): GENEWAYBILL action for DC documents
- cancelEwb(): CANEWB action with reason code 3 (order cancelled)
- Sandbox and production endpoints configured
- Uses existing RestClient, no external library needed
- Sandbox verified: auth, generate, cancel all working |
|
| 36126 |
4 h 57 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/order/ |
Change FOFO invoice PDF title from Retailer Invoice to Tax Invoice |
|
| 36125 |
5 h 46 m |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ |
weekly rating system live on calling module |
|
| 36124 |
7 h 9 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
weekly rating system live on calling module |
|
| 36123 |
7 h 11 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
weekly rating system live on calling module |
|
| 36122 |
7 h 15 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/ |
weekly rating system live on calling module |
|
| 36121 |
22 h 12 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Set orderId on CustomOrderItem for invoice PDF generation |
|
| 36120 |
22 h 13 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Widen Order Id column, compact E-Way Bill format matching invoice style |
|
| 36119 |
23 h 22 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Invoice PDF fixes: unified Rate column, per-unit gross sale for margin qty>1, Tax+Total columns, Tax Rate header, remove whitespace in summary |
|
| 36118 |
23 h 34 m |
ranu |
/trunk/ |
code for socket snapshot |
|
| 36117 |
23 h 40 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Route all invoice PDF generation to generateInvoiceV2 |
|