@if(session()->get('title') == "success")
Success
{{ session()->get('message') }}
@elseif (session()->get('title') == "error")
Error
{{ session()->get('message') }}
@elseif($errors->any())
Error
@foreach ($errors->all() as $error)
{{ $error }}
@endforeach
@else
@endif
{{-- --}}
{{-- ID | --}}
{{__('messages.name')}} |
{{__('messages.REFERENCE')}} |
{{-- branch | --}}
{{__('messages.inventoryEndOfTime')}} |
{{__('messages.PHONE')}} |
{{__('messages.STATUS')}} |
{{__('messages.ACTION')}} |
@if($data->isEmpty())
There is not any warehouse exists yet! |
@endif
@foreach($data as $key=> $warehouse)
{{-- {{++$key}} | --}}
{{$warehouse->name}} |
{{$warehouse->reference}} |
{{-- {{$warehouse->branch_id}} | --}}
{{$warehouse->inv_end_of_day_time}} |
{{$warehouse->phone}} |
@if ($warehouse->status =='1')
Active |
@else
Inactive |
@endif
{{--
--}}
|
@endforeach