&
date; } foreach ($deposits as $deposit) { $datess[] = $deposit->date; } $dat = array_merge($dates, $datess); $dattt = array_unique($dat); asort($dattt); $total_pur = array(); $total_p = array(); ?> $value) { foreach ($payments as $payment) { if ($payment->date == $value) { ?> date == $value) { if (!empty($deposit->deposited_amount) && empty($deposit->amount_received_id)) { ?>
#
date); ?> id; ?> currency; ?> gross_total; ?> amount_received)) { echo $settings->currency; } ?> amount_received; ?> deposit_type; ?> ion_auth->in_group(array('admin', 'Accountant'))) { ?> ion_auth->in_group(array('admin', 'Accountant'))) { ?>
date); ?> payment_id; ?> currency; ?> deposited_amount; ?> deposit_type; ?> ion_auth->in_group(array('admin', 'Accountant'))) { ?> ion_auth->in_group(array('admin', 'Accountant'))) { ?>
:

name; ?>


:

address; ?>

email; ?>
phone; ?>
gross_total; } if (!empty($total_bill)) { $total_bill = array_sum($total_bill); } else { $total_bill = 0; } ?>
currency; ?>
currency; ?> deposited_amount; } echo array_sum($total_deposit); ?>
currency; ?>