@php
$options = ['' => 'Select any'];
$sales_type = ['' => 'Select any', '1' => 'Cash Sales', '2' => 'Installment Sales'];
$sales_by =
$options +
$data['employees'];
$customer_name =
$options +
$data['customers'];
$brands =
$options +
DB::table('pos_product_brands')
->pluck('name', 'id')
->all();
$searchElements = [['element' => 'report_level','showAll'=>'no'], ['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_id', '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
Branch Name:
Printed Date: {{ date('d-m-Y') }}
| SL# |
Sales Date |
Bill No |
Customer Name |
Employee Name |
Product Name |
Model Name |
Brand Name |
Pid No |
Total Quantity |
Total Sales Amount(Without P.F. & O.F.) |