@extends('layout.main') @section('content') @if(empty($product_name))
{{'No Data exist between this date range!'}}
@endif @if(session()->has('not_permitted'))
{{ session()->get('not_permitted') }}
@endif

{{trans('file.Product Report')}}

{!! Form::open(['route' => 'report.product', 'method' => 'post']) !!}
{!! Form::close() !!}
@if(!empty($product_name)) @foreach($product_id as $key => $pro_id)
Warning: Undefined variable $warehouse_id in /var/www/html/repo/invoicing-salepropos/resources/views/report/product_report.blade.php on line 73

Warning: Undefined variable $variant_id in /var/www/html/repo/invoicing-salepropos/resources/views/report/product_report.blade.php on line 74

Warning: Undefined variable $key in /var/www/html/repo/invoicing-salepropos/resources/views/report/product_report.blade.php on line 74

Warning: Trying to access array offset on value of type null in /var/www/html/repo/invoicing-salepropos/resources/views/report/product_report.blade.php on line 74

Fatal error: Uncaught Error: Class "DB" not found in /var/www/html/repo/invoicing-salepropos/resources/views/report/product_report.blade.php:104 Stack trace: #0 {main} thrown in /var/www/html/repo/invoicing-salepropos/resources/views/report/product_report.blade.php on line 104
{{trans('file.Product Name')}} {{trans('file.Purchased Amount')}} {{trans('file.Purchased')}} {{trans('file.qty')}} {{trans('file.Sold Amount')}} {{trans('file.Sold')}} {{trans('file.qty')}} {{trans('file.profit')}} {{trans('file.In Stock')}}
{{$key}} {{$product_name[$key]}}