mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 23:41:10 +00:00
Final updates for account controller. Looks like this one is finished. [skip ci]
This commit is contained in:
@@ -11,13 +11,11 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{Form::open(['class' => 'form-horizontal','url' => route('accounts.destroy')])}}
|
||||
{{Form::hidden('id',$account->id)}}
|
||||
{{Form::open(['class' => 'form-horizontal','url' => route('accounts.destroy',$account->id)])}}
|
||||
<div class="row">
|
||||
<div class="col-lg-12 col-md-12 col-sm-12">
|
||||
@if($account->transactions()->count() > 0)
|
||||
<p class="text-info">
|
||||
|
||||
Account "{{{$account->name}}}" still has {{$account->transactions()->count()}} transaction(s) associated to it.
|
||||
These will be deleted as well.
|
||||
</p>
|
||||
|
||||
@@ -12,8 +12,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{{Form::model($account, ['class' => 'form-horizontal','url' => route('accounts.update')])}}
|
||||
{{Form::hidden('id',$account->id)}}
|
||||
{{Form::model($account, ['class' => 'form-horizontal','url' => route('accounts.update',$account->id)])}}
|
||||
<div class="row">
|
||||
<div class="col-lg-6 col-md-6 col-sm-12">
|
||||
<h4>Mandatory fields</h4>
|
||||
|
||||
Reference in New Issue
Block a user