| @lang('admin.total_invoice') | @lang('admin.tax_per') | @lang('admin.total_invoice_tax') | |
| @lang('admin.invoiced') | {{ $order->order_history->sum('total') }} | {{ $order->order_history->sum('tax') }} | {{ $order->order_history->sum('total_tax') }} |
| @lang('admin.remaining') | {{ $order->order_details->sum('total') }} | {{ $order->order_details->sum('tax') }} | {{ $order->order_details->sum('total_tax') }} |
| @lang('admin.total') | {{ $order->order_details->sum('total') + $order->order_history->sum('total') }} | {{ $order->order_details->sum('tax') + $order->order_history->sum('tax') }} | {{ $order->order_details->sum('total_tax') + $order->order_history->sum('total_tax') }} |
| # | @Lang('admin.store_id') | @Lang('admin.items_id') | @Lang('admin.qty') | @Lang('admin.units_id') | @Lang('admin.sale_rate') | @Lang('admin.total') | @Lang('admin.tax_per') | @Lang('admin.total_tax') |
|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $details->store->{'store_name_' . app()->getLocale()} }} | {{ $details->store_items->item->{'item_name_' . app()->getLocale()} }} | {{ $details->qty }} | {{ $details->unit->{'unit_name_' . app()->getLocale()} }} | {{ $details->rate }} | {{ $details->total }} | {{ $details->tax }} | {{ $details->total_tax }} |
| # | @Lang('admin.fatoorah_id') | @Lang('admin.store_id') | @Lang('admin.items_id') | @Lang('admin.qty') | @Lang('admin.units_id') | @Lang('admin.sale_rate') | @Lang('admin.total') | @Lang('admin.tax_per') | @Lang('admin.total_tax') |
|---|---|---|---|---|---|---|---|---|---|
| {{ $loop->iteration }} | {{ $history->sale_invoice_id }} | {{ $history->store->{'store_name_' . app()->getLocale()} }} | {{ $history->store_items->item->{'item_name_' . app()->getLocale()} }} | {{ $history->qty }} | {{ $history->unit->{'unit_name_' . app()->getLocale()} }} | {{ $history->rate }} | {{ $history->total }} | {{ $history->tax }} | {{ $history->total_tax }} |