No | @lang("content.status") | @lang("content.leave_type") | @lang("content.days") | @lang("content.from") | @lang("content.to") | @lang("content.document") | @lang("content.reason") | @lang("content.notes") | @lang("content.last_updated") | @lang("content.applied_date") | @lang("content.actions") | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
{{ $i + 1 }} | {!! $span !!} | {{ $each->leave->name }} | {{ $each->days ? $each->days : 1 }} | {{ baseDateFormat($each->date_from) }} | {{ baseDateFormat($each->date_to) }} | @if ($each->doc1) id}") }}">Document @endif | {{ $each->reasons }} | {!! $each->notes !!} | {{ baseDateFormat($each->updated_at, true) }} | {{ baseDateFormat($each->created_at, true) }} |
@if(showEmployeeActionForm($client, $each))
@if (strtotime($each->date_to) > strtotime(date("Y-m-d")))
{!! Form::open(['class' => 'form-inline', 'method' => 'POST', 'url' => url("user/leave-employee-actions")]) !!}
{!! Form::hidden('leave_request_id', $each->id) !!}
{!! Form::hidden('cancel', 1) !!}
{!! Form::submit(trans("content.cancel"), ['class' => 'btn btn-danger btn-sm']) !!}
{!! Form::close() !!}
@endif
@if ($each->status && $each->status->status == APPLICATION_STATUS_CHANGE)
{!! Form::open(['class' => 'form-inline', 'method' => 'POST', 'url' => url("user/leave-employee-actions")]) !!}
{!! Form::hidden('leave_request_id', $each->id) !!}
{!! Form::hidden('change', 1) !!}
{!! Form::button(trans("content.modify"), ['class' => 'btn btn-warning modify btn-sm']) !!}
{!! Form::close() !!}
@endif
@endif
|
|||||||||||||
|