A free open source IT asset/license management system
We accept xlsx in uploads
Daniel Meltzer7a76cb08a031
diff --git a/resources/lang/en/general.php b/resources/lang/en/general.phpindex 0399a53dab..c4abc19793 100644--- a/resources/lang/en/general.php+++ b/resources/lang/en/general.php@@ -211,7 +211,7 @@'unknown_admin' => 'Unknown Admin','username_format' => 'Username Format','update' => 'Update',- 'upload_filetypes_help' => 'Allowed filetypes are png, gif, jpg, jpeg, doc, docx, pdf, xls, txt, lic, xml, zip, rtf and rar. Max upload size allowed is :size.',+ 'upload_filetypes_help' => 'Allowed filetypes are png, gif, jpg, jpeg, doc, docx, pdf, xls, xlsx, txt, lic, xml, zip, rtf and rar. Max upload size allowed is :size.','uploaded' => 'Uploaded','user' => 'User','accepted' => 'accepted',diff --git a/resources/views/modals/upload-file.blade.php b/resources/views/modals/upload-file.blade.phpindex 8d85646525..a5ee373cbb 100644--- a/resources/views/modals/upload-file.blade.php+++ b/resources/views/modals/upload-file.blade.php@@ -19,7 +19,7 @@<label class="btn btn-default">{{ trans('button.select_file') }}- <input type="file" name="file[]" multiple="true" class="js-uploadFile" id="uploadFile" data-maxsize="{{ \App\Helpers\Helper::file_upload_max_size() }}" accept="image/*,.csv,.zip,.rar,.doc,.docx,.xls,.xml,.lic,.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel,text/plain,.pdf,application/rtf" style="display:none">+ <input type="file" name="file[]" multiple="true" class="js-uploadFile" id="uploadFile" data-maxsize="{{ \App\Helpers\Helper::file_upload_max_size() }}" accept="image/*,.csv,.zip,.rar,.doc,.docx,.xls,.xlsx,.xml,.lic,.xlsx,application/vnd.openxmlformats-officedocument.spreadsheetml.sheet,application/vnd.ms-excel,text/plain,.pdf,application/rtf" style="display:none"></label></div>