@lang('Product ID') | @lang('Photo') | @lang('Product Name') | @lang('Product Price') | @lang('Total Sales') |
---|---|---|---|---|
{{$loop->iteration}} |
@if($sale->photo)
@php
$image_url = \App\Helpers\Helper::check_image_avatar($sale->photo->name, 50);
@endphp
|
{{$sale->name}} | {{currency_format($sale->price)}} | {{$sale->sales}} |