Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36382 10 h 40 m amit /trunk/profitmandi-common/src/main/resources/ Add DB_TRUNCATION / DB_DUPLICATE / DB_FK_VIOLATION / DB_CONSTRAINT response codes for the new DataIntegrityViolationException auto-translator.  
36353 2 d 13 h vikas /trunk/ Login issue  
36320 4 d 9 h vikas /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/ CORS update, accept referrer  
36318 4 d 9 h aman /trunk/ Fix:Migrate legacy Purchase Return flow (Report + Bulk Create + Debit Notes) into FOFO  
36317 4 d 9 h aman /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Fix:Migrate legacy Purchase Return flow (Report + Bulk Create + Debit Notes) into FOFO  
36308 5 d 4 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Add DEFAULT_FALLBACK_VENDOR_ID constant

Vendor id 40 ('Dummy') is the fallback routing marker when no real vendor has
pricing for a catalog. Each billing region has a Dummy/GOOD/OURS warehouse under
this vendor; phantom allocations route there.
 
36295 7 d 13 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/client/ Plug response-entity leak in RestClient

Apache HttpClient connections are released back to the PoolingConnectionManager
only when the response entity is fully consumed. Error paths in execute(),
executeMandii(), and executeJson() threw before consumeQuietly was called,
leaking pool slots and accumulating CLOSE_WAIT sockets against Solr, Tomcat,
and external APIs. Wrap each in try/finally with EntityUtils.consumeQuietly
so the connection is always returned. Methods that return raw HttpResponse
(getResponse, postResponse) are still caller-close responsibility.
 
36279 8 d 16 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Fix NPE in PurchaseInvoiceModel when grnDate or invoiceDate is null  
36244 12 d 21 h amit /trunk/profitmandi-common/ Upgrade javax.mail from 1.4 to 1.6.2 for TLS 1.2 support (required by Google Workspace SMTP Relay)  
36210 17 d 10 h ranu /trunk/ rbm l1,l2,l3 layer introduce  
36200 18 d 9 h ranu /trunk/ error correctly will show  
36183 20 d 15 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Credit Note PDF fixes: null guard on msAddDataCell, doc-type-aware labels (invoice/credit note/challan), conditional Order Id column, HSN code support  
36179 22 d 5 h ranu /trunk/ weekly rating system live on calling module  
36177 22 d 8 h 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 22 d 8 h 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 22 d 8 h 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.
 
36145 22 d 17 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Credit Note label support: CREDIT NOTE DETAILS / CN No: for credit note documents  
36138 23 d 10 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Delivery Challan: show CHALLAN DETAILS and Challan No instead of INVOICE DETAILS and Invoice No  
36137 23 d 10 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Indian currency formatting: lakh/crore amount in words + Indian comma style (1,25,129.00) for all money fields in invoice table and summary  
36120 24 d 8 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Widen Order Id column, compact E-Way Bill format matching invoice style  

Show All