contract admin panel - end contract
This commit is contained in:
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user