@lang('accounting/warehouses/reports/sales-and-profit.from_date') {{ $from_date }}
@endif @if(request()->to_date)@lang('accounting/warehouses/reports/sales-and-profit.to_date') {{ $to_date }}
| @lang('accounting/warehouses/reports/general-sales-invoices.item') | @if ($selected_show_type == 'detailed')@lang('accounting/warehouses/reports/general-sales-invoices.invoice_number') | @lang('accounting/warehouses/reports/general-sales-invoices.invoice_date') | @lang('accounting/warehouses/reports/general-sales-invoices.supplier') | @endif@lang('accounting/warehouses/reports/general-sales-invoices.quantity') | @if ($selected_show_type == 'detailed')@lang('accounting/warehouses/reports/general-sales-invoices.unit_cost') | @else@lang('accounting/warehouses/reports/general-sales-invoices.price') | @endif@lang('accounting/warehouses/reports/general-sales-invoices.total') | |
|---|---|---|---|---|---|---|---|---|
| {{ $result->barcode?->number . ' - ' . $result->barcode?->ar_name }} | @if ($selected_show_type == 'detailed'){{ $result->sales_invoice->bond_number }} | {{ $result->sales_invoice->date }} | {{ $result->sales_invoice->client_name }} | @endif{{ $result->quantity }} | @if ($selected_show_type == 'detailed'){{ dn($result->price) }} | {{ dn($result->price * $result->quantity) }} | @else{{ dn($result->avg_price) }} | {{ dn($result->avg_price * $result->quantity) }} | @endif
| @lang('accounting/warehouses/reports/general-sales-invoices.sum') | @if ($selected_show_type == 'detailed')@endif | {{ dn($total) }} |