@extends("WarehouseDashboard.layouts.dashboard.app") @section("page-nav-title")

{{__('Forms')}}

{{__('Create Forms')}}

@endsection @section("content") @error("branch_id")
{{$message}}
@enderror

{{__('Create Forms')}}

{{--
--}} {{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
--}}
@csrf
@error("name")
{{$message}}
@enderror
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}}

{{__('Select Items')}}

@error('item_id')
{{$message}}
@enderror @foreach($items as $item) @endforeach
{{__('Select')}}
{{__('Item Code')}} {{__('Item Name')}} {{__('Category name')}} {{__('Type')}} {{__('Unit')}} {{__('Status')}} {{__('request-unit')}} {{__('Max Value')}}
id,old("item_id"))) checked @endif @error('min.'.$item['id']) checked @enderror name="item_id[]" value="{{$item['id']}}"> {{$item->item_code}} {{$item->name_ar}} {{$item->category->name_ar ?? null}} @if($item->Type == 1) {{__('Warehouse')}} @elseif($item->Type == 2) {{__('Operator')}} @endif {{$item->getUnitNameAttribute()}} {{$item->status ? __("Active") : __("Non-Active")}} @error('min.'.$item['id']) {{__("this field is required")}} @enderror @error('max.'.$item['id']) {{__("this field is required")}} @enderror
@endsection @section("scripts") @endsection