include('includes/config/config.php'); include('includes/functions.php'); header("Content-type:application/octet-stream"); header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=daily_expense_report_excel.xls"); header("Pragma: no-cache"); header("Expires: 0"); ?>
Daily Medicine Expense Report | |
For Month: echo $month_name; ?> |
Sr | Date | for ($i = 1; $i <= $d; $i++) { ?>= $i ?> | Total | ||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|||||||||||||||||||||||||||||||||
= ++$count ?> | = $row['item_name'] ?> | for ($i = 1; $i <= $d; $i++) { ?>= ceil(consume_details($row['item_id'], $i, $month, $y, $ohc)) ?> | } ?>= ceil(total($row['item_id'], $month, $y, $ohc)) ?> |