# |
Created at |
Action |
@foreach($dealsTerms as $key => $terms)
{{ $terms->id }} |
{{ $terms->formattedDate }} |
{{ Form::open(['url' => 'deals/terms/delete/', 'class' => 'pull-right']) }}
{{ Form::hidden('_method', 'DELETE') }}
{{ Form::hidden('termId', $terms->id) }}
{{ Form::submit('Delete', ['class' => 'btn btn-small btn-danger btn-padding']) }}
{{ Form::close() }}
{{ Form::open(['url' => 'deals/terms/generate-pdf/', 'class' => 'pull-right']) }}
{{ Form::hidden('_method', 'POST') }}
{{ Form::hidden('termId', $terms->id) }}
{{ Form::hidden('dealId', $deal->id) }}
{{ Form::submit('Generate PDF', ['class' => 'btn btn-small btn-padding btn-pdf']) }}
{{ Form::close() }}
|
@endforeach
{{ Form::open(['route' => 'processStoreDealTerms']) }}
{!! Form::textarea('body', 'Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor
incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure
dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur.
Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt
mollit anim id est laborum.', ['class' => 'form-control', 'id' => 'summary-ckeditor']) !!}
{{ Form::hidden('dealId', $deal->id) }}
{{ Form::submit('Save terms of argeement', ['class' => 'btn btn-primary']) }}
{{ Form::close() }}