@if($finalStartDate == $finalEndDate) Date Covered : {{date_format(date_create($finalStartDate),"F d, Y")}}
@else Date Covered : {{date_format(date_create($finalStartDate),"F d, Y")}} - {{date_format(date_create($finalEndDate),"F d, Y")}}
@endif
@foreach($lists as $list)
Notice: Undefined variable: list in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\ajax\display_trial_balance.blade.php on line 27

Notice: Trying to get property of non-object in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\ajax\display_trial_balance.blade.php on line 27

Notice: Undefined variable: list in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\ajax\display_trial_balance.blade.php on line 28

Notice: Trying to get property of non-object in D:\xampp\htdocs\dmmc\dmmc.back0118\resources\views\accounting\ajax\display_trial_balance.blade.php on line 28
@endforeach
Account Code Account Name Debit Credit
{{++$x}} {{$list->accounting_code}} {{$list->accounting_name}} {{number_format(abs($list->debit),2)}}  {{number_format(abs($list->credit),2)}} 
    TOTAL {{number_format($total_debit,2)}}  {{number_format($total_credit,2)}}