Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37769 14 d 17 h amit /trunk/profitmandi-dao/src/ fix(movement): receive a movement invoice only against its own PO, stop auto-closing movements, cancel reduces the PO line

- GRN: movement invoice resolves invoice -> orders -> transaction -> its own movement PO (or a receive-only PO
from the billing warehouse); supplier/warehouse keyed at entry must match; scanned IMEIs must be the billed ones
- Cancelling an unbilled movement order takes its qty off the PO line; PO CLOSED/PRECLOSED once nothing is open
- reopenedAt removed (movements no longer auto-close); PO records createdBy
- SupplierStateResolver: a supplier's state is derived from its GSTIN on save
- sql: add_po_created_by (applied), drop_po_reopened_at (run AFTER fofo/cron/web deploy)
 
37768 14 d 17 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/util/ feat(supplier): GstinUtil - read state code / PAN from a GSTIN so the GSTIN decides a supplier's state  
37767 14 d 18 h amit /trunk/profitmandi-dao/src/ fix(orders): movements ship from their source only; a row reserved beyond its stock gives nothing

Internal movement orders were allocated by the partner allocator, which spills a source
shortfall to every warehouse the brand mapping links to the destination - stock billed
there has no PO to be received against (PO 54279: 3 units put on Jaipur for a UP->Delhi
movement). createTransactionInternally now keeps the source's own rows only; a shortfall
still parks on the source's Dummy.

getItemQty took min(qty, netAvailability) on a row reserved beyond its stock - always the
case on a Dummy holding an open order - so a -1 row added a unit to the shortfall, which
then parked on the Dummy as an extra order (24 Sep: 9 units raised for a movement of 8,
refused by the cart-value guard). Rows with nothing free are now skipped and no longer
offset another row's free stock in the warehouse total.

Removes the empty, uncalled markOrdersAsGrnCompleted.
 
37766 14 d 19 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ feat(store-closure): V2 closeStore goes through StoreClosureService; access checks read StoreAccess

Same rules as the fofo portal (dao r37764): reason, remark and approval mail required; mohit.gulati
removed from extend billing.
 
37765 14 d 19 h amit /trunk/profitmandi-fofo/src/main/ feat(store-closure): closure popup with reason, remark and approval mail upload

- Close Store (inactive stores page and deactivate flow) opens one shared popup; /closeStore
delegates to StoreClosureService (dao r37764)
- store status access checks read StoreAccess lists; mohit.gulati removed from extend billing
- jsVersion 435
 
37764 14 d 19 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
 
37763 14 d 21 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ aging po approval process  
37762 14 d 23 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ aging po approval process  
37761 14 d 23 h ranu /trunk/ aging po approval process  
37760 15 d 16 h vikas /trunk/profitmandi-fofo/src/main/ Upload directory and Data correction for lead  
37759 15 d 16 h vikas /trunk/ LMS Call for App  
37758 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ aging po approval process  
37757 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ aging po approval process  
37756 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ aging po approval process  
37755 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/service/warehouse/ aging po approval process  
37754 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/entity/warehouse/ aging po approval process  
37753 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/warehouse/ aging po approval process  
37752 15 d 17 h ranu /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/repository/warehouse/ today po rbm view showing only for l7 and above  
37751 15 d 17 h ranu /trunk/ aging po approval mail to some collected users  
37750 15 d 17 h ranu /trunk/ aging sku purchasing need to approval of niranjan kala sir  

Show All