fetchRow($rs)) { $stt++; if (isset($arrTon_dau[$rw['DV_ID']])) { $tondau = $arrTon_dau[$rw['DV_ID']]; } else { $tondau = 0; } $tc_tondau += $tondau; $tc_nhap += $rw['SL_NHAP']; $tc_ton_nhap += $tc_tondau + $tc_nhap; $tc_dadung += $rw['SL_BAN']; if (isset($arrTon_cuoi[$rw['DV_ID']])) { $toncuoi = $arrTon_cuoi[$rw['DV_ID']]; } else { $toncuoi = 0; } $tc_conlai += $toncuoi; $nhap_tru_dung = $rw['SL_NHAP'] - $rw['SL_BAN']; $tc_nhap_tru_dung += $rw['SL_NHAP'] - $rw['SL_BAN']; if ($rw['DV_IDLDV'] != $lvd_i) { ?>
" align="left" class="grid-title">
" align="right">
Chọn thời điểm: Từ buildInput('Search_NhapDichVu_TuNgay', $search_ndv_tungay, 'textbox width_100 datepicker', 'maxlength=\'10\'', false); echo " đến "; echo $htmlHelper->buildInput('Search_NhapDichVu_DenNgay', $search_ndv_denngay, 'textbox width_100 datepicker', 'maxlength=\'10\'', false); ?> Loại: buildSelect('Search_Loai', $arrayLoai,$search_loai, 'cbo width_150', array(), '', '', false) ?> Kho tổng: buildSelect('Search_NhomBoPhan',$arrNhomBP_Search,$search_idnhombp,'cbochosen cbo width_120',array('value'=>'','text'=>'Tất cả'),$disabled);?> Bộ phận: buildSelect('Search_BoPhan',$arrBP_Search,$search_idbophan,'cbochosen cbo width_120',array('value'=>'-1','text'=>'Kho tổng'));?>
 
STT Tên ĐVT quản lý ĐVT pha chế Tồn
(1)
Đã nhập
(2)
Tổng cộng
(1)+(2)
Đã dùng
(3)
Nhập - Dùng
(2)-(3)
Còn lại Còn lại
Theo ĐVT PC Theo ĐVT QL
decodeSpecialChar($rw['DV_MA']); ?> decodeSpecialChar($rw['DV_TEN']); ?> decodeSpecialChar($rw['DVT_TEN_QL']); ?> decodeSpecialChar($rw['DVT_TEN']); ?> Quy cách:" . $webhelper->format_vn_number($rw['DV_GIATRIDUYDOI']) . " "; ?> format_vn_number($tondau, 2); } else { echo "-"; } ?> format_vn_number($rw['SL_NHAP'], 2); ?>  format_vn_number($tongcong, 2); } else { echo "-"; } ?> format_vn_number($rw['SL_BAN'], 2); ?> format_vn_number($nhap_tru_dung, 2); ?> format_vn_number($tonthucte_cuoiky, 2); ?> 0 && $rw['GIATRIQUYDOI']!=1){ echo "".$webhelper->format_vn_number($tonthucte_cuoiky/$rw['GIATRIQUYDOI'] ,2)." "; echo WebHelper::decodeSpecialChar($rw['DVT_TEN_QL']); } ?>
  Không tìm thấy thông tin.
Tổng cộng
Tổng số: