@if($billcycle->active==1)
Back to Bill Cycle List
@else
Back to Bill Cycle List
@endif
Name: | {{$billcycle->name}} |
@if($billcycle->active==0)
{!! Form::open(['action' => ['BillCyclesController@activate', $billcycle->id], 'method'=>'GET']) !!}
{{Form::hidden('_method', 'ACTIVATE')}}
{{Form::button(' Activate ', array('class'=>'btn btn-success confirmActivate', 'type'=>'submit')) }}
{!! Form::close() !!}
|
@else
|
{!! Form::open(['action' => ['BillCyclesController@deactivate', $billcycle->id], 'method'=>'GET']) !!}
{{Form::hidden('_method', 'DEACTIVATE')}}
{{Form::button(' Deactivate ', array('class'=>'btn btn-danger confirmDeactivate', 'type'=>'submit')) }}
{!! Form::close() !!}
|
@endif