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

OPERATIONS MANAGEMENT SYSTEM

@php use Carbon\Carbon; @endphp
User Image
COCOA MARKETING COMPANY (GH) LIMITED
WAREHOUSING AND PORT OPERATIONS DEPARTMENT - {{ strtoupper(Auth::user()->port->name) }}
SUMMARY OF GANG JOB ACTIVITIES
 
ACTIVITY SHEET REF. GANG TOC SEASON ACTIVITY DATE
{{ $activity_summary->activity_summary_ref }} {{ $activity_summary->gang->gang_name }} {{ $activity_summary->port->name }} {{ $activity_summary->season->name }} {{ Carbon::parse($activity_summary->activity_date)->format('dS M Y') }}
@can('audit_toc.user', Auth::user()) @elsecan('audit_toc.supervisor') @elsecan('audit_toc.certifier') @endcan @foreach ($shed_gang_allocations as $shed_gang_allocation) @php $shed_gang_allocation->activity_id = $shed_gang_allocation->gang_allocation->activity->id; $shed_gang_allocation->save(); @endphp @can('audit_toc.user', Auth::user()) @elsecan('audit_toc.supervisor') @elsecan('audit_toc.certifier') @endcan @endforeach
No. Activity Shed Quantity Fulfilled (Bags) Activity Date LBC Factory Internal Waybill No. Internal Waybill Date Shed Waybill No. Shed Waybill Date Purity Date Purity Number Remarks Other Remarks StatusVetValidateCertify
{{ $loop->index + 1 }}. {{ $shed_gang_allocation->activity->activity_name }} {{ $shed_gang_allocation->shed->name }} {{ $shed_gang_allocation->quantity_fulfiled }} {{ Carbon::parse($shed_gang_allocation->gang_allocation->allocation_date)->format('dS M Y') }} {{ optional(optional($shed_gang_allocation->internal_waybill)->lbc)->name }} {{ optional(optional($shed_gang_allocation->shed_waybill)->consignee)->name }} {{ optional($shed_gang_allocation->internal_waybill)->internal_waybill_no }} {{ Carbon::parse(optional($shed_gang_allocation->internal_waybill)->internal_waybill_date)->format('dS M Y') }} {{ optional($shed_gang_allocation->shed_waybill)->waybill_no }} {{ optional($shed_gang_allocation->shed_waybill)->waybill_date }} {{ Carbon::parse(optional($shed_gang_allocation->internal_waybill)->purity_date)->format('dS M Y') }} {{ optional($shed_gang_allocation->internal_waybill)->purity_number }} {{ strtoupper($shed_gang_allocation->remarks) }} {{ strtoupper($shed_gang_allocation->other_remarks) }} @can('audit_toc.user', Auth::user()) @if (!is_null($shed_gang_allocation->vet_status)) vetted @endif @elsecan('audit_toc.supervisor') @if (!is_null($shed_gang_allocation->vet_status)) validated @endif @elsecan('audit_toc.certifier') @if (!is_null($shed_gang_allocation->vet_status)) certified @endif @endcan VETVALIDATECERTIFY
TOTAL BAGS {{ $shed_gang_allocations->sum('quantity_fulfiled') }}
@endsection @section('more-scripts') @endsection