fetchRow($rs_HH)){ $stt++; $rw_ct = $mPhieuNhap->getDSNguyenLieuByPN($idpn_sua,$rw['DV_ID']); $soluong = $rw_ct['NDV_SOLUONG']; $dongia = $rw_ct['NDV_DONGIA']; if($loai==LDV_NGUYENLIEU){ $soluong = $soluong/$rw['GIATRIQUYDOI']; $dongia = $dongia*$rw['GIATRIQUYDOI']; } $thanhtien = $rw_ct['NDV_TONGTIEN']; $tongtien_pn +=$thanhtien; $tongsl +=$soluong; $arr_iddv[]=$rw['DV_ID']; if($rw['DV_IDLDV']!=$lvd_i){ ?>
Thời điểm: buildHourSelect('PhieuNhap_GioLap',$gio,'cbo width_60','onchange=\'phieunhap_chon_ngaylap(this.value)\''); echo $htmlHelper->buildMinuteSelectFull('PhieuNhap_PhutLap',$phut,'cbo width_60','onchange=\'phieunhap_chon_ngaylap(this.value)\''); echo $htmlHelper->buildInput('PhieuNhap_NgayLap',$ngay,'textbox1 datepicker width_80','onchange=\'phieunhap_chon_ngaylap(this.value)\'',false); ?>
  Nhà cung cấp: buildSelect('SuaPhieuPn_NCC',$arrNCC,$ncc,'cbochosen cbo',array('value'=>'','text'=>'--Chọn--'),'onchange=\'suphieunhap_luu_ncc(this.value)\''); ?>
   Mục đích nhập: buildSelect('SuaPhieuPn_MDN',$arrMDN,$pn_MDN,'cbochosen cbo',array('value'=>'','text'=>'--Chọn--'),'onchange=\'suphieunhap_luu_mucdichnhap(this.value)\''); ?>
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="tinh_thanh_tien()" /> " onblur="tinh_thanh_tien()"/> " onblur="tinh_don_gia()"/>  
Tổng cộng
0){echo WebHelper::format_vn_number($tongsl,2);}else{ echo "";}?>
 
0){echo WebHelper::format_vn_number($tongtien_pn,2);}else{ echo "";}?>
 
Tổng tiền:  
 
Thanh toán
Tiền mặt:
CK buildSelect('PhieuNhap_Sua_CK_STK',$arrSTK,$pn_idnganhang,'cbo width_150',array('value'=>'','text'=>'Chọn STK'),$hide_x,'',false,true); ?>
Thẻ
Nợ lại
/> Lưu sổ chi
Loại:    buildSelect('SoChi_LoaiChi',$arrLoaiChiNhapHang,$pn_idlcp,'cbochosen cbo width_200',array('value'=>'','text'=>'--Loại chi--'));?> Nguồn: buildSelect('SoChi_NguonChi',$arrNguonChi,$nguonchi,'cbochosen cbo width_200',array('value'=>'','text'=>'--Nguồn chi--'));?>
  Không tìm thấy thông tin.