@foreach($lists as $list)
Notice: Undefined variable: list in D:\xampp\htdocs\dmmc\resources\views\cashier\ajax\petty_cash_report.blade.php on line 22

Notice: Trying to get property of non-object in D:\xampp\htdocs\dmmc\resources\views\cashier\ajax\petty_cash_report.blade.php on line 22
@endforeach
Transaction Date Remarks Check Date Check Number Amount
{{++$x}} {{date_format(date_create($list->transaction_date),"F d, Y")}} {{$list->remarks}} {{date_format(date_create($list->check_date),"F d, Y")}} {{$list->check_number}} {{number_format($list->check_amount,2)}} 
        TOTAL {{number_format($total,2)}}