added form input import text

This commit is contained in:
Cihan Şentürk 2023-12-06 11:12:16 +03:00 committed by GitHub
parent 0b857a4774
commit 6b0336c70f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 6 additions and 1 deletions

View File

@ -1,10 +1,15 @@
<akaunting-import
text-drop-file="{{ trans('import.drop_file') }}"
text-choose-file="{{ trans('general.form.choose_file') }}"
@if (! empty($attributes['textExtensionAndLimitationFile']))
text-extension-and-limitation-file="{{ $attributes['textExtensionAndLimitationFile'] }}"
@else
text-extension-and-limitation-file="{!! trans('import.file_type_and_limitations', [
'extensions' => strtoupper(config('excel.imports.extensions')),
'row_limit' => config('excel.imports.row_limit')
]) !!}"
text-choose-file="{{ trans('general.form.choose_file') }}"
@endif
@if (! empty($attributes['dropzone-class']))
class="{{ $attributes['dropzone-class'] }}"