Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37668 20 d 9 h amit /trunk/profitmandi-common/src/main/ Validate GSTIN shape, state code and checksum

isValidGstNumber accepted any 15-character string, so a pincode (110095, rejected only for
length) and junk (Hdjiekwbdbsjskz) reached fofo_store.gst_number, which billing sends to NIC
as the recipient - the invoice is then refused and the goods cannot ship.

Now: 2-digit state code + PAN + entity + Z + mod-36 check digit, trimmed and upper-cased.
Blank still passes (the field is optional); callers needing one present check that themselves.
Checked against live data: 1,569 of 1,570 well-formed partner GSTINs pass, the one that fails
(HRSP330) has a genuinely wrong check digit.

Adds RTLR_1020 / RTLR_1021 for the invalid and mismatched cases.
 
37306 54 d 11 h amit /trunk/profitmandi-common/src/main/resources/ Block activation of item-less SELLIN/SELLOUT/SPECIAL_SUPPORT schemes: add SCHM_1009 response code  
36382 165 d 11 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.  
23879 3007 d 15 h ashik.ali /trunk/profitmandi-common/ Non billable items to be scan with refectoring  
23780 3042 d 12 h ashik.ali /trunk/profitmandi-common/src/main/ Role mgmt and non billable items to be scan  
23561 3095 d 17 h ashik.ali /trunk/profitmandi-common/src/main/ Integrated new recharge provider think walnut digital and some code refectoring  
23543 3101 d 11 h ashik.ali /trunk/profitmandi-common/src/main/ Recharge Payment Option, recharge limit, enhancement  
23526 3105 d 16 h ashik.ali /trunk/profitmandi-common/src/main/ Feature : Recharge Commission, some improvements, recharge live integration  
23498 3109 d 11 h ashik.ali /trunk/profitmandi-common/src/main/resources/ Retailer document can not be uploaded  
23430 3127 d 10 h ashik.ali /trunk/profitmandi-common/src/main/ Bug Fixed from 26 - 33 from bug sheet  
23417 3129 d 16 h ashik.ali /trunk/profitmandi-common/src/main/ New feature: Prebooking Listing, Prebooking Orders, link with orders, order details  
23414 3131 d 16 h amit.gupta /trunk/profitmandi-common/src/main/resources/  
23369 3154 d 12 h ashik.ali /trunk/ Customer Gst number at order creation time and at Scheme_In time double amount is getting in retailer wallet  
23364 3155 d 10 h ashik.ali /trunk/profitmandi-common/src/main/ Custom Payment Options can be created by fofo partner  
23201 3186 d 12 h ashik.ali /trunk/profitmandi-common/src/main/  
23109 3206 d 11 h ashik.ali /trunk/profitmandi-common/src/main/  
23040 3220 d 19 h ashik.ali /trunk/profitmandi-common/src/main/resources/  
23018 3225 d 17 h ashik.ali /trunk/profitmandi-common/src/main/resources/  
22995 3233 d 19 h amit.gupta /trunk/profitmandi-common/src/main/resources/  
22924 3247 d 18 h ashik.ali /trunk/profitmandi-common/src/main/  

Show All