fetchRow($rs_HH)){ $stt++; $soluong = $rw['SOLUONG']; $dongia = $rw['DV_GIABAN']; $thanhtien = $soluong*$dongia; if($loai==LDV_NGUYENLIEU){ $soluong = $soluong/$rw['GIATRIQUYDOI']; $dongia = $dongia*$rw['GIATRIQUYDOI']; } /* $rw_ct = $mPhieuXuat->getDSNguyenLieuByPX($idpx_sua,$rw['DV_ID']); $soluong = $rw_ct['DVSD_SOLUONG']; if(!empty($rw_ct)){ $dongia = $rw_ct['DVSD_DONGIA']; $thanhtien = $rw_ct['DVSD_SOTIEN']; } else{ $dongia = $rw['DV_GIABAN']; $thanhtien = 0; } */ // $rwdv = $mDV->fetchRow($rw['DV_ID']); // $dongia_ban = $rwdv['DV_GIABAN']; // if (!$dongia) { // $dongia =0; // } $tongtien +=$thanhtien; $tongsl +=$soluong; $arr_iddv[]=$rw['DV_ID']; if($rw['DV_IDLDV']!=$lvd_i){ ?>
Thời điểm: buildHourSelect('PhieuXuat_GioLap',$px_gio,'cbo width_60','onchange=\'phieuxuat_chon_ngaylap(this.value)\''); echo $htmlHelper->buildMinuteSelectFull('PhieuXuat_PhutLap',$px_phut,'cbo width_60','onchange=\'phieuxuat_chon_ngaylap(this.value)\''); echo $htmlHelper->buildInput('PhieuXuat_NgayLap',$px_ngay,'textbox1 datepicker width_80','onchange=\'phieuxuat_chon_ngaylap(this.value)\'',false); ?>
STT Tên dịch vụ ĐVT Số lượng Đơn giá Thành tiền
decodeSpecialChar($rw['DV_TEN']);?> decodeSpecialChar($rw['DVT_TEN']);?> " onblur="load_thanh_tien()" />
0){echo WebHelper::format_vn_number($thanhtien,2);}else{ echo "";}?>
Tổng cộng
0){echo WebHelper::format_vn_number($tongsl,2);}else{ echo "";}?>
 
0){echo WebHelper::format_vn_number($tongtien,2);}else{ echo "";}?>
  Không tìm thấy thông tin.