No. |
TOC |
GANG NAME |
CROP SEASON |
ALLOCATION DATE |
QTY ALLOCATED |
QTY FUFILLED |
VARIANCE |
ACTIVITY |
SHED |
@foreach ($gang_allocations as $gang_allocation)
@php
$allocated = $gang_allocation->quantity_allocated;
$fulfilled = $gang_allocation->quantity_fulfilled;
$variance = $allocated - $fulfilled;
@endphp
{{ $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 }} |
@endforeach
Showing {{ $gang_allocations->firstItem() }} to {{ $gang_allocations->lastItem() }}
of total {{ $gang_allocations->total() }} entries
{!! $gang_allocations->render() !!}