@extends('front.master') @section('title','Files') @section('content')
@if(Session::has('flash_message_success'))
{!! session('flash_message_success') !!}
@endif @if(Session::has('flash_message_danger'))
{!! session('flash_message_danger') !!}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif @if(Auth::user()-> role == 1)

{!! csrf_field() !!}
{{$errors->first('file_number')}}
{{$errors->first('invoice_number')}}
{{$errors->first('bill_of_lading')}}
{{$errors->first('mf')}}
{{$errors->first('date_allocated')}}
{{$errors->first('commodity')}}
{{$errors->first('twenty_ft')}}
{{$errors->first('fourty_ft')}}
{{$errors->first('other_size')}}
{{$errors->first('staff_assigned')}}
{{$errors->first('shipping_line')}}
{{$errors->first('terminal')}}


@foreach($files as $file) @endforeach
S/N File Number Bill Lading Form M Allocation Date Commodity Job Type 20FT 40FT Other Size Assigned Staff Shipping Line Terminal Action
{{$n++}} {{ $file->file_number }} {{ $file->bill_of_lading }} {{ $file->mf }} {{ $file->date_allocated }} {{ $file->commodity }} @if($file->job_type == 1) Fast-Track @endif @if($file->job_type == 0) Customs Examination @endif {{ $file->twenty_ft }} {{ $file->fourty_ft }} {{ $file->other_size }} {{ $file->staff_assigned }} {{ $file->shipping_line }} {{ $file->terminal }}
@endif
@endsection