Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
36528 1 d 7 h vikas /trunk/ Notifications APIs for marking notifications as read  
36479 7 d 7 h ranu /trunk/ code commit for reports section v2  
36465 9 d 11 h vikas /trunk/ New Authorization Token Flow for web  
36416 15 d 7 h amit /trunk/profitmandi-common/ Drop OkHttp, standardise on Apache HttpClient via HttpClientFactory. RestClient pool raised to 20/8, all construction routed through factory. Lint guard added to block direct OkHttp/createDefault usage.  
36398 16 d 10 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/services/ Replace mailSender (SendGrid) with gmailRelaySender across all modules - SendGrid API key expired/revoked  
36396 16 d 10 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Scheme item windowing: add startDate/endDate per scheme_item.

Each fofo.scheme_item row now carries an optional [start_date, end_date]
window so the same (scheme_id, catalog_id) pair can be applicable for
different date ranges. Backward compatible: NULL window = always active.

Also pins processSchemeOut scheme resolution to each IMEI's GRN
billing date (Purchase -> Order.billingTimestamp via
PurchaseService.getBillingDateOfPurchase) instead of fofoOrder
createTimestamp, aligning OUT with the existing IN behaviour.

Common DTO: SchemeItems gains startDate/endDate fields.
 
36382 19 d 7 h 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 21 d 10 h vikas /trunk/ Login issue  
36320 23 d 5 h vikas /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/web/ CORS update, accept referrer  
36318 23 d 6 h aman /trunk/ Fix:Migrate legacy Purchase Return flow (Report + Bulk Create + Debit Notes) into FOFO  
36317 23 d 6 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 24 d 1 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 26 d 10 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 27 d 13 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Fix NPE in PurchaseInvoiceModel when grnDate or invoiceDate is null  
36210 36 d 7 h ranu /trunk/ rbm l1,l2,l3 layer introduce  
36200 37 d 6 h ranu /trunk/ error correctly will show  
36183 39 d 11 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 41 d 2 h ranu /trunk/ weekly rating system live on calling module  
36177 41 d 5 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 41 d 5 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.
 

Show All