diff --git a/app/views/accounts/create.blade.php b/app/views/accounts/create.blade.php index 6e3c7d2128..0a1c2912d9 100644 --- a/app/views/accounts/create.blade.php +++ b/app/views/accounts/create.blade.php @@ -4,98 +4,53 @@ {{Form::hidden('what',$what)}}
{{$errors->first('name')}}
- @else - @if($what == 'asset') - - Use something descriptive such as "checking account" or "My Bank Main Account". - - @endif - @if($what == 'expense') - - Use something descriptive such as "Albert Heijn" or "Amazon". - - @endif - @if($what == 'revenue') - - Use something descriptive such as "my mom" or "my job". - - @endif - @endif+ +
{{$errors->first('openingbalance')}}
- @else - What's the current balance of this new account? - @endif +{{$errors->first('openingbalancedate')}}
- @else - When was this the balance of the new account? Since your bank statements may lag behind, update this date to match the date of the last known balance of the account. - @endif + + + +- Remember that deleting something is permanent. -
-- Account "{{{$account->name}}}" still has {{$account->transactions()->count()}} transaction(s) associated to it. - These will be deleted as well. -
- @endif ++ Are you sure? +
-- Press "Delete permanently" If you are sure you want to delete "{{{$account->name}}}". -
+ @if($account->transactions()->count() > 0) ++ Account "{{{$account->name}}}" still has {{$account->transactions()->count()}} transaction(s) associated to it. + These will be deleted as well. +
+ @endif + ++ + Cancel +
+{{$errors->first('name')}}
- @else - Use something descriptive such as "checking account" or "Albert Heijn". - @endif - ++ +
{{$errors->first('openingbalance')}}
- @else - What's the current balance of this new account? +{{$errors->first('openingbalancedate')}}
- @else - When was this the balance of the new account? Since your bank statements may lag behind, update this date to match the date of the last known balance of the account. - @endif + + +- Accounts are the record holders for transactions and transfers. Money moves from one account to another. -
-- In a double-entry bookkeeping system almost everything is an account. Your own personal - bank accounts are representated as accounts (naturally), but the stores you buy stuff at are also - represented as accounts. Likewise, if you have a job, your salary is drawn from their account. -
- +Name | +balance | +ID | +
---|
- These are your personal accounts. -
+@stop +@section('scripts') +{{HTML::script('assets/javascript/datatables/jquery.dataTables.min.js')}} +{{HTML::script('assets/javascript/datatables/dataTables.bootstrap.js')}} + + +@stop - @include('accounts.list',['accounts' => $accounts['personal']]) - @endif - - @if(count($accounts['beneficiaries']) > 0) -- These are beneficiaries; places where you spend money or people who pay you. -
- @include('accounts.list',['accounts' => $accounts['beneficiaries']]) - @endif - -