Skip to content

Commit

Permalink
added form input import text
Browse files Browse the repository at this point in the history
  • Loading branch information
CihanSenturk committed Dec 6, 2023
1 parent 0b857a4 commit 6b0336c
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion resources/views/components/form/input/import.blade.php
@@ -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'] }}"
Expand Down

0 comments on commit 6b0336c

Please sign in to comment.