name; ?> ( )
ion_auth->in_group(array('admin')) || $this->ion_auth->get_user_id() == '341') { ?>
ion_auth->in_group(array('Accountant', 'Receptionist'))) { ?>
ion_auth->in_group(array('Accountant', 'Receptionist'))) { ?>
ion_auth->in_group(array('admin')) || $this->ion_auth->get_user_id() == '341') { ?>
date; } foreach ($deposits as $deposit) { $datess[] = $deposit->date; } $dat = array_merge($dates, $datess); $dattt = array_unique($dat); asort($dattt); $total_payment = array(); $total_deposit = array(); ?> $value) { foreach ($payments as $payment) { if ($payment->date == $value) { $total_payment[] = $payment->gross_total; ?> date == $value) { $total_deposit[] = $deposit->deposited_amount; if (!empty($deposit->deposited_amount) && empty($deposit->amount_received_id)) { ?>
#
date); ?> id; ?> currency; ?> gross_total; ?> amount_received)) { echo $settings->currency; } ?> amount_received; ?>
date); ?> payment_id; ?> currency; ?> deposited_amount; ?>
currency; ?> currency; ?>
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; ?>