@extends('admin.layout.app') @section('more-head') @endsection @section('main-content') OPERATIONS MANAGEMENT SYSTEM ADD SHED GANG ACTIVITY {{-- Back to Transactions --}} @include('includes.messages') {{ csrf_field() }} @if (Session::has('msg')) {{ Session::get('msg') }} @endif Date of Operation Select Activity / Gang Select Activity / Gang. @foreach ($gang_allocations as $gang_allocation) {{ $gang_allocation->activity->activity_name }} / {{ $gang_allocation->gang->gang_name }} @endforeach {{-- @php $purity_no_of_bags_ok = $internal_waybill->purity_no_of_bags_ok; $total_fulfiled = $internal_waybill->shed_gang_allocations->sum('quantity_fulfiled'); $bags_remaining = $purity_no_of_bags_ok - $total_fulfiled; @endphp --}} Quantity ( Bags remaining: ) {{-- --}} {{-- Season: Select Season: @foreach ($seasons as $season) {{ $season->name }} @endforeach --}} Remarks: N/A Truck did not show up In-line material machine faulty Natural Occurence Other Remarks: Submit GANG ACTIVITY DATE ALLOCATED BAGS ALLOCATED BAGS FULFILLED REMARKS OTHER REMARKS SEASON EDIT DELETE @foreach ($shed_gang_allocations as $shed_gang_allocation) {{ $shed_gang_allocation->gang->gang_name }} {{ $shed_gang_allocation->gang_allocation->activity->activity_name }} {{ Carbon\Carbon::parse($shed_gang_allocation->gang_allocation->allocation_date)->format('dS M Y') }} {{ $shed_gang_allocation->gang_allocation->quantity_allocated * 16 }} {{ $shed_gang_allocation->quantity_fulfiled }} {{ $shed_gang_allocation->remarks }} {{ $shed_gang_allocation->other_remarks }} {{ App\Model\season::find($shed_gang_allocation->season_id)->name }} cost_sheet_id != null) onclick="event.preventDefault()";oncontextmenu=”return false”; disabled @endif> EDIT {{ csrf_field() }} {{ method_field('DELETE') }}DELETE @endforeach @endsection @section('more-scripts') @endsection