| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 36129 |
14 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 |
43 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 |
50 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 |
2 h 59 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 |
3 h 48 m |
ranu |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ |
weekly rating system live on calling module |
|
| 36124 |
5 h 11 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
weekly rating system live on calling module |
|
| 36123 |
5 h 13 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
weekly rating system live on calling module |
|
| 36122 |
5 h 17 m |
ranu |
/trunk/profitmandi-fofo/src/main/webapp/ |
weekly rating system live on calling module |
|
| 36121 |
20 h 14 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Set orderId on CustomOrderItem for invoice PDF generation |
|
| 36120 |
20 h 14 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 |
21 h 24 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 |
21 h 36 m |
ranu |
/trunk/ |
code for socket snapshot |
|
| 36117 |
21 h 42 m |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Route all invoice PDF generation to generateInvoiceV2 |
|
| 36116 |
21 h 42 m |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Unified invoice PDF generation (generateInvoiceV2) for both margin and regular invoices
- New clean layout: Logo+Title+QR header, Supplier/Invoice/Buyer sections, 10-col item table
- Margin: subtitle, declaration, Gross Sale/Margin columns, GST on Margin summary
- Regular: Rate/Taxable columns, Total GST summary, no declaration
- Shared: Tax Rate col, Tax+Total cols, payment, credit terms, IRN/QR, EWB, cancellation
- Old generateAndWrite() preserved for debit notes and credit notes |
|
| 36115 |
21 h 59 m |
ranu |
/trunk/ |
rbm rating consolidate mail |
|
| 36114 |
23 h 20 m |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ |
rating system updated ..weekly rating |
|
| 36113 |
23 h 21 m |
ranu |
/trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ |
rbm rating consolidate mail |
|
| 36112 |
23 h 43 m |
ranu |
/trunk/profitmandi-fofo/src/main/ |
weekly rating system live on calling module |
|
| 36111 |
1 d 0 h |
amit |
/trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ |
Update margin scheme invoice PDF to match GST compliant format per Rule 32(5)
- Title: TAX INVOICE with margin scheme subtitle
- No purchase price disclosed on invoice
- Columns: S.No, Description, HSN, Qty, Gross Sale Value, Taxable Value (Margin), Tax Rate, Tax Amount
- Declaration box with Section 2(27) and Rule 32(5) reference
- Summary: Total Selling Price, GST on Margin, Total Invoice Value
- Labels: Buyer Details / Supplier Details per GST terminology |
|
| 36110 |
1 d 3 h |
amit |
/trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ |
Route margin scheme invoices to new generateMarginSchemeInvoice() PDF method |
|