@extends('admin.layout.app') @section('more-head') @endsection @section('main-content')

OPERATIONS MANAGEMENT SYSTEM

REJECTED WAYBILLS


@foreach ($internal_waybills as $internal_waybill) @php $nwbs = App\Model\internal_waybill::where('ref_int_waybill_id', $internal_waybill->id)->get(); @endphp @if ($nwbs->sum('purity_no_of_bags_ok') != $internal_waybill->purity_no_of_bags_ok) @endif @endforeach
No. Waybill Date Waybill Number LBC Season Station District Region BUSH QTY PORT QTY REJECT. Fulfilled CAT GRADE SHED COCOA TYPE SPECIALTY CLIENT
{{ $count++ }}. {{ \Carbon\Carbon::parse($internal_waybill->internal_waybill_date)->format('d M y') }} {{ $internal_waybill->internal_waybill_no }} {{ strtoupper(optional($internal_waybill->lbc)->name) }} {{ strtoupper(optional(App\Model\season::find($internal_waybill->bush_delivery->season_id))->name) }} {{ strtoupper(optional(App\Model\station::find($internal_waybill->audited_station_id))->station_name) }} {{ strtoupper(App\Model\district::find($internal_waybill->district_id)->district_name) }} {{ strtoupper(App\Model\district::find($internal_waybill->district_id)->region->name) }} {{ $internal_waybill->internal_no_of_bags }} {{ $internal_waybill->purity_no_of_bags_ok }} {{ $internal_waybill->rejections }} {{ $nwbs->sum('purity_no_of_bags_ok') }} {{ optional(App\Model\category::find($internal_waybill->purity_category_id))->name }} {{ $internal_waybill->purity_grade }} {{ $internal_waybill->shed->name }} {{ $internal_waybill->cocoa_type->type_name }} {{ $internal_waybill->specialty_type }} {{ strtoupper($internal_waybill->client_name) }}
No. Waybill Date Waybill Number LBC Season Station District Region BUSH QTY PORT QTY REJECT. Fulfilled CAT GRADE SHED COCOA TYPE SPECIALTY CLIENT
Showing {{ $internal_waybills->firstItem() }} to {{ $internal_waybills->lastItem() }} of total {{ $internal_waybills->total() }} entries {{ $internal_waybills->links() }}
@endsection @section('more-scripts') {{-- --}} @endsection