| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37846 |
1 d 5 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
feat(warehouse): dashboards list ACTIVE warehouses only, warehouse-team screens ACTIVE+SUSPENDED (from BillingWarehouseService, WAREHOUSE_MAP gone); global $warehouseNames for labels of data rows in any state; Sellers & Warehouses screen: all-warehouse overview with status tabs, 3-state status, rename, stock/unshipped orders/stores/mapping usage, send stock alert; partner zone offers active warehouses only; brand stock 'All' = active warehouses (replaces r37838 loop); jsVersion 442 |
|
| 37803 |
7 d 23 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
feat(scheme): offer only serialized Ear Buds models in the scheme picker
Scheme payouts are IMEI-driven, so a non-serialized earbud can never earn one.
For category 10024 the scheme-creation brand list and model list now ask the
inventory service for serialized items only (the dao side is already in
trunk); LED TV and the other categories are unchanged. |
|
| 37746 |
13 d 9 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
feat(scheme): add Ear Buds category (10024) to scheme creation category list |
|
| 36747 |
127 d 11 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Scheme extension: propagate new end date to scheme_item rows
extendAllScheme and extendSchemeById only updated scheme.end_date_time, leaving scheme_item.end_date at the original value, so item-level scheme eligibility did not honor the extension. Carry the new end date over to items that were tracking the scheme window (item end_date == previous scheme end date), preserving custom per-item windows, matching expireSchemeById behavior. |
|
| 36629 |
138 d 7 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
fix: validate extend date is not before scheme start date
extendAllSchemes and extendSchemeById now reject extend dates that would create inverted date ranges (end before start). Prevents bad scheme data that bypasses scheme_item date constraints. |
|
| 36628 |
138 d 7 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
fix: /schemes/update endpoint now uses addSchemeItemWithDates to prevent duplicate scheme_item rows
The old code directly persisted SchemeItem with NULL start_date/end_date, which bypassed the unique constraint (MySQL treats NULLs as distinct). Now uses the same service method as /addItemToScheme, which sets dates from scheme window and checks for overlapping entries before insert. |
|
| 36394 |
162 d 10 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Add IMEI net-margin modal on order-index billing panel.
New /getImeiNetMarginModal endpoint: given an IMEI, derives the
purchase-billed date from the IMEI's purchase order
(InventoryItem.purchaseId -> Purchase.purchaseReference -> Order.billingTimestamp),
fetches schemes applicable on that date via PriceCircular, and shows
per-scheme contribution, NLC, and net margin in a slim modal.
Effective DP = inventory_item.unit_price - max(0, price_drop_amount)
to match SchemeServiceImpl.createSchemeInOut/PriceCircularService.getPayouts.
Offers are intentionally excluded. Per-IMEI price-drop history is
shown for reference. |
|
| 35938 |
215 d 8 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fix scheme IMEI search performance: remove entity list logging causing lazy load, batch PriceDrop queries |
|
| 35848 |
223 d 8 h |
amit |
/trunk/ |
Refactor investment logic to use own investment (total - utilized), remove minimumInvestmentOld, add OK_INVESTMENT_SHORT_PERCENTAGE constant, update thresholds CUTOFF_INVESTMENT=10 MIN_INVESTMENT_PERCENTAGE=5 |
|
| 35775 |
231 d 9 h |
ranu |
/trunk/profitmandi-fofo/src/main/ |
imei wise margin / modal wise margin |
|
| 35771 |
232 d 6 h |
ranu |
/trunk/ |
imei wise margin |
|
| 35628 |
249 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Commented dashobard |
|
| 35458 |
290 d 3 h |
amit |
/trunk/ |
Revert @Transactional(readOnly=true) - keep @Transactional only at Controller level
Changes:
- profitmandi-web: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional(readOnly = true)
- profitmandi-fofo: Controllers use @Transactional(rollbackFor = Throwable.class) at class level, removed method-level @Transactional
- profitmandi-dao: Removed @Transactional from services/repositories
Exceptions (called from interceptors, need own transaction):
- RoleManager: @Transactional(readOnly = true) - called from interceptor for auth
- PartnerTypeChangeServiceImpl.getBestPartner(): @Transactional - called from JWTUtil via interceptor
Fixed javax.transaction.Transactional to org.springframework.transaction.annotation.Transactional
Fixed rollbackOn to rollbackFor for Spring compatibility |
|
| 35252 |
336 d 12 h |
aman |
/trunk/ |
Feat:Expire Schemes by ids and lead assign to bgc too |
|
| 34813 |
442 d 6 h |
aman |
/trunk/ |
Partner Dashboard Analysis |
|
| 34788 |
450 d 8 h |
ranu |
/trunk/ |
method update for customer offer |
|
| 34587 |
504 d 6 h |
vikas.jangra |
/trunk/profitmandi-fofo/src/main/ |
Scheme notification |
|
| 34575 |
507 d 7 h |
vikas.jangra |
/trunk/ |
Liquidation/Bidding auto approval |
|
| 34568 |
509 d 5 h |
vikas.jangra |
/trunk/ |
Liquidation/Bidding push notification and Publish Email |
|
| 34516 |
523 d 4 h |
ranu |
/trunk/ |
code committed for customer offer additional info |
|
| 34409 |
543 d 8 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fixed Margin |
|
| 34369 |
553 d 5 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Check |
|
| 34317 |
566 d 11 h |
amit.gupta |
/trunk/ |
commit for scheme related changes |
|
| 34211 |
594 d 11 h |
vikas.jangra |
/trunk/ |
Changed email Ids |
|
| 33795 |
742 d 0 h |
ranu |
/trunk/ |
upgrade offer live |
|
| 33313 |
887 d 6 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fixed Scheme Calcluation missing Front end |
|
| 33306 |
887 d 10 h |
amit.gupta |
/trunk/ |
Fixed logic for sale in inventory history |
|
| 33248 |
899 d 10 h |
ranu |
/trunk/ |
exception added |
|
| 33182 |
915 d 5 h |
shampa |
/trunk/ |
add fields in price drop table. Add purchase billing summery and sale summery table. |
|
| 33030 |
950 d 11 h |
amit.gupta |
/trunk/ |
Fixed offers |
|
| 32905 |
979 d 6 h |
shampa |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
water mark partner code |
|
| 32776 |
1013 d 4 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Minor refactoring |
|
| 32331 |
1149 d 13 h |
amit.gupta |
/trunk/ |
Added changes related to schemes |
|
| 32299 |
1160 d 7 h |
jai.hind |
/trunk/profitmandi-fofo/src/main/ |
In Finance Automate Process SellIn SellOut |
|
| 32236 |
1168 d 10 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fixed additional scheme logic |
|
| 32235 |
1168 d 10 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Fixed additional scheme logic |
|
| 32232 |
1169 d 4 h |
amit.gupta |
/trunk/ |
Fixed my income |
|
| 31762 |
1286 d 8 h |
tejbeer |
/trunk/ |
ticket and imei wise scheme related changes |
|
| 31741 |
1295 d 11 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Handling |
|
| 31520 |
1343 d 7 h |
amit.gupta |
/trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ |
Skip invalid catalog ids that are being added |
|