mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 04:40:32 +00:00
- feat: Update react-query package to V 2.1.1.
- feat: Favicon setup. - feat: Fix accounts inactivate/activate 1 account. - feat: Seed accounts, expenses and manual journals resource fields. - feat: Validate make journal receivable/payable without contact. - feat: Validate make journal contact without receivable or payable. - feat: More components abstractions. - feat: Use reselect.js to memorize components properties. - fix: Journal type of manual journal. - fix: Sidebar style optimization. - fix: Data-table check-box style optimization. - fix: Data-table spinner style dimensions. - fix: Submit journal with contact_id and contact_type.
This commit is contained in:
@@ -3,17 +3,29 @@
|
||||
export default {
|
||||
// Expenses.
|
||||
'expenses': {
|
||||
'expense_account': {
|
||||
column: ' ',
|
||||
relation: 'accounts.name',
|
||||
payment_date: {
|
||||
column: 'payment_date',
|
||||
},
|
||||
'payment_account': {
|
||||
payment_account: {
|
||||
column: 'payment_account_id',
|
||||
relation: 'accounts.id',
|
||||
},
|
||||
'account_type': {
|
||||
column: 'account_type_id',
|
||||
relation: 'account_types.id',
|
||||
total_amount: {
|
||||
column: 'total_amount',
|
||||
},
|
||||
reference_no: {
|
||||
column: 'reference_no'
|
||||
},
|
||||
description: {
|
||||
column: 'description',
|
||||
},
|
||||
published: {
|
||||
column: 'published',
|
||||
},
|
||||
user: {
|
||||
column: 'user_id',
|
||||
relation: 'users.id',
|
||||
relationColumn: 'users.id',
|
||||
},
|
||||
},
|
||||
|
||||
@@ -43,8 +55,18 @@ export default {
|
||||
columnType: 'date',
|
||||
},
|
||||
active: {
|
||||
column: 'active',
|
||||
|
||||
column: 'active',
|
||||
},
|
||||
balance: {
|
||||
column: 'balance',
|
||||
},
|
||||
currency: {
|
||||
column: 'currency_code',
|
||||
},
|
||||
normal: {
|
||||
column: 'account_type_id',
|
||||
relation: 'account_types.id',
|
||||
relationColumn: 'account_types.normal'
|
||||
},
|
||||
},
|
||||
|
||||
@@ -59,24 +81,35 @@ export default {
|
||||
},
|
||||
|
||||
// Manual Journals
|
||||
'manual_journals': {
|
||||
'type': {
|
||||
column: 'transaction_type',
|
||||
},
|
||||
'status': {
|
||||
column: 'status',
|
||||
},
|
||||
'date': {
|
||||
manual_journals: {
|
||||
date: {
|
||||
column: 'date',
|
||||
},
|
||||
'journal_number': {
|
||||
created_at: {
|
||||
column: 'created_at',
|
||||
},
|
||||
journal_number: {
|
||||
column: 'journal_number',
|
||||
},
|
||||
'amount': {
|
||||
reference: {
|
||||
column: 'reference',
|
||||
},
|
||||
status: {
|
||||
column: 'status',
|
||||
},
|
||||
amount: {
|
||||
column: 'amount',
|
||||
},
|
||||
'created_at': {
|
||||
column: 'created_at',
|
||||
description: {
|
||||
column: 'description',
|
||||
},
|
||||
user: {
|
||||
column: 'user_id',
|
||||
relation: 'users.id',
|
||||
relationColumn: 'users.id',
|
||||
},
|
||||
journal_type: {
|
||||
column: 'journal_type',
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user