Exemple #1
0
 public rpt_BC_PhieuXuatKho(PhieuXuatKhoInfo hoadon)
 {
     InitializeComponent();
     this.hoadon      = hoadon;
     txtNguoiMua.Text = hoadon.NguoiMua;
     txtDiaChi.Text   = hoadon.DiaChi;
     txtSoPhieu.Text  = hoadon.SoChungTu;
     txtNgay.Text     = string.Format("{0:dd/MM/yyyy}", hoadon.NgayLap);
     //txtNgay.Text = Convert.ToString(CommonProvider.Instance.GetSysDate());
 }
Exemple #2
0
 private void LoadSoPhieu(string soPhieu)
 {
     hd = PhieuXuatKhoDataProvider.Instance.GetChungTuBySoPhieuXuat(soPhieu);
     if (hd != null)
     {
         liChiTiet = PhieuXuatKhoDataProvider.Instance.GetChungTuChiTietByIDChungTu(hd.IdChungTu);
     }
     else
     {
         clsUtils.MsgCanhBao("Số phiếu không hợp lệ. Xin vui lòng nhập lại!");
         return;
     }
 }