{!! Form::open(["url" => "scm-report", 'method' => "POST", "class" => "form-horizontal"]) !!}
{{--Calculated Table--}}

@lang("content.calculated_stock")

@if (isset($stockULDs) && count($stockULDs)) @foreach($stockULDs as $j => $uld) @php $container = $uld->container @endphp @if (!$container) @continue @endif @php $type = $container->type @endphp @php $containerID = $container ? ($type ? $type->name : "").$container->num.$container->owner : "-" @endphp @php $lastInfo = $uld->getLastContainerInfo() @endphp @php $content = $container->id."_".($lastInfo ? $lastInfo->id : 0) @endphp @endforeach
No ID @lang("content.in_stock")
{{ $j + 1 }} id}?dateSearch=all" }}">{{ $containerID }} {!! Form::checkbox("st[]", $content, true, ['class' => 'form-control'] ) !!}
@endif
{{--Manual Table--}}

@lang("content.manual_input")

No @lang("content.type") ID @lang("content.owner")
1 {!! Form::select('type[]', $uldTypes, null, ['class' => 'form-control']) !!} {!! Form::text("oType[]", null, [ 'class' => 'form-control', 'placeholder' => 'Type', 'maxlength' => 3, "disabled" ]) !!} {!! Form::text("uld[]", null, ['style' => 'width: 100%;', 'class' => 'form-control', 'placeholder' => 'ULD ID' ]) !!} {!! Form::text("owner[]", $owner ? $owner->iata : null, ['style' => 'width: 100%;', 'class' => 'form-control', 'placeholder' => 'Owner', 'required' => 'required', 'maxlength' => 2 ]) !!}
{{--Save--}}
{!! Form::hidden("datetime", $datetime) !!} {!! Form::hidden("airline", $airline) !!} {!! Form::hidden("airport", $airport) !!} {!! Form::submit( trans("content.save"), ['class' => 'btn btn-primary']) !!}
{!! Form::close() !!}