Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36128 1 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 7 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 16 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 5 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/monitors/ weekly rating system live on calling module  
36124 4 h 28 m ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ weekly rating system live on calling module  
36123 4 h 30 m ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ weekly rating system live on calling module  
36122 4 h 34 m ranu /trunk/profitmandi-fofo/src/main/webapp/ weekly rating system live on calling module  
36121 19 h 31 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Set orderId on CustomOrderItem for invoice PDF generation  
36120 19 h 32 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 20 h 41 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 20 h 53 m ranu /trunk/ code for socket snapshot  
36117 20 h 59 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Route all invoice PDF generation to generateInvoiceV2  
36116 21 h 0 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 16 m ranu /trunk/ rbm rating consolidate mail  
36114 22 h 37 m ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ rating system updated ..weekly rating  
36113 22 h 38 m ranu /trunk/profitmandi-cron/src/main/java/com/smartdukaan/cron/scheduled/ rbm rating consolidate mail  
36112 23 h 0 m ranu /trunk/profitmandi-fofo/src/main/ weekly rating system live on calling module  
36111 23 h 57 m 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 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Route margin scheme invoices to new generateMarginSchemeInvoice() PDF method  
36109 1 d 2 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Separate margin scheme invoice PDF generation from regular invoice flow

- Add generateMarginSchemeInvoice() with proper margin scheme table format:
S.No | Description | HSN | Qty | Purchase Price | Selling Price | Margin | GST on Margin | Invoice Total
- Title: INVOICE OF SUPPLY (MARGIN SCHEME)
- Remove margin-specific logic from generateAndWrite() (regular invoice path)
- IRN, E-Way Bill, and cancellation stamp logic intact in both paths
 

Show All