@extends('admin.layout.app') @section('more-head') @endsection @section('main-content') OPERATIONS MANAGEMENT SYSTEM EDIT GANG ACTIVITY TO INTERNAL WAYBILL no: ({{ $shed_gang_allocation->internal_waybill->internal_waybill_no }}) {{-- Back to Transactions --}} @include('includes.messages') {{ csrf_field() }} @method('PUT') Select Activity / Gang Select Activity / Gang. @foreach ($gang_allocations as $gang_allocation) gang_allocation_id == $gang_allocation->id) selected @endif> {{ $gang_allocation->activity->activity_name }} / {{ $gang_allocation->gang->gang_name }} @endforeach @php $purity_no_of_bags_ok = $shed_gang_allocation->internal_waybill->purity_no_of_bags_ok; $total_fulfiled = $shed_gang_allocation->internal_waybill->shed_gang_allocations->sum('quantity_fulfiled') - $shed_gang_allocation->quantity_fulfiled; $bags_remaining = $purity_no_of_bags_ok - $total_fulfiled; @endphp Quantity ( Bags remaining: {{ $bags_remaining }} ) Remarks: N/A Truck did not show up In-line material machine faulty Natural Occurance Other Remarks: {{$shed_gang_allocation->other_remarks}} @endsection @section('more-scripts') @endsection