@foreach ($results as $result) @endforeach
{{ trans('products.id') }} {{ trans('sale_history.sku') }} {{ trans('sale_history.name_en')}} {{ trans('sale_history.name_kh')}} {{ trans('products.amount')}} {{ trans('sale_history.price')}} {{ trans('sale_history.category')}} {{ trans('reports.user')}} {{ trans('invoices.invoice_no')}} {{ trans('sale_history.date_sold')}}
{{ $i }} {{ $result->sku }} {{ $result->name_en }} {{ $result->name_kh }} {{ $result->amount }} {{ money($result->price) }} {{ $result->name }} {{ $result->first_name }} {{ convertInvoiceNumber($result->invoice_no) }} {{ $result->created_at }}
{{ trans('reports.total') }} {{ money($total_price)}}
{{ trans('reports.price_in') }} {{ money($totalPriceIn)}}
{{ trans('reports.total_income') }} {{ money($total_price - $totalPriceIn)}}