@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 Report
Printed Date: {{ date('d-m-Y') }}
| SL# |
Sales Date |
Bill No |
Customer Name |
Employee Name |
Total Quantity |
Cash Price |
Processing Fee |
@if ($company->othersFeeApplicable == 'Yes')
Others Fee |
@endif
Service Charge |
@if ($company->othersFeeApplicable == 'Yes')
Total Sales Amount(With P.F.+O.F.+S.C.)
@else
Total Sales Amount(With P.F.+S.C.)
@endif
|