# | {{ __('main.item_code') }} | {{ __('main.product_name') }} | {{ __('main.stitching_cost') }} | {{ __('main.status') }} | {{ __('main.actions') }} |
---|---|---|---|---|---|
{{$loop->index+1}} | {{$row->item_code ? $row->item_code : '-'}} |
@if($row->image && file_exists(public_path($row->image)))
@else
@endif
{{$row->name}}
|
{{getFormattedCurrency($row->stitching_cost)}} |
@if(Auth::user()->user_type == 3)
@if(Auth::user()->id == $row->created_by)
|
@if(Auth::user()->user_type == 3) @if(Auth::user()->id == $row->created_by) {{ __('main.edit') }} @endif @endif @if(Auth::user()->user_type == 2) {{ __('main.edit') }} @endif |