//include ('pdf_header_reverse.php'); 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=yearly_expense_report_excel.xls"); header("Pragma: no-cache"); header("Expires: 0"); error_reporting(0); ?>
Yearly Medicine Expense Report, = getTableFieldValue('ohc_type', 'ohc_type_name', 'ohc_type_id', $ohc) ?> |
MONTHLY WISE MEDICINE RECEIVED BY DISPENSARY | MONTHLY WISE EXPENCES OF MEDICINE | ||||||||||||||||||||||||||||
RECEIVED | ISSUED | ||||||||||||||||||||||||||||
YEAR: = $year ?>-= $year2 ?> | YEAR: = $year ?>-= $year2 ?> | ||||||||||||||||||||||||||||
SL.NO | ITEMS | PREVIOUS STOCK | = $month_name ?> | } ?>= $month_name ?> | } ?>
Total Rec. |
= $month_name ?> | } ?>= $month_name ?> | } ?>
Total Issue |
Current Stock |
||||||||||||||||||||
|
|||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
= ++$count ?> | = $row['item_name'] ?> | = previous_balance($row['item_id'], $year, $ohc) ?> | for ($j = 4; $j <= 12; $j++) { ?>= ceil(procurement_details($row['item_id'], $j, $year, $ohc)) ?> | } ?> for ($j = 1; $j <= 3; $j++) { ?>= ceil(procurement_details($row['item_id'], $j, $year2, $ohc)) ?> | } ?>= total(previous_balance($row['item_id'], $year, $ohc), $total_procurement) ?> | for ($j = 4; $j <= 12; $j++) { ?>= ceil(issued_details($row['item_id'], 0, $j, $year, $ohc)) ?> | } ?> for ($j = 1; $j <= 3; $j++) { ?>= ceil(issued_details($row['item_id'], 0, $j, $year2, $ohc)) ?> | } ?>= $issued_total_per_year ?> | = ceil(balance(total(previous_balance($row['item_id'], $year, $ohc), $total_procurement), $issued_total_per_year)) ?> |