fixed #1868
This commit is contained in:
parent
b5bd5955af
commit
eb2407c693
@ -98,9 +98,7 @@ return [
|
|||||||
'route' => 'currencies.index'
|
'route' => 'currencies.index'
|
||||||
],
|
],
|
||||||
'document_id',
|
'document_id',
|
||||||
'contact_id' => [
|
'contact_id',
|
||||||
'route' => 'customers.index'
|
|
||||||
],
|
|
||||||
'description' => ['searchable' => true],
|
'description' => ['searchable' => true],
|
||||||
'payment_method',
|
'payment_method',
|
||||||
'reference',
|
'reference',
|
||||||
@ -182,9 +180,7 @@ return [
|
|||||||
'currency_code' => [
|
'currency_code' => [
|
||||||
'route' => 'currencies.index'
|
'route' => 'currencies.index'
|
||||||
],
|
],
|
||||||
'contact_id' => [
|
'contact_id',
|
||||||
'route' => 'vendors.index'
|
|
||||||
],
|
|
||||||
'contact_name' => ['searchable' => true],
|
'contact_name' => ['searchable' => true],
|
||||||
'contact_email' => ['searchable' => true],
|
'contact_email' => ['searchable' => true],
|
||||||
'contact_tax_number',
|
'contact_tax_number',
|
||||||
@ -197,7 +193,7 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
App\Models\Purchase\Bill::class => [
|
'App\Models\Purchase\Bill' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
'document_number' => ['searchable' => true],
|
'document_number' => ['searchable' => true],
|
||||||
'order_number' => ['searchable' => true],
|
'order_number' => ['searchable' => true],
|
||||||
@ -226,24 +222,32 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
App\Models\Purchase\Vendor::class => [
|
'App\Models\Purchase\Payment' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
'type',
|
'type',
|
||||||
'name' => ['searchable' => true],
|
'account_id' => [
|
||||||
'email' => ['searchable' => true],
|
'route' => 'accounts.index'
|
||||||
'tax_number' => ['searchable' => true],
|
],
|
||||||
'phone' => ['searchable' => true],
|
'paid_at' => ['date' => true],
|
||||||
'address' => ['searchable' => true],
|
'amount',
|
||||||
'website' => ['searchable' => true],
|
|
||||||
'currency_code' => [
|
'currency_code' => [
|
||||||
'route' => 'currencies.index'
|
'route' => 'currencies.index'
|
||||||
],
|
],
|
||||||
|
'document_id',
|
||||||
|
'contact_id' => [
|
||||||
|
'route' => 'vendors.index'
|
||||||
|
],
|
||||||
|
'description' => ['searchable' => true],
|
||||||
|
'payment_method',
|
||||||
'reference',
|
'reference',
|
||||||
'enabled' => ['boolean' => true],
|
'category_id' => [
|
||||||
|
'route' => ['categories.index', 'search=type:expense']
|
||||||
|
],
|
||||||
|
'parent_id',
|
||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
App\Models\Sale\Invoice::class => [
|
'App\Models\Sale\Invoice' => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
'document_number' => ['searchable' => true],
|
'document_number' => ['searchable' => true],
|
||||||
'order_number' => ['searchable' => true],
|
'order_number' => ['searchable' => true],
|
||||||
@ -272,6 +276,31 @@ return [
|
|||||||
],
|
],
|
||||||
],
|
],
|
||||||
|
|
||||||
|
'App\Models\Sale\Revenue' => [
|
||||||
|
'columns' => [
|
||||||
|
'type',
|
||||||
|
'account_id' => [
|
||||||
|
'route' => 'accounts.index'
|
||||||
|
],
|
||||||
|
'paid_at' => ['date' => true],
|
||||||
|
'amount',
|
||||||
|
'currency_code' => [
|
||||||
|
'route' => 'currencies.index'
|
||||||
|
],
|
||||||
|
'document_id',
|
||||||
|
'contact_id' => [
|
||||||
|
'route' => 'customers.index'
|
||||||
|
],
|
||||||
|
'description' => ['searchable' => true],
|
||||||
|
'payment_method',
|
||||||
|
'reference',
|
||||||
|
'category_id' => [
|
||||||
|
'route' => ['categories.index', 'search=type:income']
|
||||||
|
],
|
||||||
|
'parent_id',
|
||||||
|
],
|
||||||
|
],
|
||||||
|
|
||||||
App\Models\Setting\Category::class => [
|
App\Models\Setting\Category::class => [
|
||||||
'columns' => [
|
'columns' => [
|
||||||
'name' => ['searchable' => true],
|
'name' => ['searchable' => true],
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
'class' => 'mb-0'
|
'class' => 'mb-0'
|
||||||
]) !!}
|
]) !!}
|
||||||
<div class="align-items-center" v-if="!bulk_action.show">
|
<div class="align-items-center" v-if="!bulk_action.show">
|
||||||
<x-search-string model="App\Models\Banking\Transaction" />
|
<x-search-string model="App\Models\Purchase\Payment" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ Form::bulkActionRowGroup('general.payments', $bulk_actions, ['group' => 'purchases', 'type' => 'payments']) }}
|
{{ Form::bulkActionRowGroup('general.payments', $bulk_actions, ['group' => 'purchases', 'type' => 'payments']) }}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
'class' => 'mb-0'
|
'class' => 'mb-0'
|
||||||
]) !!}
|
]) !!}
|
||||||
<div class="align-items-center" v-if="!bulk_action.show">
|
<div class="align-items-center" v-if="!bulk_action.show">
|
||||||
<x-search-string model="App\Models\Purchase\Vendor" />
|
<x-search-string model="App\Models\Common\Contact" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ Form::bulkActionRowGroup('general.vendors', $bulk_actions, ['group' => 'purchases', 'type' => 'vendors']) }}
|
{{ Form::bulkActionRowGroup('general.vendors', $bulk_actions, ['group' => 'purchases', 'type' => 'vendors']) }}
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
'class' => 'mb-0'
|
'class' => 'mb-0'
|
||||||
]) !!}
|
]) !!}
|
||||||
<div class="align-items-center" v-if="!bulk_action.show">
|
<div class="align-items-center" v-if="!bulk_action.show">
|
||||||
<x-search-string model="App\Models\Banking\Transaction" />
|
<x-search-string model="App\Models\Sale\Revenue" />
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
{{ Form::bulkActionRowGroup('general.revenues', $bulk_actions, ['group' => 'sales', 'type' => 'revenues']) }}
|
{{ Form::bulkActionRowGroup('general.revenues', $bulk_actions, ['group' => 'sales', 'type' => 'revenues']) }}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user