New account types for new layout (yep).

This commit is contained in:
James Cole 2014-09-11 10:12:30 +02:00
parent b2adeb20d9
commit 9edb9b91b2
2 changed files with 17 additions and 8 deletions

View File

@ -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]
);
}

View File

@ -52,13 +52,13 @@
<a href="#"><i class="fa fa-credit-card fa-fw"></i> Accounts<span class="fa arrow"></span></a>
<ul class="nav nav-second-level">
<li>
<a href="{{route('accounts.index')}}"><i class="fa fa-money fa-fw"></i> Asset accounts</a>
<a href="{{route('accounts.asset')}}"><i class="fa fa-money fa-fw"></i> Asset accounts</a>
</li>
<li>
<a href="{{route('accounts.index')}}"><i class="fa fa-shopping-cart fa-fw"></i> Expense accounts</a>
<a href="{{route('accounts.expense')}}"><i class="fa fa-shopping-cart fa-fw"></i> Expense accounts</a>
</li>
<li>
<a href="{{route('accounts.index')}}"><i class="fa fa-download fa-fw"></i> Revenue accounts</a>
<a href="{{route('accounts.revenue')}}"><i class="fa fa-download fa-fw"></i> Revenue accounts</a>
</li>
</ul>
<!-- /.nav-second-level -->