Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36180 58 m ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/knowlarity/dto/ weekly rating system live on calling module  
36179 1 h 6 m ranu /trunk/ weekly rating system live on calling module  
36178 1 h 52 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ Validate from/to items have same itemType in GRN correction request

Prevents GRN corrections between SERIALIZED and NON_SERIALIZED items which
would corrupt inventory data (e.g. assigning bulk qty to a serialized item
or vice versa). Validation runs at request submission time.
 
36177 4 h 15 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Fix currency format for negative amounts and use explicit symbol removal

Previous regex fix missed negative amounts like -Rs.500.50. Now uses explicit
replace("Rs.", "") for Java 8 en_IN locale with ₹ fallback for newer JDKs.
Handles both positive (Rs.17,618.00) and negative (-Rs.500.50) correctly.
 
36176 4 h 17 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Simplify invoice currency format fix for Java 8 compatibility

Use single regex replaceFirst to strip any non-numeric prefix (Rs., ₹, etc.)
instead of getCurrency().getSymbol() which may return a different symbol than
what format() produces on Java 8.
 
36175 4 h 19 m amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Fix leading dot in invoice currency formatting

indianCurrencyFormat.format() produces 'Rs.17,618.00' and the regex [^0-9,.]
was keeping the dot from 'Rs.' resulting in '.17,618.00'. Now strips the
currency symbol properly using getCurrency().getSymbol() with a fallback
regex to remove any remaining non-numeric prefix.
 
36174 4 h 25 m amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/warehouse/ Fix OOS false positive for dummy serialized items in warehouse management

Serialized items without serial numbers (e.g. dummy items with bulk qty) were
always classified as out-of-stock because the ageing query requires
currentQuantity=1 and a serial number join. Added fallback to scan-based
availability check when ageing returns empty, so items with physical stock
correctly show as in-stock.
 
36173 4 h 56 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Fix second QR NPE for DCs in getInvoicePdfModel — same DC skip needed in both QR code paths  
36172 5 h 5 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Skip IRN/QR code generation for DC challans in PDF - DCs have no IRN, null QR was causing NPE  
36171 5 h 22 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ Handle GSP102 auth token expired/missing: evict cache and retry, same as GSP752  
36170 5 h 31 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/transaction/invoicing/ Prevent infinite API retry loop: set irn_generated=false on any saveInvoice failure, remove hardcoded RF filter  
36169 5 h 33 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/warehouse/ Fix NonUniqueResult for duplicate serial numbers: use latest inventory entry for refurbished items  
36168 5 h 51 m amit /trunk/profitmandi-dao/src/ Add EWB GET APIs (GetEwayBillsByDate, GetEwayBill), fix irn_generated for existing EWB, fetch+update script  
36167 6 h 46 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ DC challans: use challan number as IRN, skip ack/qr/ack_date (not applicable for DCs)  
36166 6 h 55 m amit /trunk/profitmandi-dao/src/test/java/com/spice/profitmandi/service/integrations/ Add standalone EWB sandbox test — validates Part A only, 604 handling, and response fields  
36165 7 h 1 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ Handle EWB 604: return marker result since Chartered Info API has no doc-number lookup  
36164 7 h 7 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ Handle EWB 604 (already exists): fetch existing EWB via GETEWBBYDOCNO instead of failing  
36163 7 h 12 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ Skip EWB for same-pincode DC transfers (virtual warehouse, no physical movement)  
36162 7 h 21 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/integrations/gstpro/ Fix standalone EWB for courier DCs: send Part A only without transMode to avoid 303 error, fix transactionType 4->1  
36161 7 h 38 m amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ GRN correction: create PURCHASE scan when creating new non-serialized inventory item  

Show All