@role('company')
| {{ !empty($promotion->employee()) ? $promotion->employee()->name : '' }} |
@endrole
{{ !empty($promotion->designation()) ? $promotion->designation()->name : '' }}
|
{{ $promotion->promotion_title }} |
{{ \Auth::user()->dateFormat($promotion->promotion_date) }} |
{{ $promotion->description }} |
@if (Gate::check('Edit Promotion') || Gate::check('Delete Promotion'))
@can('Edit Promotion')
@endcan
@can('Delete Promotion')
{!! Form::open(['method' => 'DELETE', 'route' => ['promotion.destroy', $promotion->id], 'id' => 'delete-form-' . $promotion->id]) !!}
@endcan
@endif
|
@endforeach