= ++$count ?> |
= getItemWithFormName($row['item_id']) ?> |
= freshReceivedItemBalance($row['item_id'], $date, $ohc, $shift_start_time, $shift_end_time) ?> |
= prevDispensaryItemBalance($row['item_id'], $ohc, $shift, $prev_shift_id) ?> |
= ceil(total_qty(freshReceivedItemBalance($row['item_id'], $date, $ohc, $shift_start_time, $shift_end_time), prevDispensaryItemBalance($row['item_id'], $ohc, $shift, $prev_shift_id))) ?> |
= consume_details($row['item_id'], 1, $date, $shift_start_time, $shift_end_time, $ohc) ?> |
= consume_details($row['item_id'], 0, $date, $shift_start_time, $shift_end_time, $ohc) ?> |
= ceil(balance(total_qty(freshReceivedItemBalance($row['item_id'], $date, $ohc, $shift_start_time, $shift_end_time), prevDispensaryItemBalance($row['item_id'], $ohc, $shift, $prev_shift_id)), consume_details($row['item_id'], 0, $date, $shift_start_time, $shift_end_time, $ohc))) ?> |