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

OPERATIONS MANAGEMENT SYSTEM

@foreach ($gang_allocations as $gang_allocation) @php $allocated = $gang_allocation->quantity_allocated; $fulfilled = $gang_allocation->quantity_fulfilled; $variance = $allocated - $fulfilled; @endphp @endforeach
No. TOC GANG NAME CROP SEASON ALLOCATION DATE QTY ALLOCATED QTY FUFILLED VARIANCE ACTIVITY SHED
{{ $count++ }}. {{ $gang_allocation->port->name }} {{ $gang_allocation->gang->gang_name }} {{ $gang_allocation->season->name }} {{ $gang_allocation->allocation_date }} {{ $gang_allocation->quantity_allocated }} {{ $gang_allocation->quantity_fulfilled ? $gang_allocation->quantity_fulfilled : 0 }} {{ $variance }} {{ $gang_allocation->activity->activity_name }} {{ $gang_allocation->shed->name }}
Showing {{ $gang_allocations->firstItem() }} to {{ $gang_allocations->lastItem() }} of total {{ $gang_allocations->total() }} entries {!! $gang_allocations->render() !!}
@endsection @section('more-scripts') @endsection