| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37523 |
35 d 22 h |
ranu |
/trunk/ |
loi process added, revival and code changes process |
|
| 37498 |
37 d 8 h |
amit |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix: namespace document-level handlers in remaining vm fragments
Completes the sweep started in r37493/r37494. These fragments are injected
with .html(), which re-executes their inline <script>, so every load stacked
another $(document) delegated handler. Mutating handlers then fired N
identical requests and were rejected as duplicates; read-only ones silently
fired N GETs (never deduped, so no alert - just N times the load).
35 fragments, 70 bindings. Adopts the create-purchase-return.vm convention:
one $(document).off('.ns') before the first binding, every event namespaced,
so only the newest binding survives a re-injection.
Notes:
- ticket.vm binds via jQuery(document).on, which the earlier passes did not
match, and its clear must sit OUTSIDE ready() - that callback fires async,
so an inside-ready clear would wipe the top-level binds registered before it.
- agreement-esign-panel, full-stock-payment-panel and create-purchase-return
were left alone; they already clear their handlers (selector-targeted
.off('click', sel) and .off('.createpr') respectively).
Behaviour-preserving: every diff line is either a namespace suffix on an
event string or a new off() call. Selectors, handlers and ordering untouched.
Verified no unprotected document-level bindings remain in any fragment. |
|
| 37458 |
40 d 10 h |
aman |
/trunk/profitmandi-fofo/src/main/ |
LOI payment screenshot: report upload failures instead of reporting the field as missing
Submit validated the hidden #payment-sc-docId, but a file input keeps displaying the
chosen filename regardless of what happens next - so a failed /document-upload left the
field looking attached to the operator and missing to the validator ("The following
fields are required: Payment screenshot" on a form that was in fact filled in).
The failure was silent three ways: doAjaxUploadRequestHandler had no error handler; the
global ajaxError reporter calls bootbox, which loads from cdnjs and throws if that is
blocked; and the confirm('Confirm file upload ?') gate returned false with no trace once
Chrome's "prevent this page from creating additional dialogs" box was ticked.
- common.js: optional error callback on doAjaxUploadRequestHandler (additive, opts out of
the generic global dialog via suppressGlobalError); uploadErrorMessage() extracts the
server's real reason from the JSON body or the plain-text duplicate-request body;
uploadDocument() pre-checks size/type, verifies a document_id actually came back, and
reports a message naming the file - .HEIC and .webp get specific guidance;
showAlert() falls back to native alert when bootbox is absent.
- loi-form.js: drop the confirm() gate, 'input' -> 'change', and clear the file input
whenever the id does not land so the widget can never claim an unuploaded file. Status
line under the field (Uploading... / Attached: name / Not attached). Submit now
distinguishes not-picked, still-uploading and upload-failed. Same treatment for the
OnboardingDocumentTable and mk_brand-fee-collection-details uploads, and the brand-fee
dialog names the Attachment field instead of echoing the raw form key.
- loi-form.vm, pendingForm.vm: accept="..." on both file inputs plus the status span.
- FileUploadController: reject empty files, report actual size against the actual limit,
and resolveExtension() falls back to the filename when the browser sends a generic MIME
type (Android file managers send application/octet-stream for ordinary JPG/PNG/PDF).
- AppConfig: static resource version 395 -> 396 for the JS change. |
|
| 35971 |
213 d 4 h |
aman |
/trunk/ |
Feat : Loi 2.0 Enhancement and redesigning |
|
| 35336 |
310 d 8 h |
aman |
/trunk/ |
Fix:Manual entry if gst is not verified (api response is coming null) |
|
| 35322 |
316 d 11 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix: handle empty GST validation response and allow manual GST entry |
|
| 34829 |
437 d 11 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
GST no uppercase issue fixed |
|
| 34616 |
499 d 7 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
only valid gst fatch the details or active gst |
|
| 34316 |
569 d 5 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
bug fix |
|
| 34314 |
569 d 7 h |
tejus.lohani |
/trunk/ |
deprecate gst taxpayer search api url add |
|
| 34310 |
569 d 10 h |
tejus.lohani |
/trunk/ |
address enter manually if gst api not working |
|
| 34107 |
639 d 7 h |
tejus.lohani |
/trunk/ |
TECH-655,Add Two field in Onboarding form(loi form), 1.State Head , 2. SM and map these to field with Partner Onboarding panel , so that it automate in other related field |
|
| 34085 |
650 d 4 h |
tejus.lohani |
/trunk/ |
Store Potential must be greater than or equal to Wallet Value, Loi cancel button for HOD , change store type feature in pending loi form ,data table in wod-fin-mapping,expose code in wod status in wod-fin-mapping,remove xiaomi brand in dms code panel and wod-fin mapping report |
|
| 34026 |
674 d 9 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/ |
gst status alert ,active or not |
|
| 33909 |
702 d 12 h |
tejus.lohani |
/trunk/ |
add fin code field in loi-form , now if partner have finCode then sale team can collect fin code |
|
| 33885 |
716 d 5 h |
tejus.lohani |
/trunk/ |
all Active brand show in upload noc for do active/inactive and now loi -form filler can attach payment screenshot in 1st and further payment so that approver can see payment attachment |
|
| 33845 |
733 d 10 h |
tejus.lohani |
/trunk/ |
new flow of Onboarding process and wod-fin report , |
|
| 33749 |
759 d 8 h |
tejus.lohani |
/trunk/ |
special brand fee in loi form related work |
|
| 33658 |
791 d 13 h |
tejus.lohani |
/trunk/ |
implement loi update feature and payment update feature , improve code , fix some bugs , |
|
| 33648 |
797 d 6 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
remove self from referBy option |
|