Subversion Repositories SmartDukaan

Rev

Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37869 31 d 5 h amit /trunk/profitmandi-fofo/src/main/ fix(fofo): GlitchTip quick wins - empty billing queue, regex search, upload dates

- /om/transactions: no crash when warehouse has no unbilled orders (#50);
/om/orderByTransaction returns "No pending orders" instead of querying with
no items (#88); JS skips detail load when there is no transaction.
- /om/transactions, /om/billedInvoice: warehouseId=0 fallback used a warehouse
id as a list index (authWarehouseIds.get(authWarehouseIds.get(0))).
- Item / vendor / retailer typeahead: substring match via contains() instead of
a regex built from user input, which threw PatternSyntaxException on "("
(#1932, #1375, #1700, #600, #1926, #1721, #1754).
- Billed-order shipping upload: time optional, dd-MM-yyyy[ HH:mm[:ss]],
missing parts default to 00 (#1976).
- IMEI activation upload: time optional, M/d/yyyy[ H:mm[:ss]], missing time =
00:00:00; every row validated, bad dates and duplicate IMEIs reported with
row numbers instead of a 500 (#1990).
- Bump JS version to 443.
 
37637 53 d 6 h amit /trunk/profitmandi-fofo/src/ feat(pricing): log tag_listing price changes; reference TP instead of vendoritempricing in price drop and tag listing

- Add Pricing and price drop set DP/MOP/MRP via TagListingPriceService (logged with user; price drop logs carry price_drop_id)
- Price drop no longer writes vendoritempricing or vendor catalog pricing; old TP and prefill TP from reference TP
- Tag listing download TP from reference TP; drop unused VendorItemPricingRepository
- TagListingPricingTest: local-DB tests for the price log, reference TP and internal supplier guard
 
37623 54 d 6 h amit /trunk/profitmandi-fofo/src/ feat(price-drop): auto-approve price drop DP/MOP into external vendor catalog pricing

- PriceDropController calls VendorCatalogPricingService.applyPriceDrop with the affected date and logged-in user
- BillingPricingServiceTest: local-DB integration tests (rolled back) for origin-based billing prices, catalog fallback and re-billed orders
 
37564 58 d 20 h amit /trunk/profitmandi-fofo/src/main/ Creation screens request only live listings from the item typeahead

/item takes an activeOnly flag (default false, preserving current behaviour)
and passes it to getAllPartnerItemStringDescription. getItemAheadOptions takes
an optional 4th argument, so existing 3-argument callers are unaffected.

Sent true from the two creation entry points:
- warehouse purchase (PO) invoice line picker
- the new-price-drop modal (#typeaheaditem)

Left false where the screen works on records that already exist and may since
have been delisted: the price-drop pause/manage picker (#typeaheaditem1),
catalog-item, combo and prebooking.

jsVersion 419 -> 420 to cache-bust common.js / warehouse-purchase.js (419 was
already taken by another change).
 
37000 128 d 6 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Price-hike deduction: revert hike edits from price-drop flow; add GET /priceHike/process/{priceDropId} to trigger the on-demand per-retailer hike deduction executor  
36985 129 d 5 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Price-hike deduction: make /priceHike/generateImeis/{id} a GET (consistent with /priceDropImeis; still idempotent, no debit)  
36983 129 d 6 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Price-hike deduction: add POST /priceHike/generateImeis/{id} to generate (review-only, no debit) IMEI rows for a flagged hike  
36978 129 d 9 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Price-hike deduction: generate IMEIs in process path (priceDropStatus) so the existing Process button handles a flagged hike  
35547 297 d 7 h amit /trunk/ Real-time Solr updates for TagListing changes

- Add Spring ApplicationEvent for TagListing changes (price, status, create, delete)
- Add async listener for incremental Solr updates (updateSingleCatalog)
- Add failure tracking with solr_update_failures table for visibility
- Add admin dashboard API for tech team to retry failed updates
- Add auto-retry job every 5 minutes (max 3 retries)
- Add startup sync for consistency after restart
- Add isProd check to skip Solr updates in local/dev environment
- Inject event publisher in TagListing, PriceDrop, Indent controllers
 
35395 325 d 22 h amit /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed performance  
34720 498 d 8 h aman.kumar /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Catalog_id in pricedrop report download  
34657 514 d 6 h aman.kumar /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Price Drop report Date format change  
34651 520 d 6 h aman.kumar /trunk/profitmandi-fofo/src/main/ Price drop by date(fetch and download option)  
34317 598 d 11 h amit.gupta /trunk/ commit for scheme related changes  
33470 869 d 4 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed Order quantity availability  
33198 942 d 8 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Previous purchases  
33189 944 d 13 h amit.gupta /trunk/ Fixed logic when pricedrops are reported late  
32905 1011 d 6 h shampa /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ water mark partner code  
32844 1027 d 4 h shampa /trunk/profitmandi-fofo/src/main/ watermark add and mongo db dependency remove  
32691 1071 d 7 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ removed tr  
32331 1181 d 12 h amit.gupta /trunk/ Added changes related to schemes  
32012 1272 d 10 h amit.gupta /trunk/ Fixed pricedrop can now move REJECTED to PENDING  
31911 1282 d 7 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed logic  
31910 1282 d 7 h amit.gupta /trunk/ Fixed logic  
31903 1282 d 11 h amit.gupta /trunk/ Added changes related to new scheme rollout policy  
31852 1291 d 6 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Added ModelSpecific changes  
31650 1347 d 8 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed Vendorwise TP/NLC update issue. They should no longer be updated by Finance Team. Should only be maintained by the category.  
31238 1429 d 10 h amit.gupta /trunk/profitmandi-fofo/src/main/ Removed unwanted files  
31170 1450 d 5 h amit.gupta /trunk/ Fixed Duplicate imeis while rolling out additional schemes and Added Region wise schemes  
31009 1493 d 2 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Price Drop processing  
30957 1513 d 23 h amit.gupta /trunk/ Fixed changes related to credit note  
30638 1606 d 8 h amit.gupta /trunk/ Fixed price drop added on hold  
30562 1620 d 5 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed ahead issue  
30472 1628 d 10 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed ahead issue  
30471 1628 d 11 h amit.gupta /trunk/ Fixed ahead issue  
30463 1631 d 4 h amit.gupta /trunk/ Changed working of Special Support also added in nlc calculations  
30386 1647 d 12 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed ahead issue  
30385 1647 d 15 h amit.gupta /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ Fixed ahead issue  
30250 1683 d 5 h amit.gupta /trunk/ Fixed ahead issue  
30122 1708 d 7 h amit.gupta /trunk/ Fixed issue