@extends('admin.layout.app') @section('more-head') @endsection @section('main-content') CMC OPERATIONS MANAGEMENT SYSTEM Internal Waybill for Bush Waybill No. {{ $bush_waybill->bush_waybill_no }} Back to Transactions @include('includes.messages') VIEW INTERNAL WAYBILL(S) @if ($bush_waybill->internal_waybills->count() == 0) ADD INTERNAL WAYBILL(S) @endif No. Internal Waybill No. Bush Waybill No. No. of Bags Internal Waybill Date Internal Grade Category no. LBC Company Cocoa Type Specialty Type MOVE TO SHED @foreach ($internal_waybills as $internal_waybill) {{ $loop->index + 1 }}. {{ $internal_waybill->internal_waybill_no }} {{ $internal_waybill->bush_waybill->bush_waybill_no }} {{ $internal_waybill->internal_no_of_bags }} {{ $internal_waybill->internal_waybill_date }} {{ $internal_waybill->internal_waybill_grade }} {{ $internal_waybill->category->name }} {{ $internal_waybill->bush_waybill->lbc->name }} {{ strtoupper($internal_waybill->cocoa_type->type_name) }} {{ strtoupper($internal_waybill->specialty_type) }} {{ csrf_field() }} {{ method_field('PUT') }} Select Shed @foreach ($sheds as $shed) shed_id == $shed->id) selected @endif> {{ strtoupper($shed->name) }} @endforeach MOVE TO SHED @endforeach @if ($bush_waybill->internal_waybills->count() == 0) {{ csrf_field() }} {{ method_field('POST') }} Internal Waybill Number. Internal Waybill Date. Internal Waybill No. of bags Select Internal Waybill Grade Select Grade. bush_grade == 'I') selected @endif>Grade I bush_grade == 'II') selected @endif>Grade II {{-- bush_grade == 'SS') selected @endif>Grade SS --}} Category Select category. @foreach ($categories as $category) category_id == $category->id) selected @endif> {{ $category->name }} @endforeach Cocoa Type Select cocoa type. @foreach ($cocoa_types as $cocoa_type) id == $bush_waybill->cocoa_type_id) selected @endif value="{{ $cocoa_type->id }}"> {{ $cocoa_type->type_name }} @endforeach Specialty Type Select @foreach ($specialty_types as $specialty_type) {{ $specialty_type->specialty_name }} @endforeach {{-- specialty_type == 'none') selected @endif>NONE specialty_type == 'utz') selected @endif>UTZ specialty_type == 'traceable') selected @endif>TRACEABLE specialty_type == 'abrabopa') selected @endif>ABRABOPA specialty_type == 'organic aboofa') selected @endif>ORGANIC ABOOFA specialty_type == 'lindt') selected @endif>LINDT specialty_type == 'utz certified') selected @endif>UTZ CERTIFIED specialty_type == 'special') selected @endif>special specialty_type == 'fair trade') selected @endif>fair trade specialty_type == 'organic in transition') selected @endif>organic in transition specialty_type == 'organic in conversion') selected @endif>organic in conversion specialty_type == 'japan') selected @endif>japan specialty_type == 'coconet') selected @endif>coconet specialty_type == 'rfa') selected @endif>rfa specialty_type == 'horizon') selected @endif>horizon --}} {{-- Client. Select @foreach ($client_types as $client_type) {{ $client_type->name }} @endforeach --}} Client. Select Client Type {{-- Select LBC Select LBC. @foreach ($lbcs as $lbc) lbc_id == $lbc->id) selected @endif value="{{ $lbc->id }}"> {{ $lbc->name }} @endforeach Select TOC @foreach ($ports as $port) id == $bush_delivery->port_id) selected @endif value="{{ $port->id }}"> {{ $port->name }} @endforeach Select Season @foreach ($seasons as $season) id == $bush_delivery->season_id) selected @endif value="{{ $season->id }}"> {{ $season->name }} @endforeach --}} Submit @endif @endsection @section('more-scripts') @endsection