Updated type defined for Transaction split feature..

This commit is contained in:
Cüneyt Şentürk 2022-10-25 13:43:07 +03:00
parent 799fc642c2
commit f2818ea0b1

View File

@ -346,6 +346,31 @@ return [
], ],
], ],
Transaction::INCOME_SPLIT_TYPE => [
'group' => 'banking',
'route' => [
'prefix' => 'transactions', // core use with group + prefix, module ex. estimates
'parameter' => 'transaction', // banking/transactions/{parameter}/edit
//'create' => 'transactions.create', // if you change route, you can write full path
],
'permission' => [
'prefix' => 'transactions',
//'create' => 'create-banking-transactions',
],
'translation' => [
'prefix' => 'transactions', // this translation file name.
'related_document_amount' => 'invoices.invoice_amount',
'transactions' => 'general.incomes',
],
'contact_type' => 'customer',
'document_type' => 'invoice',
'email_template' => 'payment_received_customer',
'script' => [
'folder' => 'banking',
'file' => 'transactions',
],
],
Transaction::INCOME_RECURRING_TYPE => [ Transaction::INCOME_RECURRING_TYPE => [
'group' => 'banking', 'group' => 'banking',
'route' => [ 'route' => [
@ -424,6 +449,30 @@ return [
], ],
], ],
Transaction::EXPENSE_SPLIT_TYPE => [
'group' => 'banking',
'route' => [
'prefix' => 'transactions', // core use with group + prefix, module ex. estimates
'parameter' => 'transaction', // banking/transactions/{parameter}/edit
//'create' => 'transactions.create', // if you change route, you can write full path
],
'permission' => [
'prefix' => 'transactions',
//'create' => 'create-banking-transactions',
],
'translation' => [
'prefix' => 'transactions', // this translation file name.
'related_document_amount' => 'bills.bill_amount',
],
'contact_type' => 'vendor',
'document_type' => 'bill',
'email_template' => 'payment_made_vendor',
'script' => [
'folder' => 'banking',
'file' => 'transactions',
],
],
Transaction::EXPENSE_RECURRING_TYPE => [ Transaction::EXPENSE_RECURRING_TYPE => [
'group' => 'banking', 'group' => 'banking',
'route' => [ 'route' => [