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

OPERATIONS MANAGEMENT SYSTEM

COCOA DELIVERIES BY LBC - CATEGORY BASIS
{{strtoupper(App\Model\port::find($user_port_id)->name)}} TOC

{{csrf_field()}} {{method_field('POST')}}




@foreach ($categorys as $category) @endforeach @foreach ($lbcs as $lbc) @foreach ($categorys as $category) @endforeach @endforeach
LBC{{$category->name}}TOTAL
{{$lbc->name}} {{App\Model\category::find($category->id)->internal_waybills()->where('port_id', $user_port_id)->where('purity_category_id',$category->id)->where('lbc_id',$lbc->id)->sum('purity_no_of_bags_ok')/16}} {{App\Model\internal_waybill::where('lbc_id',$lbc->id)->where('port_id', $user_port_id)->sum('purity_no_of_bags_ok')/16}}
@endsection @section('more-scripts') @endsection