@php
$options = ['' => 'Select any'];
$sales_type = ['' => 'Select any', '1' => 'Cash Sales', '2' => 'Installment Sales'];
$sales_by =
$options + DB::table('hr_emp_general_info')->pluck('emp_name_english', 'id')->all();
$customer_name = $options + DB::table('pos_customers')->pluck('name', 'id')->all();
$brands = $options + DB::table('pos_product_brands')->pluck('name', 'id')->all();
$searchElements = [
['element' => 'report_level', 'showAll' => 'no', 'col' => '2'],
['element' => 'branchId'],
[
'element' => 'custom',
'name' => 'sales_type',
'type' => 'select',
'label' => 'Sales Type',
'options' => $sales_type,
],
[
'element' => 'custom',
'name' => 'sales_by',
'type' => 'select',
'label' => 'Sales By',
'options' => $sales_by,
],
[
'element' => 'custom',
'name' => 'customer',
'type' => 'select',
'label' => 'Customer Name',
'options' => $customer_name,
],
['element' => 'group_id'],
['element' => 'category_id'],
['element' => 'sub_category_id'],
[
'element' => 'custom',
'name' => 'brand',
'type' => 'select',
'label' => 'Brand',
'options' => $brands,
],
['element' => 'dateRange'],
];
@endphp
@include('partials.searchPanel.main', ['searchElements' => $searchElements])
{{-- div for Company --}}
{{ $company->name }}
{{ $company->address }}
Sales Details
Report
Printed Date: {{ date('d-m-Y') }}
| SL# |
Sales Date |
Bill No |
Customer Name |
Employee Name |
Product Name |
Pid No |
Total Quantity |
Total Sales Amount(Without P.F.) |