contract admin panel - end contract

This commit is contained in:
2019-04-30 01:22:54 -05:00
parent 5b8575cea6
commit 08448a24bb
4 changed files with 9 additions and 11 deletions
@@ -27,13 +27,8 @@
Type: {{ $contract['type'] }}
</div>
<div class="col-sm" align="right">
<!-- Change the form below to just a hyperlink -->
{!! Form::open(['action' => 'ContractAdminController@deleteContract', 'method' => 'POST']) !!}
{{ Form::hidden('contract_id', $contract['contract_id']) }}
{{ Form::submit('Delete', ['class' => 'btn btn-danger']) }}
{!! Form::close() !!}
<!-- Add a hyperlink button for ending the contract -->
<a href="/contracts/admin/delete/{{ $contract['contract_id'] }}" class="btn btn-primary" role="button">Delete Contract</a>
<a href="/contracts/admin/end/{{ $contract['contract_id'] }}" class="btn btn-primary" role="button">End Contract</a>
</div>
</div>
</div>