@extends("layouts.admin.app") @section("page-title") {{__("Dashboard")}} @endSection @section("page-nav-title")

{{__("stock")}}

{{__("stock")}}

@endsection @section("content") @include("includes.dialog")
"out","id"=>request()->id] )}}" id="main_form" method="post"> @csrf @if(!request()->id)
@endif
@if(request()->id) @endif
@error("branch")
{{$message}}
@enderror
id) readonly @endif id="type" type="text" name="type" placeholder="{{__('Enter type')}}" value="{{$documentHeader ? $documentHeader->type : inputValue("type")}}" >
@error("type")
{{$message}}
@enderror
id) readonly @endif id="document_number" type="text" name="document_number" placeholder="" value="{{$documentHeader ? $documentHeader->document_number : inputValue("document_number")}}">
@error("document_number")
{{$message}}
@enderror
@error("date")
{{$message}}
@enderror
@error("note")
{{$message}}
@enderror
@if($confirmDocument == 0) @endif @if($documentHeader) @foreach($documentHeader->documentDetails as $index=>$details) @if($confirmDocument == 0) @endif @endforeach @endif @if($confirmDocument == 0) @endif
#ID {{__('item name')}} {{__('Total Quantity')}} {{__("Control")}}
{{++$index}} {{$details->competition->itemProberity[0]->item->getNameAttribute() }} @foreach($details->competition->itemProberity as $prob) @if(!is_null($prob->addons)) {{ucfirst($prob->addons->addOnsTitle->getNameAttribute())}} : {{$prob->addons->getNameListAttribute()}} @endif @endforeach {{$details->cost}} {{$details->quantity}} $details->id])}}" class="control-link remove">
#ID
@if($confirmDocument == 0)
@endif
@endsection @section("scripts") @endsection