| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37194 |
1 d 0 h |
aman |
/trunk/ |
LOI OTP: report real send outcome instead of always 'OTP Sent Successfully!'
The Send OTP button showed success for any HTTP 200, including the daily-cap
failure where the controller returned 'Something went wrong..'. Ops could not
tell a working send from a broken one, so genuine failures were invisible.
- OTPResponse: add 'sent' flag. result=true did not mean anything was
dispatched - the 2-minute resend throttle returns the previous OTP without
contacting the gateway.
- OtpProcessor: set sent=true only on branches that actually dispatch.
- LoiFormController.sentLoiAcceptanceOtp: return {status, sent, message} with
the processor's real reason, wrap generateOtp in try/catch so a dispatch
exception is logged and reported instead of surfacing as a generic 500, and
log loiId/result/sent/reason.
- loi-form.js: check the payload; distinct green/amber/red states, re-enable
the button on failure instead of leaving it stuck on 'Sending...'.
- common.js: optional error callback on doAjaxRequestHandler /
doPostAjaxRequestHandler (additive; existing callers unchanged).
- AppConfig: static resource version 389 -> 390 for the JS change. |
|
| 37171 |
2 d 6 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Wallet page: show sanctioned credit limit tile alongside utilization/total due; format amounts via currency class + formatCurrency on load; jsVersion 388 |
|
| 36922 |
38 d 0 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Remove unused Digify retailer integration and fix slim-jQuery clobber on partner-performance/today_po/today_target pages
- Delete Digify controller, views and Buyback asset; drop dead .digify-retailer-login handler and buyback links/buttons
- Load full jQuery (3.5.1) instead of jquery slim on partner-performance/today_po/today_target so injected pages no longer overwrite the dashboard jQuery (restores $.ajax / slideUp)
- Bump jsVersion to 365 |
|
| 36819 |
52 d 2 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Fix idempotency dedup to be server-authoritative (content + partner scoped)
PostInterceptor now keys duplicates on sha256(fofoId|method|uri|bodyHash) for
mutating methods only, instead of the client-supplied IdempotencyKey header.
The header was rotated per-request by the frontend (and old/sticky clients),
so identical submissions produced distinct keys and were never deduped - e.g.
a create-offer burst created 147 duplicate rows. Keying on the request body
makes dedup independent of client behaviour; partner scoping prevents cross-
partner collisions; distinct payloads (one-offer-per-partner) are unaffected.
GET/HEAD are now never deduped (removes spurious GET 400s).
common.js: attach IdempotencyKey only to mutating methods; stop rotating the
key on every ajaxComplete (kept reset on ajaxSuccess only). version 355. |
|
| 36697 |
66 d 23 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
fix: FY date range end date missing endOf day in account statement picker, bump version to 342 |
|
| 36598 |
74 d 2 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Flagship models: catalog-level typeahead with 70K min price filter, add menu_category access |
|
| 36572 |
77 d 3 h |
amit |
/trunk/ |
fix: add debit note PDF labels, HDFC UTR duplicate lock, AJAX error handlers in common.js |
|
| 35626 |
183 d 0 h |
amit |
/trunk/ |
Ticket system: add unread tracking, pagination, search, and partner notifications |
|
| 35594 |
185 d 21 h |
amit |
/trunk/ |
Ticket system: CRM access, category filtering, UI improvements
CRM Team Access:
- CRM users can see all tickets in myticket and managerTicket views
- CRM users can assign/edit tickets from all views
- Only CRM can mark tickets as resolved
Category Filtering (hidden from CRM):
- Sales category (ID 4) and Sales Escalation subcategory (ID 84)
- RBM category (ID 18) and RBM Escalation subcategory (ID 83)
UI Improvements:
- Partner name link opens partnerPerformance in new tab (reusable via .partner-link class)
- Edit modal shows ticket ID and partner name in title
- Resolve confirm shows ticket ID and partner name
- Fixed duplicate class attributes in buttons
- Modal shows after content loads (removed data-toggle conflicts)
Version bump: JS 313, CSS 34 |
|
| 35544 |
203 d 1 h |
amit |
/trunk/profitmandi-fofo/src/main/webapp/resources/js/ |
Handle scientific notation (e.g., 1.37E7) in numberToComma() function |
|
| 35533 |
206 d 5 h |
amit |
/trunk/profitmandi-fofo/src/main/ |
Fixed AppConfig |
|
| 35510 |
213 d 1 h |
amit |
/trunk/profitmandi-fofo/src/main/webapp/resources/js/ |
Fixed method Number to comma for Cr. Values |
|
| 35459 |
223 d 21 h |
amit |
/trunk/ |
Revert non-Java file changes from r35458 |
|
| 35458 |
223 d 21 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 |
|
| 35289 |
259 d 8 h |
amit |
/trunk/ |
Added trial franchisee feature |
|
| 34859 |
360 d 0 h |
vikas |
/trunk/ |
Web Pages Management |
|
| 34813 |
376 d 0 h |
aman |
/trunk/ |
Partner Dashboard Analysis |
|
| 34546 |
445 d 2 h |
vikas.jangra |
/trunk/profitmandi-fofo/src/main/ |
Liquidation/Bidding push notification and Publish |
|
| 34387 |
479 d 23 h |
vikas.jangra |
/trunk/ |
Liquidation/Bidding initial work |
|
| 34236 |
521 d 22 h |
ranu |
/trunk/ |
credit note report given to finnace and partner |
|