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 16 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 18 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 19 h vikas /trunk/ Web Pages Management  
34835 417 d 17 h vikas /trunk/ Added Export Report, And Update total distance  
34813 427 d 19 h aman /trunk/ Partner Dashboard Analysis  
34769 439 d 17 h vikas.jangra /trunk/ Location Tracking - Calculate distance and ETA for Admin App and call option  
34761 440 d 23 h vikas.jangra /trunk/ Location Tracking - Calculate distance and ETA for Admin App  
34723 451 d 17 h vikas.jangra /trunk/ Location Tracking - Calculate distance for Admin App  
34492 511 d 13 h vikas.jangra /trunk/ Bidding Semi Final code  
24440 2796 d 12 h amit.gupta /trunk/ Improved order creation and added Zest integration  
24219 2870 d 21 h amit.gupta /trunk/ Fixed  
23780 3027 d 19 h ashik.ali /trunk/profitmandi-common/src/main/ Role mgmt and non billable items to be scan  
23602 3071 d 0 h amit.gupta /trunk/ Fixed Api calls for Gadget Cop Damage Protection  
23568 3079 d 19 h govind /trunk/ Fixed changes related to logging. Updated to log4j2  
23502 3094 d 1 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Feature : Recharge integration  
23370 3139 d 17 h ashik.ali /trunk/ Schemes can be active if no orders are exist  
23369 3139 d 20 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 19 h ashik.ali /trunk/profitmandi-common/src/main/  
23188 3175 d 22 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/  
23017 3211 d 0 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  
22895 3233 d 23 h amit.gupta /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Fixed insurance Model  
22858 3240 d 20 h ashik.ali /trunk/profitmandi-common/  
22470 3289 d 1 h ashik.ali /trunk/profitmandi-common/  
22290 3322 d 21 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/  
22242 3327 d 0 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  
22215 3331 d 23 h ashik.ali /trunk/profitmandi-common/src/main/  
21986 3353 d 0 h kshitij.sood /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  
21792 3379 d 1 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/  
21756 3384 d 20 h ashik.ali /trunk/profitmandi-common/src/main/  
21675 3391 d 18 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  
21655 3393 d 18 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/  
21652 3393 d 19 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  
21570 3405 d 12 h ashik.ali /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/  
21543 3407 d 23 h ashik.ali /trunk/profitmandi-common/src/