mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
fix: accounts types with new design.
This commit is contained in:
@@ -10,6 +10,9 @@ exports.up = function(knex) {
|
||||
table.integer('account_id').unsigned().index().references('id').inTable('accounts');
|
||||
table.string('contact_type').nullable().index();
|
||||
table.integer('contact_id').unsigned().nullable().index();
|
||||
table.string('transaction_number').nullable().index();
|
||||
table.string('reference_number').nullable().index();
|
||||
table.integer('item_id').unsigned().nullable().index();
|
||||
table.string('note');
|
||||
table.integer('user_id').unsigned().index();
|
||||
table.integer('index').unsigned();
|
||||
|
||||
@@ -118,8 +118,8 @@ export default [
|
||||
predefined: 0,
|
||||
},
|
||||
{
|
||||
name:'Opening Balance Adjustments',
|
||||
slug: 'opening-balance-adjustments',
|
||||
name:'Opening Balance Liabilities',
|
||||
slug: 'opening-balance-liabilities',
|
||||
account_type: 'other-current-liability',
|
||||
code: '20004',
|
||||
description:'This account will hold the difference in the debits and credits entered during the opening balance..',
|
||||
@@ -193,9 +193,9 @@ export default [
|
||||
|
||||
// Expenses
|
||||
{
|
||||
name:'Uncategorized Expenses',
|
||||
slug: 'uncategorized-expense',
|
||||
account_type: 'expense',
|
||||
name:'Other Expenses',
|
||||
slug: 'other-expenses',
|
||||
account_type: 'other-expense',
|
||||
parent_account_id: null,
|
||||
code: '40001',
|
||||
description: '',
|
||||
|
||||
Reference in New Issue
Block a user