Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36129 16 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 46 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 52 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 3 h 1 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 50 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ weekly rating system live on calling module  
36124 5 h 13 m ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ weekly rating system live on calling module  
36123 5 h 15 m ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ weekly rating system live on calling module  
36122 5 h 19 m ranu /trunk/profitmandi-fofo/src/main/webapp/ weekly rating system live on calling module  
36121 20 h 16 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 17 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 26 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 38 m ranu /trunk/ code for socket snapshot  
36117 21 h 44 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Route all invoice PDF generation to generateInvoiceV2  
36116 21 h 45 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 22 h 1 m ranu /trunk/ rbm rating consolidate mail  
36114 23 h 22 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rating system updated ..weekly rating  
36113 23 h 23 m ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ rbm rating consolidate mail  
36112 23 h 45 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  

Show All