diff --git a/resources/views/expenses/edit.blade.php b/resources/views/expenses/edit.blade.php index f0b44e700e..7fb96d2793 100644 --- a/resources/views/expenses/edit.blade.php +++ b/resources/views/expenses/edit.blade.php @@ -247,7 +247,7 @@ @foreach(trans('texts.dropzone') as $key=>$text) "dict{{strval($key)}}":"{{strval($text)}}", @endforeach - maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, + maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, }); if(dropzone instanceof Dropzone){ dropzone.on("addedfile",handleDocumentAdded); diff --git a/resources/views/invoices/edit.blade.php b/resources/views/invoices/edit.blade.php index 7db80f6908..ccf2d35f35 100644 --- a/resources/views/invoices/edit.blade.php +++ b/resources/views/invoices/edit.blade.php @@ -996,7 +996,7 @@ @foreach(trans('texts.dropzone') as $key=>$text) "dict{{strval($key)}}":"{{strval($text)}}", @endforeach - maxFileSize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, + maxFilesize:{{floatval(MAX_DOCUMENT_SIZE/1000)}}, }); if(dropzone instanceof Dropzone){ dropzone.on("addedfile",handleDocumentAdded);