ion_auth->in_group(array('admin'))) { ?>
Sales: currency . ' ' . $this_month[0]; ?>
Expense: currency . ' ' . $this_month[1]; ?>
ion_auth->in_group(array('admin'))) { ?>
date;
$month2 = date('m', $date2);
$year2 = date('y', $date2);
if (date('y', time()) == date('y', $date2)) {
if ($month2 == '01') {
$jan2[] = '1';
}
if ($month2 == '02') {
$feb2[] = '1';
}
if ($month2 == '03') {
$mar2[] = '1';
}
if ($month2 == '04') {
$apr2[] = '1';
}
if ($month2 == '05') {
$may2[] = '1';
}
if ($month2 == '06') {
$jun2[] = '1';
}
if ($month2 == '07') {
$jul2[] = '1';
}
if ($month2 == '08') {
$aug2[] = '1';
}
if ($month2 == '09') {
$sep2[] = '1';
}
if ($month2 == '10') {
$oct2[] = '1';
}
if ($month2 == '11') {
$nov2[] = '1';
}
if ($month2 == '12') {
$dec2[] = '1';
}
}
}
?>
date;
$month1 = date('m', $date1);
$year1 = date('y', $date1);
if (date('y', time()) == date('y', $date1)) {
if ($month1 == '01') {
$jan1[] = $expense->amount;
}
if ($month1 == '02') {
$feb1[] = $expense->amount;
}
if ($month1 == '03') {
$mar1[] = $expense->amount;
}
if ($month1 == '04') {
$apr1[] = $expense->amount;
}
if ($month1 == '05') {
$may1[] = $expense->amount;
}
if ($month1 == '06') {
$jun1[] = $expense->amount;
}
if ($month1 == '07') {
$jul1[] = $expense->amount;
}
if ($month1 == '08') {
$aug1[] = $expense->amount;
}
if ($month1 == '09') {
$sep1[] = $expense->amount;
}
if ($month1 == '10') {
$oct1[] = $expense->amount;
}
if ($month1 == '11') {
$nov1[] = $expense->amount;
}
if ($month1 == '12') {
$dec1[] = $expense->amount;
}
}
}
?>
- currency; ?>
- currency; ?>
- currency; ?>
- currency; ?>
- currency; ?>
- currency; ?>
date;
$month = date('m', $date);
$year = date('y', $date);
if (date('y', time()) == date('y', $date)) {
if ($month == '01') {
$jan[] = $payment->gross_total;
}
if ($month == '02') {
$feb[] = $payment->gross_total;
}
if ($month == '03') {
$mar[] = $payment->gross_total;
}
if ($month == '04') {
$apr[] = $payment->gross_total;
}
if ($month == '05') {
$may[] = $payment->gross_total;
}
if ($month == '06') {
$jun[] = $payment->gross_total;
}
if ($month == '07') {
$jul[] = $payment->gross_total;
}
if ($month == '08') {
$aug[] = $payment->gross_total;
}
if ($month == '09') {
$sep[] = $payment->gross_total;
}
if ($month == '10') {
$oct[] = $payment->gross_total;
}
if ($month == '11') {
$nov[] = $payment->gross_total;
}
if ($month == '12') {
$dec[] = $payment->gross_total;
}
}
}
?>
- currency; ?>
- currency; ?>
- currency; ?>
- currency; ?>
- currency; ?>
- currency; ?>