Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37845 1 d 18 h amit /trunk/profitmandi-dao/src/ feat(warehouse): ACTIVE/SUSPENDED/INACTIVE status + label on sellerwarehouse replace WAREHOUSE_MAP - BillingWarehouseService (active for dashboards, active+suspended for warehouse screens, names in every state, 5 min cache); setup service: guarded status change (no suspend while franchise stores or brand mapping route there, no close while stock/unshipped orders), rename, all-warehouse overview with usage; partner store assignable only to an active warehouse; daily stock alert for suspended/inactive warehouses to logistics/accounts top 2 staffed levels + leadership; dashboard warehouse list = active (replaces r37834 stock-holding loop); migration sellerwarehouse_status_display_name_20261005.sql (applied on hadb1)  
37764 12 d 20 h amit /trunk/profitmandi-dao/src/main/ feat(store-closure): require reason, remark and approval mail to close a store; mail closure report

- fofo.store_closure audit table (reason, remark, approval document, closed_by); migration applied on hadb1
- StoreClosureService: validates and closes, queues closure report with approval attached to the
partner's Sales L2, top 3 Sales levels, top Accounts level and the closer
- StoreAccess: single home for store close/deactivate/activate/extend-billing access lists;
neeraj.gupta can close, mohit.gulati removed from extend billing
 
37656 20 d 20 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/ Point dao at the relocated KYC and SD Credit types (r37655)

Imports follow services.mandii -> services.kyc / services.sdcredit, and
RecordingService takes RawHttpResponse in place of MandiiResponse.

Gateway.MANDII is kept, with a comment saying why: it is persisted as a
string on FofoPayment.gateway and CreditAccount.gateway, and 740 historical
fofo.payment rows still carry it - removing the constant would make
Hibernate throw when reading them.
 
37651 20 d 22 h vikas /trunk/ LMS click to call  
37644 21 d 19 h amit /trunk/ Cron batch infra: count real SUCCESS rows instead of deriving them, add INCOMPLETE status for runs that died mid-loop, stale-batch reaper, admin force-finalize; markItemSuccess joins the work transaction  
37558 27 d 20 h ranu /trunk/ system generated leak bgc l2 can assign to l1 without any geo location  
37542 29 d 19 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/onBorading/onBoardingFormEnums/ loi process added, revival and code changes process  
37541 29 d 19 h ranu /trunk/ loi process added, revival and code changes process  
37524 34 d 12 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/onBorading/ loi process added, revival and code changes process  
37264 58 d 20 h ranu /trunk/ rbm assignement event and new edm mail committed  
37181 68 d 22 h amit /trunk/profitmandi-dao/src/ PJP agenda rules: revival suppression moved to display layer (filterVisibleForVisit); AgendaType gains hasAutoRule (auto agendas not manual-assignable)  
37164 69 d 2 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/ PJP agenda instances: entities + repositories for config/instance/visit-log  
37145 72 d 1 h ranu /trunk/ level l1 to l9 commited  
37121 81 d 19 h vikas /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/dtr/ Added leads in Beat Creation  
37110 82 d 20 h aman /trunk/ Business-agreement e-sign gate between Full Stock Payment and PO creation

New AGREEMENT_ESIGN onboarding stage, verified by Legal (Gaurav Sharma):
- Hard-blocks first PO creation until the e-sign is verified (BulkOrderService),
mirroring the existing Full Stock Payment block.
- Agreement E-Sign panel (Partner Acquisition menu) listing FSP-done partners who
have not yet created their first PO: upload signed agreement + Gaurav-only verify.
- New agreement_esign table/entity + repository for the signed doc and audit trail.
- Timeline grid column + stepper stage for the new event.

Prod DB (separate, with sign-off): CREATE TABLE user.agreement_esign;
INSERT auth.menu + auth.menu_category rows for the panel.
 
37042 89 d 22 h ranu /trunk/ targeted calling count on today po rbm  
36812 119 d 13 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/dtr/ code commit for agenda fill time stamp  
36718 132 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/dtr/ beat plan info commit  
36643 137 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/enumuration/dtr/ route plan map  
36446 158 d 13 h amit /trunk/profitmandi-dao/src/main/ DN lifecycle: decouple rejection from restore, add DebitNoteStatus, retailer acknowledgment flow

- Add DebitNoteStatus enum (CREATED/RECEIVED/APPROVED/REJECTED/CANCELLED) on debit_note table
- Add retailer_acknowledge_timestamp on purchase_return_order
- rejectReturn() no longer calls restoreReturnedItems() — inventory stays reduced until retailer confirms goods received back
- New acknowledgeRejectedReturn(): retailer confirms receipt, restores inventory+schemes+offers, DN→CANCELLED
- Set DN status in receiveDebitNoteItems (RECEIVED), refundOrder (APPROVED), rejectReturn (REJECTED)
- notifyReturnRejected: updated message, added Finance L1+L2 to CC
- notifyItemsReceived: added Finance L1
- New notifyRejectedGoodsAcknowledged notification
- SQL migration with backfill for existing data
 

Show All