From 9edb9b91b2e4613a95b96ce85d0218fc6b2dd67d Mon Sep 17 00:00:00 2001 From: James Cole Date: Thu, 11 Sep 2014 10:12:30 +0200 Subject: [PATCH] New account types for new layout (yep). --- app/database/seeds/AccountTypeSeeder.php | 19 ++++++++++++++----- app/views/partials/menu.blade.php | 6 +++--- 2 files changed, 17 insertions(+), 8 deletions(-) diff --git a/app/database/seeds/AccountTypeSeeder.php b/app/database/seeds/AccountTypeSeeder.php index caffa1903e..50f2d7f101 100644 --- a/app/database/seeds/AccountTypeSeeder.php +++ b/app/database/seeds/AccountTypeSeeder.php @@ -11,20 +11,29 @@ class AccountTypeSeeder extends Seeder DB::table('account_types')->delete(); AccountType::create( - ['type' => 'Default account', 'editable' => true] + ['type' => 'Default account', 'editable' => true] ); AccountType::create( - ['type' => 'Cash account', 'editable' => false] + ['type' => 'Cash account', 'editable' => false] ); AccountType::create( - ['type' => 'Initial balance account', 'editable' => false] + ['type' => 'Asset account', 'editable' => true] ); AccountType::create( - ['type' => 'Beneficiary account', 'editable' => true] + ['type' => 'Expense account', 'editable' => true] + ); + AccountType::create( + ['type' => 'Revenue account', 'editable' => true] + ); + AccountType::create( + ['type' => 'Initial balance account', 'editable' => false] + ); + AccountType::create( + ['type' => 'Beneficiary account', 'editable' => true] ); AccountType::create( - ['type' => 'Import account', 'editable' => false] + ['type' => 'Import account', 'editable' => false] ); } diff --git a/app/views/partials/menu.blade.php b/app/views/partials/menu.blade.php index fc97fd35f7..01fafdaef5 100644 --- a/app/views/partials/menu.blade.php +++ b/app/views/partials/menu.blade.php @@ -52,13 +52,13 @@ Accounts