@if (!count($library))
No | @lang("content.name") | @lang("content.abbr") | @lang("content.read_and_sign") | @lang("content.folder") | @lang("content.type") | @lang("content.issue_date") | @lang("content.effective_date") | @lang("content.edition_no") | @lang("content.uploaded") | @lang("content.updated") | @lang("content.attachment") | @lang("content.actions") | |||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Notified at | {{--Location | --}} {{--Department | --}} {{--Position | --}}Views | @lang("content.datetime") | @lang("content.user") | @lang("content.datetime") | @lang("content.user") | |||||||||||
{{ $i + 1 }} | {{ $each->name }} | {{ $each->abbr }} | {{ $each->read_and_sign_notified_at }} | {{--{{ $each->toLocation ? getLocationAirport($each->toLocation) : "" }} | --}} {{--{{ $each->toDepartment ? $each->toDepartment->name : "" }} | --}} {{--{{ $each->toPosition ? $each->toPosition->name : "" }} | --}}id}" }}"> List | {{ $each->folder ? $each->folder->name : "-" }} | {{--{{ $each->category }} | --}}{{ $each->type }} | {{ $each->issue_date && $each->issue_date != EMPTY_DATE ? date("Y-m-d", strtotime($each->issue_date)) : "" }} | {{ $each->effective_date && $each->effective_date != EMPTY_DATE ? date("Y-m-d", strtotime($each->effective_date)) : "" }} | {{ $each->edition_no }} | {{ date("Y-m-d", strtotime($each->created_at)) }} | {{ getUserName($each->createdBy) }} | {{ $each->updated_at && $each->issue_date != EMPTY_DATETIME ? date("Y-m-d", strtotime($each->updated_at)) : "" }} {!! $each->deleted_at ? ''.trans("content.removed").'' : "" !!} | {{ getUserName($each->updatedBy) }} |
@if ($fileExists)
id}") }}?view=1" class="btn btn-warning">@lang("content.view")
id}") }}?download=1" class="btn btn-primary">@lang("content.download")
id}") }}" class="btn btn-danger">@lang("content.remove")
@elseif (!$each->deleted_at)
{!! Form::open(['files' => true, 'method' => 'POST', "class" => "library-forms", 'url' => url("airline-library/file/{$each->id}")]) !!}
{!! Form::file('file') !!}
{!! Form::submit( trans("content.upload"), ['class' => 'btn btn-success margin-top-5', 'name' => 'upload']) !!}
@if ($fileCorrupted)
(Not found)
@endif
{!! Form::close() !!}
@endif
|
@if (!$each->deleted_at) @endif |