Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37331 52 d 23 h amit /trunk/profitmandi-fofo/src/main/ Add offer circular review and curation screen

Shows the nine verbatim PDF columns beside what the parser made of them, uploads a
new monthly circular, and resolves the products the matcher could not.

Upload deliberately does not parse - it stores the PDF, sha256-deduped, and
registers it DRAFT, so an upload can never half-populate the offer tables. The cron
ingest job picks it up from there.

The curation queue groups by distinct (division, raw text) because that is the
product_alias key: one answer clears every row carrying that text, on this circular
and on every later one. On the Aug'26 circular that turns 152 unresolved rows into
106 decisions. Three actions mirror product_alias.action - PIN to a catalog id,
REWRITE to the catalog's spelling and match again, or IGNORE.

- Writes product_alias only, so nothing the screen does can set manually_curated
and lock a circular against re-ingest. Coverage decisions, which do need that,
are listed but visibly parked rather than offered a naming answer.
- A saved decision changes nothing until re-ingest, because aliases are read at
ingest time; the queue says so and the re-ingest button puts the document back
to DRAFT for the scheduler. The portal cannot run the ingest itself - that lives
in profitmandi-cron, which fofo does not depend on.
- The closest rejected match is shown for context and never pre-selected. Four new
OnePlus models each "nearly" matched a 2015 OnePlus 2 at 0.80-0.84, and offering
that as a suggestion invites a reviewer to confirm it. Where the catalog has no
such SKU the search says so and steers to IGNORE.
- aliasExport emits every decision as replayable SQL, because the portal writes to
one database and environments would otherwise drift apart silently.

Access is an email allowlist AND the admin role. Both are enforced in the
controller; the sidebar entry repeats the allowlist because visibility in auth.menu
is role-driven and cannot express a per-email rule.

No jsVersion bump: offer-circular-review.js is a new file that was never cached,
so it needs no cache-buster, and churning that shared counter only conflicts with
whoever is mid-edit on it.
 
37222 66 d 7 h amit /trunk/profitmandi-fofo/src/main/ external api v2: Technology > External API Clients admin screen (read-only client/store/category mappings), jsVersion 392  
37212 66 d 10 h amit /trunk/profitmandi-fofo/src/main/ Hot Deals: Category-team page under Catalog menu - brand-wise hot deal models with inline date editing (manage-hot-deals)  
36877 112 d 8 h vikas /trunk/ Location Tracking Dashboard: Add BeatJourneyController  
36645 139 d 11 h vikas /trunk/ Added Beat Report  
36618 141 d 12 h ranu /trunk/profitmandi-fofo/src/main/ route plan map  
36563 146 d 10 h amit /trunk/profitmandi-fofo/src/main/ Flagship credit: admin UI for date-wise flagship model management, jsVersion bump to 338  
36394 165 d 9 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.
 
36152 190 d 11 h aman /trunk/ Feat:Request Panel for brand dealer registration,Admin panel for managing WOD request templates  
35629 252 d 5 h amit /trunk/ Fixed SchemeService  
35549 267 d 10 h ranu /trunk/ bulletin updated on dashboard and give access category department  
35503 283 d 10 h vikas /trunk/ Shopify : Orders  
35396 296 d 22 h amit /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ Improveed offer logic  
35289 328 d 14 h amit /trunk/ Added trial franchisee feature  
35268 333 d 7 h aman /trunk/profitmandi-fofo/src/main/webapp/ Added scratch offer removed Scratch as directry  
34881 423 d 5 h aman /trunk/ Feat:Affiliate Service  
34859 429 d 5 h vikas /trunk/ Web Pages Management  
34814 445 d 3 h vikas /trunk/ Category Management  
34505 527 d 7 h ranu /trunk/profitmandi-fofo/src/main/ code committed for placement dashboard view  
34474 533 d 4 h aman.kumar /trunk/ Scratch Offer  

Show All