Subversion Repositories SmartDukaan

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
37668 5 d 7 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.
 
37070 70 d 9 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ Add StringUtils.normalizeWhitespace for input whitespace normalization (T9.5 sanitizer dependency)  
34859 411 d 9 h vikas /trunk/ Web Pages Management  
34835 417 d 7 h vikas /trunk/ Added Export Report, And Update total distance  
34813 427 d 9 h aman /trunk/ Partner Dashboard Analysis  
34769 439 d 7 h vikas.jangra /trunk/ Location Tracking - Calculate distance and ETA for Admin App and call option  
34761 440 d 14 h vikas.jangra /trunk/ Location Tracking - Calculate distance and ETA for Admin App  
34723 451 d 7 h vikas.jangra /trunk/ Location Tracking - Calculate distance for Admin App  
34492 511 d 3 h vikas.jangra /trunk/ Bidding Semi Final code  
24440 2796 d 2 h amit.gupta /trunk/ Improved order creation and added Zest integration  
24219 2870 d 12 h amit.gupta /trunk/ Fixed  
23780 3027 d 9 h ashik.ali /trunk/profitmandi-common/src/main/ Role mgmt and non billable items to be scan  
23602 3070 d 15 h amit.gupta /trunk/ Fixed Api calls for Gadget Cop Damage Protection  
23568 3079 d 10 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23502 3093 d 15 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Feature : Recharge integration  
23370 3139 d 7 h ashik.ali /trunk/ Schemes can be active if no orders are exist  
23369 3139 d 10 h ashik.ali /trunk/ Customer Gst number at order creation time and at Scheme_In time double amount is getting in retailer wallet  
23201 3171 d 9 h ashik.ali /trunk/profitmandi-common/src/main/  
23188 3175 d 12 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/  
23017 3210 d 14 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  

Show All