Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37844 1 d 3 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ refactor(warehouse): drop WAREHOUSE_MAP and WAREHOUSE_NAME_MAP - billing warehouses, their labels and status now come from transaction.sellerwarehouse (BillingWarehouseService)  
37824 5 d 1 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ feat(warehouse): add HR Gurugram warehouses 13368/13370/13372 to WAREHOUSE_MAP

HR-NSSPL/GGN, HR-NSSPL/DL and HR-NSSPL/UPW (seller 21 NSSPL-HR-GGN, 06AACCN9802G2ZI)
in WAREHOUSE_MAP and WAREHOUSE_NAME_MAP, so the PO / GRN destination lists, vendor
warehouse lookup, Solr availability fields and warehouse reports include them.
Labels are the warehouse display names; 'HR' stays 7720.
 
37800 8 d 3 h ranu /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ offer-radar notification commit  
37799 8 d 4 h ranu /trunk/ offer-radar notification commit  
37794 8 d 7 h ranu /trunk/ offer-radar notification commit  
37730 15 d 10 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Remove dead third-party integrations: common

Part of the integrations cleanup across all modules. Nothing here had a
live caller.

- Snapdeal product-page parser and UserMessagePojo (affiliate live pricing)
- FundFina request/response DTOs (inbound lender API, removed)
- Aramex XML tracking client (only reachable via /track provider=2)
- WiseApp insurance model
- URL constants for PayU, the SmartPing caller-ID hook, affiliate clicks and
live pricing; the SmartPing agent map
 
37655 20 d 5 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Remove the dead Mandii BNPL integration (common)

Mandii has taken no payment since 2022-08-23 and holds no credit account, so
MandiiService and the 29 classes only it used are deleted.

The package had become a home for live types, which are moved out rather than
lost: Gender/MaritalStatus/AddressProofType -> services.kyc (they back
@Enumerated columns on user.fofo_kyc, 317 rows), and the SD Credit account
status model - AccountStatusResponseOut and its 10 dependencies ->
services.sdcredit, still served by GatewayController for SDDIRECT.

MandiiResponse was a generic body+status holder named after the integration;
renamed RawHttpResponse, still used by RestClient for Kommuno recordings.
Its dead getMandii() helper is gone. AccountStatusResponseOut no longer
carries the hardcoded merchant.mandii.com URL it shipped to the app.

FundfinaService was logging under MandiiService.class - fixed.
 
37638 21 d 5 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/ Hot Deal brand: HOT_DEAL_BRAND constant, oem_brand_s facet and hot-deal brand filter routing  
37513 35 d 3 h ranu /trunk/ notification live  
37512 35 d 4 h ranu /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ notification live  
37508 35 d 4 h ranu /trunk/ notification live new ....api and modification , ui  
37463 36 d 11 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Add aged-stock constants for Apple credit-limit haircut

Apple handsets held by a partner beyond AGED_STOCK_APPLE_DAYS (30) days
from GRN are excluded from the investment used to suggest a credit limit.
 
37456 38 d 14 h amit /trunk/ Block billing when NIC rejects the transporter GSTIN for e-way bills

NIC files the e-way bill alongside the IRN, so a deregistered transporter
GSTIN returns Status=1 with InfoDtls[InfCd=EWBERR] (3029 "GSTIN - ... is
not active"): the IRN is valid while ewb_no stays null. Nothing downstream
reads that as a failure, so invoices kept being issued for goods that
could not legally move.

Cache the rejected transporter GSTIN in Redis and refuse to bill through
it. The block is keyed on the GSTIN, since one GSTIN is shared by several
warehouse_provider rows, and it carries the day it was raised so it lapses
at midnight and each new day re-tests NIC once. Correcting the GSTIN in
the provider panel lifts it immediately.

Only errors that are the transporter's fault block billing - NIC's 3029,
or any message naming the GSTIN we sent as TransId. Every other EWBERR
behaves as before: the IRN is filed and the e-way bill is retried later.

Guard sits in addBillingDetailsForGrouppedOrders before the pessimistic
lock and before any mutation, mirroring LogisticsServiceImpl#getEwbDetails
(order's own warehouse; self-pickup and runner skipped, as they travel on
a vehicle number rather than a transporter id).
 
37409 41 d 9 h vikas /trunk/ Changed WhatsApp service to botpenguin (DigiWaha)  
37403 41 d 23 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Add the canonical state list URL constant

Serves inventory.statemaster to clients so none of them carry their own copy.
 
37388 43 d 5 h vikas /trunk/ Whatsapp Apis  
37189 68 d 2 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Remove unused allowAdditionalOutlet field (checkbox dropped in r37168/r37169 before any deploy; no reader or writer remains)  
37155 69 d 6 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Add allowAdditionalOutlet flag to UpdateRetailerRequest for same-GST additional-outlet override in partner onboarding guard  
37123 80 d 7 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Add MP (Indore/NSSPL) billing warehouse 12595 to WAREHOUSE_MAP/WAREHOUSE_NAME_MAP  
37060 88 d 7 h vikas /trunk/ Plan a beat now sequence arranged by distance  

Show All