File tree Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Expand file tree Collapse file tree 1 file changed +9
-2
lines changed Original file line number Diff line number Diff line change @@ -296,12 +296,17 @@ const Forms = (props) => {
296
296
if ( res . data ) {
297
297
setFileUpload ( res . data . url ) ;
298
298
setfileload ( false ) ;
299
+ const title = generateTitleFromFilename ( files ?. [ 0 ] ?. name ) ;
300
+ setFormData ( ( obj ) => ( { ...obj , Name : title } ) ) ;
299
301
}
300
302
} catch ( err ) {
301
303
e . target . value = "" ;
302
304
setfileload ( false ) ;
303
305
setpercentage ( 0 ) ;
304
306
console . log ( "err in libreconverter " , err ) ;
307
+ alert (
308
+ "We are currently experiencing some issues with processing DOCX files. Please upload the PDF version or contact us on [email protected] "
309
+ ) ;
305
310
}
306
311
}
307
312
}
@@ -675,7 +680,9 @@ const Forms = (props) => {
675
680
) }
676
681
< div className = "text-xs" >
677
682
< label className = "block" >
678
- { `${ t ( "report-heading.File" ) } (${ t ( "file-type" ) } )` }
683
+ { `${ t ( "report-heading.File" ) } (${ t ( "file-type" ) } ${
684
+ isEnableSubscription ? ", docx)" : ")"
685
+ } `}
679
686
< span className = "text-red-500 text-[13px]" > *</ span >
680
687
</ label >
681
688
{ fileupload . length > 0 ? (
@@ -840,7 +847,7 @@ const Forms = (props) => {
840
847
</ div >
841
848
) }
842
849
{ isAdvanceOpt && (
843
- < div className = { ` overflow-y-auto z-[500] transition-all` } >
850
+ < div className = " overflow-y-auto z-[500] transition-all" >
844
851
{ props . title === "Request Signatures" && (
845
852
< div className = "text-xs mt-2" >
846
853
< label className = "block" >
You can’t perform that action at this time.
0 commit comments