Merge branch 'master' of https://github.com/brkcvn/akaunting into code-clean

This commit is contained in:
Burak Civan
2022-09-07 09:56:41 +03:00
76 changed files with 1024 additions and 705 deletions

View File

@@ -11,7 +11,7 @@
<x-slot name="buttons">
@can('create-settings-categories')
<x-link href="{{ route('categories.create') }}" kind="primary">
<x-link href="{{ route('categories.create') }}" kind="primary" id="index-more-actions-new-category">
{{ trans('general.title.new', ['type' => trans_choice('general.categories', 1)]) }}
</x-link>
@endcan
@@ -24,12 +24,12 @@
</x-slot>
@can('create-settings-categories')
<x-dropdown.link href="{{ route('import.create', ['settings', 'categories']) }}">
<x-dropdown.link href="{{ route('import.create', ['settings', 'categories']) }}" id="index-more-actions-import-category">
{{ trans('import.import') }}
</x-dropdown.link>
@endcan
<x-dropdown.link href="{{ route('categories.export', request()->input()) }}">
<x-dropdown.link href="{{ route('categories.export', request()->input()) }}" id="index-more-actions-export-category">
{{ trans('general.export') }}
</x-dropdown.link>
</x-dropdown>

View File

@@ -22,7 +22,7 @@
<x-form.group.select name="code" label="{{ trans('currencies.code') }}" :options="$codes" searchable change="onChangeCode" />
<x-form.group.text name="rate" label="{{ trans('currencies.rate') }}" @input="onChangeRate" />
<x-form.group.text name="rate" label="{{ trans('currencies.rate') }}" @input="onChangeRate" ::disabled="form.default_currency == 1" />
<x-form.group.select name="precision" label="{{ trans('currencies.precision') }}" :options="$precisions" model="form.precision" />

View File

@@ -16,7 +16,7 @@
<x-form.group.select name="code" label="{{ trans('currencies.code') }}" :options="$codes" searchable change="onChangeCode" />
<x-form.group.text name="rate" label="{{ trans('currencies.rate') }}" @input="onChangeRate" />
<x-form.group.text name="rate" label="{{ trans('currencies.rate') }}" @input="onChangeRate" ::disabled="form.default_currency == 1" />
<x-form.group.select name="precision" label="{{ trans('currencies.precision') }}" :options="$precisions" model="form.precision" />

View File

@@ -11,7 +11,7 @@
<x-slot name="buttons">
@can('create-settings-currencies')
<x-link href="{{ route('currencies.create') }}" kind="primary">
<x-link href="{{ route('currencies.create') }}" kind="primary" id="index-more-actions-new-currency">
{{ trans('general.title.new', ['type' => trans_choice('general.currencies', 1)]) }}
</x-link>
@endcan

View File

@@ -11,7 +11,7 @@
<x-slot name="buttons">
@can('create-settings-taxes')
<x-link href="{{ route('taxes.create') }}" kind="primary">
<x-link href="{{ route('taxes.create') }}" kind="primary" id="index-more-actions-new-tax">
{{ trans('general.title.new', ['type' => trans_choice('general.taxes', 1)]) }}
</x-link>
@endcan
@@ -24,12 +24,12 @@
</x-slot>
@can('create-settings-taxes')
<x-dropdown.link href="{{ route('import.create', ['settings', 'taxes']) }}">
<x-dropdown.link href="{{ route('import.create', ['settings', 'taxes']) }}" id="index-more-actions-import-tax">
{{ trans('import.import') }}
</x-dropdown.link>
@endcan
<x-dropdown.link href="{{ route('taxes.export', request()->input()) }}">
<x-dropdown.link href="{{ route('taxes.export', request()->input()) }}" id="index-more-actions-export-tax">
{{ trans('general.export') }}
</x-dropdown.link>
</x-dropdown>