Subversion Repositories SmartDukaan

Rev

Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37194 9 h 48 m 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.
 
37193 13 h 25 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ brand ai+ fixed  
37192 13 h 59 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/filter/ brand ai+ handled  
37191 15 h 0 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/config/ level l1 to l9 commited  
37190 15 h 5 m ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ level l1 to l9 commited  
37189 1 d 7 h amit /trunk/profitmandi-common/src/main/java/com/spice/profitmandi/common/model/ Remove unused allowAdditionalOutlet field (checkbox dropped in r37168/r37169 before any deploy; no reader or writer remains)  
37188 1 d 7 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ level l1 to l9 commited  
37187 1 d 10 h amit /trunk/profitmandi-fofo/src/main/ PJP agenda config: sidebar action_class handler in Sales PJP menu; jsVersion 389  
37186 1 d 10 h amit /trunk/profitmandi-dao/src/main/resources/sql/ PJP agenda config: Sales PJP sidebar menu entry SQL (applied hadb1/local/staging)  
37185 1 d 11 h ranu /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/ ai + brand display mapping fixed  
37184 1 d 11 h ranu /trunk/profitmandi-fofo/src/main/java/com/spice/profitmandi/web/controller/ ai + fixed brand display  
37183 1 d 11 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ PJP agenda assign: composeAgendaTaskName on create/batch/revisit (supervisor on-the-go path); revival visibility filter on GET agendas; skip blank checkout discussions  
37182 1 d 11 h amit /trunk/profitmandi-fofo/src/main/ PJP agenda assign: only non-auto agendas manually assignable; open instances woven into task_name server-side; revival visibility filter  
37181 1 d 11 h amit /trunk/profitmandi-dao/src/ PJP agenda rules: revival suppression moved to display layer (filterVisibleForVisit); AgendaType gains hasAutoRule (auto agendas not manual-assignable)  
37180 1 d 11 h amit /trunk/profitmandi-dao/src/ PJP agenda rules: REVIVAL suppresses all data-driven agendas except CREDIT_DUES  
37179 1 d 14 h amit /trunk/profitmandi-fofo/src/main/ PJP agenda instances: admin config screen gated to amit/tarun/kamini  
37178 1 d 14 h amit /trunk/profitmandi-fofo/src/main/ PJP agenda instances: manual close endpoint (MANUAL-only, AUTO guarded) + agenda chips  
37177 1 d 14 h amit /trunk/profitmandi-web/src/main/java/com/spice/profitmandi/web/controller/ PJP agenda instances: per-agenda visit logs at checkout + open-agendas endpoint  
37176 1 d 14 h amit /trunk/profitmandi-dao/src/main/java/com/spice/profitmandi/dao/model/ PJP agenda instances: agendaDiscussions on LocationTrackingModel  
37175 1 d 14 h amit /trunk/profitmandi-fofo/src/main/ PJP agenda instances: day view shows open instances, creates MANUAL instances on assign  

Show All