public NvNhapKhacVm.Dto CreateNewInstance() { var unitCode = GetCurrentUnitCode(); return(new NvNhapKhacVm.Dto() { LoaiPhieu = TypeVoucher.NKHAC.ToString(), MaChungTu = BuildCode_PTNX(TypeVoucher.NKHAC.ToString(), unitCode, false), NgayCT = CurrentSetting.GetNgayKhoaSo(unitCode) }); }
public NvNhapHangBanTraLaiVm.Dto CreateNewInstance() { var unitCode = GetCurrentUnitCode(); var code = BuildCode_PTNX(TypeVoucher.NHBANTL.ToString(), unitCode, false); return(new NvNhapHangBanTraLaiVm.Dto() { LoaiPhieu = TypeVoucher.NHBANTL.ToString(), MaChungTu = code, NgayCT = CurrentSetting.GetNgayKhoaSo(unitCode) }); }
public NvCongNoVm.Dto CreateNewInstance(string _loaiChungTu) { var unitCode = GetCurrentUnitCode(); var code = BuildCode_PTNX(_loaiChungTu, unitCode, false); return(new NvCongNoVm.Dto() { LoaiChungTu = _loaiChungTu, MaChungTu = code, NgayCT = CurrentSetting.GetNgayKhoaSo(unitCode), }); }
public NvXuatBanLeVm.Dto CreateNewInstance() { var code = BuildCode(); var unitCode = GetCurrentUnitCode(); return(new NvXuatBanLeVm.Dto() { LoaiPhieu = TypeVoucher.XBANLE.ToString(), MaChungTu = code, MaHoaDon = code, NgayCT = CurrentSetting.GetNgayKhoaSo(unitCode), }); }