@php
$options = ['' => 'Select any'];
$status_options = ['*' => 'All','1' => 'Approve','0' => 'Pending'];
$viewOptions = ['' => 'Select any'];
$viewStatus_options = ['1' => 'Without Zero','0' => 'With Zero'];
$purchaseNo = $options + DB::table('pos_purchases')->pluck('purchase_no','purchase_no')->all();
$chalanNo = $options + DB::table('pos_purchases')->pluck('invoice_no','invoice_no')->all();
$brands = $options + DB::table('pos_product_brands')->pluck('name','id')->all();
$products = $options + DB::table('pos_products')->pluck('name','id')->all();
if($data['isSalesPriceStatus'] == 'true' && Auth::user()->branchId == 1){
$viewWithCostSalePrice_options = ['1' => 'With Cost Price', '2' => 'With Sale Price'];
}
$searchElements = [
['element' => 'report_level','showAll'=>'no'],
['element' => 'branchId'],
['element' => 'supplierId'],
['element' => 'group_id'],
['element' => 'category_id'],
['element' => 'model_id'],
];
if($data['isSalesPriceStatus'] == 'true' && Auth::user()->branchId == 1){
$searchElements[] = [
'element' => 'custom',
'name' => 'costSalePriceFilter',
'type' => 'select',
'label' => 'Cost/Sale Price:',
'options' => $viewWithCostSalePrice_options,
];
}
$searchElements[] = ['element' => 'dateTo'];
@endphp
@include('partials.searchPanel.main', ['searchElements' => $searchElements])
{{$data['company']->name}}
{{$data['company']->address}}
Date Wise Stock Report
Branch Name:
As on:
Printed Date: {{date('d-m-Y')}}
| Prepared By |
Verified By |
Reviewed By |
Approved By |