# | {{ __('main.material') }} | {{ __('main.price') }} / {{ __('main.unit') }} | {{ __('main.status') }} | {{ __('main.in_stock') }} | {{ __('main.actions') }} |
---|---|---|---|---|---|
{{$loop->index + 1}} |
{{$item->name}}
|
{{getFormattedCurrency($item->price)}} / {{getUnitType($item->unit)}} |
@if(Auth::user()->user_type == 3)
@if(Auth::user()->id == $item->created_by)
|
{{$item->opening_stock ?? 0.00}} {{getUnitType($item->unit)}} | @if(Auth::user()->user_type == 3) @if(Auth::user()->id == $item->created_by) {{ __('main.edit') }} @endif @endif @if(Auth::user()->user_type == 2) {{ __('main.edit') }} @endif |