//include ('pdf_header_reverse.php'); include('includes/config/config.php'); include('includes/functions.php'); error_reporting(0); header("Content-type:application/octet-stream"); header("Content-type: application/x-msdownload"); header("Content-Disposition: attachment; filename=yearly_store_expense_report_excel.xls"); header("Pragma: no-cache"); header("Expires: 0"); ?>
Yearly Medicine Expense Report |
MONTHLY WISE MEDICINE RECEIVED BY OHC | 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 |
Expired Stock |
Current Stock |
||||||||||||||||||||
|
||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
= ++$count ?> | = $row['item_name'] ?> | = previous_year_balance($row['item_id'], $year) ?> | for ($j = 4; $j <= 12; $j++) { ?>= ceil(procurement_details($row['item_id'], $year, $j)) ?> | } ?> for ($j = 1; $j <= 3; $j++) { ?>= ceil(procurement_details($row['item_id'], $year2, $j)) ?> | } ?>= total(previous_year_balance($row['item_id'], $year), $total_procurement) ?> | for ($j = 4; $j <= 12; $j++) { ?>= ceil(issued_details($row['item_id'], $j, $year)) ?> | } ?> for ($j = 1; $j <= 3; $j++) { ?>= ceil(issued_details($row['item_id'], $j, $year2)) ?> | } ?>= $issued_total_per_year ?> | = $total_expired_item_qty ?> | = ceil(balance(total(previous_year_balance($row['item_id'], $year), $total_procurement), $issued_total_per_year, $total_expired_item_qty)) ?> |