Subversion Repositories SmartDukaan

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
37556 31 d 2 h ranu /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ loi process added, revival and code changes process  
37458 42 d 4 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.
 
35977 213 d 23 h aman /trunk/ Fix:Full stock payment approval for kamini ma'am add threshold , Mail shootting if no loi done and some improvement  
35971 214 d 22 h aman /trunk/ Feat : Loi 2.0 Enhancement and redesigning  
34085 651 d 22 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  
34018 679 d 5 h tejus.lohani /trunk/ purchase sele ratio further detail like model aging , on the click of catalog chart click  
33885 717 d 23 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  
33869 726 d 1 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ give hard_limit field in sd credit panal for tarun sir  
33848 734 d 18 h tejus.lohani /trunk/ fix bm approval flow - loi generate after approval  
33845 735 d 4 h tejus.lohani /trunk/ new flow of Onboarding process and wod-fin report ,  
33712 773 d 6 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ give cancellation option before loi signed  
33711 773 d 22 h tejus.lohani /trunk/ give cancellation option in loi form and status field in Excel report  
33710 774 d 1 h tejus.lohani /trunk/ Skip manual create Onboarding form function and give feature of alter agreed brand fee for special scenario  
33658 793 d 7 h tejus.lohani /trunk/ implement loi update feature and payment update feature , improve code , fix some bugs ,  
33617 806 d 22 h tejus.lohani /trunk/ develop document rejection mail , Add automailer when LoiForm complete and go to further process , create LoiForm report , for mail and download ,Payment status mail when payment accesp or reject ,  
33582 815 d 2 h tejus.lohani /trunk/ Add acquired date field in Loi form and add doc verified and complete payment flag  
33578 816 d 0 h tejus.lohani /trunk/ add BrandFee collecting date in brandFeeCollection,Loi form ,loiFromData class , and fix some bugs(modal size , content size adjustment,etc),  
33577 816 d 5 h tejus.lohani /trunk/ fix Some bugs,Improve some Vm,Show pending LoiForm how fill the form and correct some spelling mistakes  
33559 821 d 4 h tejus.lohani /trunk/profitmandi-fofo/src/main/webapp/WEB-INF/views/ftl/ some Improvement in vm looks  
33525 830 d 2 h tejus.lohani /trunk/ Loi form related button visibility and some extra improvement  

Show All