@extends('admin.layout.app') @section('more-head') @endsection @section('main-content') OPERATIONS MANAGEMENT SYSTEM GANG ALLOCATION REPORT {{-- Back to Transactions --}} @php $user = Auth::user(); @endphp @include('includes.messages') {{ csrf_field() }} Date of Allocation @if ($user->shed_id != null or $user->shed_id != 0) Shed Select Shed {{ App\Model\shed::find($user->shed_id)->name }} @else Shed Select Shed All @foreach ($sheds as $shed) {{ $shed->name }} @endforeach @endif gang: Select gang: All @foreach ($gangs as $gang) {{ $gang->gang_name }} @endforeach Submit {{-- @if ($user->shed_id == null or $user->shed_id == 0) GANG ACTIVITY DATE ALLOCATED TONNAGE ALLOCATED TONNAGE FULFILLED SHED Edit @foreach ($gang_allocations as $gang_allocation) {{ $gang_allocation->gang->gang_name }} {{ $gang_allocation->activity->activity_name }} {{ Carbon\Carbon::parse($gang_allocation->allocation_date)->format('dS M Y') }} {{ $gang_allocation->quantity_allocated }} {{ $gang_allocation->shed_gang_allocations->sum('quantity_fulfiled') / 16 }} {{ App\Model\shed::find($gang_allocation->shed_id)->name }} cost_sheet_id != null) onclick="event.preventDefault()";oncontextmenu=”return false”; disabled @endif disabled onclick="event.preventDefault()"> EDIT @endforeach @endif --}} @endsection @section('more-scripts') @endsection