@extends('layouts.view') @section('title',trans('lang.ncrs')) @section('content')

{{trans('lang.ncrs')}}

@if ($message = Session::get('success'))

{{ $message }}

@endif

{{trans('lang.ncrs')}}

@csrf

@can('NCR-create') {{trans('lang.addncr')}} @endcan

@canany(['NCR-edit','NCR-delete']) @endcanany @foreach ($NCRS as $Shipment) @canany(['NCR-edit','NCR-delete']) @endcanany @endforeach
{{trans('lang.id')}} {{trans('lang.Ref')}} {{trans('lang.SQ')}} {{trans('lang.Health')}} {{trans('lang.Safety')}} {{trans('lang.Environment')}} {{trans('lang.Complaint')}} {{trans('lang.branchname')}} {{trans('lang.dept_name')}} {{trans('lang.the_date')}} {{trans('lang.Non_Conformance_Description')}} {{trans('lang.Initiator')}} {{trans('lang.NCR_Risk')}} {{trans('lang.Investigator')}} {{trans('lang.Result_of_investigation')}} {{trans('lang.Correction_Applied_By')}} {{trans('lang.Corrective_Action_Preventive_Action')}} {{trans('lang.QHSE_Manager')}} {{trans('lang.Follow_Up_Verification_and_Close_Out')}} {{trans('lang.rigname')}} {{trans('lang.Job_ID')}} {{trans('lang.Status')}}{{trans('role.action')}}
{{ $Shipment->id}} {{ $Shipment->ref}} No No No No Internal {{ isset($Shipment->branch)?$Shipment->branch->name: 'None'}} {{ isset($Shipment->department)?$Shipment->department->name: 'None'}} {{ $Shipment->created_at}} {{ $Shipment->non_conformance_description}} {{ isset($Shipment->initiator)?$Shipment->initiator->name: 'None'}} {{ $Shipment->risk}} {{ isset($Shipment->investigator)?$Shipment->investigator->name: 'None'}} {{ $Shipment->result_of_investigation}} {{ isset($Shipment->correcter)?$Shipment->correcter->name: 'None'}} {{ $Shipment->corrective_preventive_action}} {{ isset($Shipment->qhseManager)?$Shipment->qhseManager->name: 'None'}} {{ $Shipment->close_out}} {{ isset($Shipment->rig)?$Shipment->rig->name: 'None'}} {{ $Shipment->job_id}} {{ $Shipment->GetStatusName()}} @can('NCR-edit') {{trans('lang.edit')}} @endcan @can('NCR-delete') {{trans('lang.delete')}} @endcan {{trans('lang.show')}}
@endsection