added limit to import
This commit is contained in:
@ -4,6 +4,7 @@ return [
|
||||
|
||||
'import' => 'Import',
|
||||
'title' => 'Import :type',
|
||||
'message' => 'Allowed file types: XLS, XLSX. Please, <a target="_blank" href=":link"><strong>download</strong></a> the sample file.',
|
||||
'limitations' => 'Allowed file types: :extensions<br>Allowed max rows: :row_limit',
|
||||
'sample_file' => 'You can <a target="_blank" href=":download_link"><strong>download</strong></a> the sample file and fill it with your data.',
|
||||
|
||||
];
|
||||
|
@ -8,9 +8,14 @@
|
||||
|
||||
<div class="card-body">
|
||||
<div class="row">
|
||||
<div class="col-md-12">
|
||||
<div class="alert alert-warning alert-important">
|
||||
{!! trans('import.limitations', ['extensions' => strtoupper(config('excel.imports.extensions')), 'row_limit' => config('excel.imports.row_limit')]) !!}
|
||||
</div>
|
||||
</div>
|
||||
<div class="col-md-12">
|
||||
<div class="alert alert-info alert-important">
|
||||
{!! trans('import.message', ['link' => $sample_file]) !!}
|
||||
{!! trans('import.sample_file', ['download_link' => $sample_file]) !!}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
Reference in New Issue
Block a user