@extends('layouts.app') @section('title', __('messages.Item')) @section('stitle', 'Item') @section('content')
@if(session()->get('title') == "success") @elseif (session()->get('title') == "error") @endif
{{-- @include('item.item_menu')--}}
{{--
--}} {{--

Create @yield('stitle')

--}} {{--
--}}
{{--
--}} {{--
--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}}

{{__('messages.InventoryInBranches')}}

@foreach($branchInv as $bInv)

{{ $bInv->qty }} {{ $item->storage_unit }}

{{ $bInv->qty_in_unit }} {{ $item->ingredient_unit }}

{{ $bInv->name }}

@endforeach

{{__('messages.InventoryInWarehouses')}}

@foreach($item->warehouse as $whouse)

{{ $whouse->pivot->qty }} {{ $item->storage_unit }} / {{ $whouse->pivot->hold_qty }} {{ $item->storage_unit }}

{{ $whouse->pivot->qty_in_unit }} {{ $item->ingredient_unit }} / {{ $whouse->pivot->hold_qty_in_unit }} {{ $item->ingredient_unit }}

{{ $whouse->name }}

@endforeach
@endsection