| Rev |
Age |
Author |
Path |
Log message |
Diff |
| 37458 |
42 d 6 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 |
215 d 0 h |
aman |
/trunk/ |
Feat : Loi 2.0 Enhancement and redesigning |
|
| 35336 |
312 d 4 h |
aman |
/trunk/ |
Fix:Manual entry if gst is not verified (api response is coming null) |
|
| 35322 |
318 d 7 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
Fix: handle empty GST validation response and allow manual GST entry |
|
| 34829 |
439 d 7 h |
aman |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
GST no uppercase issue fixed |
|
| 34616 |
501 d 3 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
only valid gst fatch the details or active gst |
|
| 34316 |
571 d 1 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
bug fix |
|
| 34314 |
571 d 3 h |
tejus.lohani |
/trunk/ |
deprecate gst taxpayer search api url add |
|
| 34310 |
571 d 6 h |
tejus.lohani |
/trunk/ |
address enter manually if gst api not working |
|
| 34107 |
641 d 3 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 |
652 d 1 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 |
676 d 5 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/ |
gst status alert ,active or not |
|
| 33909 |
704 d 8 h |
tejus.lohani |
/trunk/ |
add fin code field in loi-form , now if partner have finCode then sale team can collect fin code |
|
| 33885 |
718 d 1 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 |
735 d 6 h |
tejus.lohani |
/trunk/ |
new flow of Onboarding process and wod-fin report , |
|
| 33749 |
761 d 4 h |
tejus.lohani |
/trunk/ |
special brand fee in loi form related work |
|
| 33658 |
793 d 9 h |
tejus.lohani |
/trunk/ |
implement loi update feature and payment update feature , improve code , fix some bugs , |
|
| 33648 |
799 d 3 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
remove self from referBy option |
|
| 33647 |
799 d 3 h |
tejus.lohani |
/trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ |
bug fix |
|
| 33582 |
815 d 5 h |
tejus.lohani |
/trunk/ |
Add acquired date field in Loi form and add doc verified and complete payment flag |
|