| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37901 |
6 h 46 m |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/services/ |
pinelab emi offer publish |
|
| 37900 |
6 h 47 m |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ |
pinelab emi offer publish |
|
| 37896 |
10 h 39 m |
aman |
/trunk/ |
Fin services: stop add-brands-to-service timing out
addPartnerServiceAndBrandService looked up partner_service and partner_service_brand
once per store x brand (each SELECT auto-flushing a growing session), so adding a brand
to a service with many brands (e.g. NOTHING on Bajaj) ran past the request timeout.
Load existing rows in two queries and insert only what's missing. The add endpoints
(fofo + web v2) also skip brands already on the service, so a retry can't duplicate them.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012RhScihkTVEM5oJgpFkKWn |
|
| 37893 |
12 h 9 m |
aman |
/trunk/ |
AI Assistant leads: split Phone vs Web, route toll-free (IRA_PHONE) leads to Meenakshi
- /add/lead accepts optional source (IRA_PHONE / IRA_WEB), stored in new user.lead.ai_channel.
Anything that isn't IRA_PHONE (incl. missing source) is a web lead; requests without source still work.
- IRA_PHONE leads assigned to Meenakshi (84); other AI leads to a random active BGC L1 excluding her.
Falls back to the pool if she is inactive.
- LeadAiChannelColumnBootstrap adds the column at startup if missing (hbm2ddl is off).
- Lead Dashboard/records show Source as "AI Assistant (Phone)" / "AI Assistant (Web)";
Lead Dashboard filter + CSV; LMS report "AI Leads by Channel" (/lms/dashboard/ai-channel).
- Bump static version to 445 so browsers load the new lead.js.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_012RhScihkTVEM5oJgpFkKWn |
|
| 37885 |
3 d 0 h |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/scratch/ |
v2 version some fixes |
|
| 37884 |
3 d 4 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
fix(web): todayOffers for staff users; stop logging full Auth-Token
- /todayOffers (GlitchTip #59, 417 events): resolved the store via
dtr.user_accounts, which internal staff using the partner app don't have, so
getUserCart returned null and the call NPE'd. Use the retailerId from the
token (same value as the partner's saholic account); return an empty list
when the token carries no store.
- AuthenticationInterceptor: log only the last 6 characters of the
Auth-Token instead of the full JWT (was reaching GlitchTip breadcrumbs). |
|
| 37882 |
3 d 4 h |
ranu |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
activated imei will not get scratch coupon |
|
| 37879 |
3 d 10 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ |
refactor(web): stop setting removed inventory.warehouse fields on seller warehouse create
Follows dao r37878, which removed the never-read fields from Warehouse. |
|
| 37874 |
7 d 4 h |
ranu |
/trunk/ |
recent winners of scratch offer |
|
| 37866 |
8 d 11 h |
ranu |
/trunk/ |
request login for b2b app for sales department enable |
|
| 37859 |
9 d 5 h |
amit |
/trunk/profitmandi-web/src/main/ |
fix(payment): send partners back to app.smartdukaan.com after wallet top-up via CCAvenue
r34902 moved angular.app.url to https://smartdukaan.com/, which does not serve the
partner app, so the post-payment redirect to pages/home/payment-status/{id} returned 404.
The payment itself was recorded; only the landing page was broken.
Also drops the extra slash in the redirect format (base URL already ends in /) and adds
the trailing slash to the dev value to match. |
|
| 37856 |
9 d 11 h |
amit |
/trunk/profitmandi-web/src/main/resources/ |
docs(external-api): brandIdentifier is per itemId and returned on all SKU-level endpoints |
|
| 37852 |
10 d 4 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ |
fix(warehouse): V2 dashboards list ACTIVE warehouses instead of forcing 7573; courier/rider default warehouse 13368 |
|
| 37847 |
10 d 5 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
refactor(warehouse): read warehouse lists and labels from BillingWarehouseService instead of WAREHOUSE_MAP/WAREHOUSE_NAME_MAP |
|
| 37836 |
10 d 13 h |
aman |
/trunk/ |
Lead Management: the calendar date range now applies to follow-up leads too, in both the lead list and the CSV download. Previously follow-ups were appended undated, and the download (non-field-sales path) appended them even when the list did not, so a date-filtered download contained all follow-up leads from all time. 'All' status now consistently includes follow-ups in every branch.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JjVXnkrysiXEa2YYRn4BqL |
|
| 37821 |
14 d 4 h |
aman |
/trunk/ |
Lead Management: CSV download now also honours the lead table's search text (searchTerm), so the exported rows match the filtered rows on screen. Applies to both the fofo download and the V2 API download.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JjVXnkrysiXEa2YYRn4BqL |
|
| 37820 |
14 d 5 h |
aman |
/trunk/ |
Lead Management: make Excel/CSV download honour the same filters as the on-screen list. V2 download no longer folds followUp into the status list when All is chosen (it skipped the status/color/date query and exported only follow-ups); fofo lead page re-selects every chosen status so Download sends the statuses the table was loaded with.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JjVXnkrysiXEa2YYRn4BqL |
|
| 37793 |
17 d 8 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
feat(cart): carry bag pricing via CarryBagQuote in V2 cart and order create
V2CartController prices and rebalances the carry bag through
CartService.getCarryBagQuote: one bag at Rs 1 per smartphone over Rs 12,000,
extras at listing, Bronze at listing for all. The old resolveCarryBagPrice /
CARRY_BAG_PREMIUM_PRICE path and its partnerTypeChangeService dependency are
removed. OrderController splits the blended carry bag line into its two
priced orders when partitioning the cart, so the same SKU appears twice on
one invoice at its two prices.
Needs profitmandi-dao r37792; deploy together with the partner apps. |
|
| 37781 |
20 d 10 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ |
feat(partner-access): demo partners in app switcher + impersonate
- /getPartners, /getPartnersList: position partners + active demo partners
(copies the cached getAuthUserPartnerEmailMapping set, never mutates it)
- /impersonate: an active demo grant also passes the access check
Needs dao r37779 and migration_demo_partner_access.sql applied. |
|
| 37772 |
21 d 5 h |
amit |
/trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/v2/controller/fofo/ |
fix(supplier): V2 supplier save derives state from GSTIN |
|