public ActionResult DemonstracoesDasMutacoesDoPatrimonioLiquidoDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Demonstrações das Mutações do Patrimônio Líquido"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult DemonstracaoDosFluxosDeCaixaDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Demonstração dos Fluxos de Caixa"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult PrestacaoDeContasDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Prestação de Contas - Fundo"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult BalancoFinanceiroDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Balanço Financeiro"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult GestaoFiscalDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Gestão Fiscal"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult TelefoniaEInternetMovelDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Telefonia e Internet Móvel"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult ExecucaoOrcamentariaDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Execução Orçamentária"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult PassagensAereasDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Passagens Aéreas"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult AuxilioLivroDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Auxílio Livro"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult DemonstrativoReceitasDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Demonstrativo de Receita"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult RelatorioDeGestaoDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Relatório de Gestão"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult AtasDasReunioesDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Atas das Reuniões"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult DemontracaoDasVariacoesPatrimoniaisDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Demonstração das Variações Patrimoniais"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult ContratosDeAlugueisDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Contratos de Aluguéis"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult ConveniosEInstrumentosCongeneresDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Convênios e Instrumentos Congêneres"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
public ActionResult AtaDeRegistroDePrecoDocumentos() { var model = new DocumentoModel(); model.Documentos = DocumentosPorTipo("Ata de Registro de Preços"); model.Link = DicionarioPortalDPGE.uploadsArquivos; return(View("PastaDocumentos", model)); }
private DocumentoModel CreaDocumentoModel(DocumentiDS.DOCUMENTIRow documento, AnagraficaDS ds) { Anagrafica a = new Anagrafica(); DocumentoModel rm = new DocumentoModel(); rm.Filename = documento.FILENAME; rm.IdDocumento = documento.IDDOCUMENTO; rm.TipoDocumento = a.EstraiTipoDocumentoModel(documento.IDTIPODOCUMENTO); return(rm); }
static public List <DocumentoModel> ObtemItems(HttpPostedFileBase fileItem, out string retorno) { List <DocumentoModel> planilhaCtrl = new List <DocumentoModel>(); retorno = ""; try { Stream stream = fileItem.InputStream; IExcelDataReader reader = null; if (fileItem.FileName.EndsWith(".xls")) { reader = ExcelReaderFactory.CreateBinaryReader(stream); } else if (fileItem.FileName.EndsWith(".xlsx")) { reader = ExcelReaderFactory.CreateOpenXmlReader(stream); } reader.IsFirstRowAsColumnNames = true; DataSet result = reader.AsDataSet(); reader.Close(); var planCtrlRange = result.Tables[0]; for (int rCnt = 0; rCnt < planCtrlRange.Rows.Count; rCnt++) { // Instancia DocumentoModel doc = new DocumentoModel(); // -- // Layout default do arquivo (antigo) doc.linha = rCnt; doc.nrDemanda = Convert.ToString(planCtrlRange.Rows[rCnt].ItemArray[0]); doc.job = Convert.ToString((planCtrlRange.Rows[rCnt].ItemArray[12])); doc.diretorioDestino = Convert.ToString(planCtrlRange.Rows[rCnt].ItemArray[13]); doc.gerente = new ProfissionalModel() { nome = Convert.ToString(planCtrlRange.Rows[rCnt].ItemArray[15]), email = Convert.ToString(planCtrlRange.Rows[rCnt].ItemArray[16]), }; doc.encarregado = new ProfissionalModel() { nome = Convert.ToString(planCtrlRange.Rows[rCnt].ItemArray[17]), email = Convert.ToString(planCtrlRange.Rows[rCnt].ItemArray[18]), }; // -- // Adiciona na lista planilhaCtrl.Add(doc); } } catch (Exception e) { retorno = string.Format("Ocorreu um erro durante a leitura da planilha de controle. error message: {0}", e.Message); } return(planilhaCtrl); }
public void getDoc(int tipo, int folio) { DocumentoModel documento = new DocumentoModel(); documento = documento.getDocumento(tipo, folio); frmPuntoVenta pos = new frmPuntoVenta(documento); pos.textBoxRutRecep.Text = documento.RUTRecep; pos.textBoxRutRecep.Enabled = false; pos.labelRznSocRecep.Text = documento.RznSocRecep; pos.labelGiroRecep.Text = documento.GiroRecep; pos.labelTelefonoRecep.Text = documento.TelRecep; pos.labelDireccionRecep.Text = documento.DirRecep; pos.labelCiudadRecep.Text = documento.CiudadRecep; pos.labelComunaRecep.Text = documento.CmnaRecep; pos.lblNomForm.Text = nombreDoc; // Cargo Detalle foreach (Detalle detalle in documento.detalle) { Int32 n = pos.dtgwDetalle.Rows.Add(); pos.dtgwDetalle.Rows[n].Cells["elimina"].Value = "-"; pos.dtgwDetalle.Rows[n].Cells["item"].Value = n + 1; pos.dtgwDetalle.Rows[n].Cells["codigo"].Value = detalle.VlrCodigo; pos.dtgwDetalle.Rows[n].Cells["nombre"].Value = detalle.NmbItem; pos.dtgwDetalle.Rows[n].Cells["Precio_Neto"].Value = Decimal.Round(detalle.PrcItem); pos.dtgwDetalle.Rows[n].Cells["precio"].Value = detalle.PrcBruItem.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); pos.dtgwDetalle.Rows[n].Cells["cantidad"].Value = detalle.QtyItem; pos.dtgwDetalle.Rows[n].Cells["desc"].Value = detalle.DescuentoPct; pos.dtgwDetalle.Rows[n].Cells["Monto_Descuento"].Value = detalle.DescuentoMonto.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); pos.dtgwDetalle.Rows[n].Cells["Total_Neto"].Value = detalle.MontoItem.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); pos.dtgwDetalle.Rows[n].Cells["total"].Value = detalle.MontoBruItem.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); if (detalle.IndExe == "1") { pos.dtgwDetalle.Rows[n].Cells["exento"].Value = "True"; } else { pos.dtgwDetalle.Rows[n].Cells["exento"].Value = "False"; } } // Cargo Totales //pos.textBoxDctoGlobal.Text = documento.dscRcgGlobal; // TODO pos.labelSubTotal.Text = documento.MntNeto.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); pos.labelMtoExento.Text = documento.MntExe.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); pos.labelIva.Text = documento.IVA.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); //pos.labelImpAdic.Text = documento.imptoReten; // TODO pos.labelMtoTotal.Text = documento.MntTotal.ToString("N0", CultureInfo.CreateSpecificCulture("es-ES")); //Cargo las referencias pos.ShowDialog(); }
private static void copyDoc(ref DocumentoModel _doc, DocumentoModel doc) { _doc.arquivo = doc.arquivo; _doc.diretorioDestino = doc.diretorioDestino; _doc.emailEnviado = doc.emailEnviado; _doc.encarregado = doc.encarregado; _doc.erro = doc.erro; _doc.gerente = doc.gerente; _doc.job = doc.job; _doc.mensagemDeErro = doc.mensagemDeErro; _doc.nrDemanda = doc.nrDemanda; _doc.linha = doc.linha; }
internal void InsertarActualizarDocumento(DocumentoModel model) { var parameters = new InsertarActualizarDocumentoCommand { idnumerodocumento = model.idnumerodocumento, ultimonumero = model.ultimonumero, idestacion = model.idestacion, serie = model.serie, primernumero = model.primernumero, idusuarioautorizado = model.idusuarioautorizado, idtipocomprobante = model.idtipocomprobante, _tipooperacion = 0 }; parameters.Execute(); }
public ActionResult Balanco() { var model = new DocumentoModelLista(); var tipos = new[] { "Defensoria Pública", "FUNDPERJ" }; foreach (var item in tipos) { var doc = new DocumentoModel(); doc.Documentos = DocumentosPorTipo(item); doc.Link = DicionarioPortalDPGE.uploadsArquivos; model.TiposDocumentos.Add(doc); } return(View("PastaListaDocumentos", model)); }
public Log(DocumentoModel documento) { TAB_KDSC_LOG logTeste = new TAB_KDSC_LOG(); logTeste.DATA_EXECUCAO = DateTime.Now; logTeste.JOB = documento.job; if (documento.mensagemDeErro == null) { logTeste.TIPO = "Success"; } else { logTeste.TIPO = "Error"; } logTeste.MENSAGEM_ERRO = documento.mensagemDeErro; InseriLog(logTeste); }
public void reimp(DocumentoModel docLectura, String xmlFilename, String impresora) { FuncionesComunes ted = new FuncionesComunes(); String TimbreElec = ted.getTed(xmlFilename); Thermal thermal = new Thermal(); thermal.doc = docLectura; thermal.dd = TimbreElec; // PrintDocument pd = new PrintDocument(); pd.DefaultPageSettings.PaperSize = new PaperSize("", 284, 1600); pd.PrintPage += new PrintPageEventHandler(thermal.OpenThermal); pd.PrinterSettings.PrinterName = impresora; Console.WriteLine(pd.ToString()); pd.Print(); }
public Log(string Observacao_log, DocumentoModel documento) { TAB_KDSC_LOG log = new TAB_KDSC_LOG(); log.DATA_EXECUCAO = DateTime.Now; log.JOB = documento.job; if (documento.mensagemDeErro == null) { log.TIPO = "Success"; } else { log.TIPO = "Error"; } log.MENSAGEM_ERRO = documento.mensagemDeErro; log.OBSERVACAO = Observacao_log; InseriLog(log); }
private void dataGridView1_CellClick(object sender, DataGridViewCellEventArgs e) { if (e.ColumnIndex == dataGridView1.Columns["abrir"].Index && e.RowIndex >= 0) { String tipoDte = dataGridView1.Rows[e.RowIndex].Cells["Tipo_Dte"].Value.ToString(); String folio = dataGridView1.Rows[e.RowIndex].Cells["Folio"].Value.ToString(); nombreDoc = dataGridView1.Rows[e.RowIndex].Cells["Documento"].Value.ToString(); getDoc(Convert.ToInt32(tipoDte), Convert.ToInt32(folio)); } if (e.ColumnIndex == dataGridView1.Columns["imprimir"].Index && e.RowIndex >= 0) { String tipoDte = dataGridView1.Rows[e.RowIndex].Cells["Tipo_Dte"].Value.ToString(); String folio = dataGridView1.Rows[e.RowIndex].Cells["Folio"].Value.ToString(); DocumentoModel documento = new DocumentoModel(); documento = documento.getDocumento(Convert.ToInt32(tipoDte), Convert.ToInt32(folio)); if (documento.TipoDTE != 802) { string dirPdf = @"" + regWin.unidadIat + ":/IatFiles/file/pdf/PRINT_" + documento.RUTEmisor + "_" + tipoDte + "_" + folio + ".pdf"; System.Diagnostics.Process.Start(dirPdf); } } }
public String doc_to_xmlSii(DocumentoModel doc, String TED, String fch) { String dte = "<DTE version=\"1.0\">\n" + "<Documento ID=\"F" + doc.Folio + "T" + doc.TipoDTE + "\">\n"; String tipodespacho = "<TipoDespacho>" + doc.TipoDespacho + "</TipoDespacho>\n"; if (doc.TipoDespacho == 0) { tipodespacho = ""; } String indtraslado = "<IndTraslado>" + doc.IndTraslado + "</IndTraslado>\n"; if (doc.IndTraslado == 0) { indtraslado = ""; } String encabezado = "<Encabezado>\n" + "<IdDoc> \n" + "<TipoDTE>" + doc.TipoDTE + "</TipoDTE>\n" + "<Folio>" + doc.Folio + "</Folio> \n" + "<FchEmis>" + doc.FchEmis + "</FchEmis>\n" + tipodespacho + indtraslado + "</IdDoc>\n"; String emisor = "<Emisor>\n" + "<RUTEmisor>" + doc.RUTEmisor + "</RUTEmisor>\n" + "<RznSoc>" + doc.RznSoc + "</RznSoc>\n" + "<GiroEmis>" + doc.GiroEmis + "</GiroEmis>\n" + "<Acteco>" + doc.Acteco + "</Acteco>\n" + "<CdgSIISucur>" + doc.CdgSIISucur + "</CdgSIISucur>\n" + "<DirOrigen>" + doc.DirOrigen + "</DirOrigen>\n" + "<CmnaOrigen>" + doc.CmnaOrigen + "</CmnaOrigen>\n" + "<CiudadOrigen>" + doc.CiudadOrigen + "</CiudadOrigen>\n" + "</Emisor>\n"; //limita el largo de giro receptor String giroreceptor = String.Empty; if (doc.GiroRecep.Length < 40) { giroreceptor = doc.GiroRecep; } else { giroreceptor = doc.GiroRecep.Substring(0, 40); } if (doc.DirRecep == " ") { Console.WriteLine("ERROR EN DATOS DEL RECEPTOR"); doc.DirRecep = "SIN DIRECCIÓN"; } if (doc.CiudadRecep == " ") { Console.WriteLine("ERROR EN DATOS DEL RECEPTOR"); doc.CiudadRecep = bd.getDirLocal(); } if (doc.CmnaRecep == " ") { Console.WriteLine("ERROR EN DATOS DEL RECEPTOR"); doc.CmnaRecep = bd.getDirLocal(); } String rznsocrecep = doc.RznSocRecep.Replace("&", "&"); String rutrecep = doc.RUTRecep.Replace("k", "K"); String dirrecep = doc.DirRecep.Replace("#", " "); String cmnarecep = String.Empty; String ciudadrecep = String.Empty; if (doc.CmnaRecep.Length < 20) { cmnarecep = doc.CmnaRecep; } else { cmnarecep = doc.CmnaRecep.Substring(0, 20); } if (doc.CiudadRecep.Length < 20) { ciudadrecep = doc.CiudadRecep; } else { ciudadrecep = doc.CiudadRecep.Substring(0, 20); } String receptor = "<Receptor>\n" + "<RUTRecep>" + rutrecep + "</RUTRecep>\n" + "<RznSocRecep>" + rznsocrecep + "</RznSocRecep>\n" + "<GiroRecep>" + giroreceptor + "</GiroRecep>\n" + "<DirRecep>" + dirrecep + "</DirRecep>\n" + "<CmnaRecep>" + cmnarecep + "</CmnaRecep>\n" + "<CiudadRecep>" + ciudadrecep + "</CiudadRecep>\n" + "</Receptor>\n"; String impreten = String.Empty; string impretenes = String.Empty; String ultipimp = String.Empty; if (doc.imptoReten != null) { foreach (var imp in doc.imptoReten) { if (ultipimp == imp.TipoImp && imp.TipoImp != "") { Environment.Exit(0); } Console.WriteLine("ERROR JSON: Impuesto Retención duplicado"); impreten = "<ImptoReten>\n" + "<TipoImp>" + imp.TipoImp + "</TipoImp>\n" + "<TasaImp>" + imp.TasaImp + "</TasaImp>\n" + "<MontoImp>" + imp.MontoImp + "</MontoImp>\n" + "</ImptoReten>\n"; if (imp.TipoImp == "" || imp.TipoImp == "0") { impreten = ""; } impretenes += impreten; ultipimp = imp.TipoImp; } } String mntneto = "<MntNeto>" + doc.MntNeto + "</MntNeto>\n"; if (doc.MntNeto == 0) { mntneto = ""; } String mntexe = "<MntExe>" + doc.MntExe + "</MntExe>\n"; if (doc.MntExe == 0) { mntexe = ""; } String tasaiva = "<TasaIVA>" + doc.TasaIVA + "</TasaIVA>\n"; if (doc.TasaIVA == 0) { tasaiva = ""; } String iva = "<IVA>" + doc.IVA + "</IVA>\n"; if (doc.IVA == 0) { iva = ""; } String totales = "<Totales>\n" + mntneto + mntexe + tasaiva + iva + impretenes + "<MntTotal>" + doc.MntTotal + "</MntTotal>\n" + "</Totales>\n"; String finencabezado = "</Encabezado>\n"; //arma encabezado en documento String documento = dte + encabezado + emisor + receptor + totales + finencabezado; // for para crear detalles y agregarlos al documento String detalle; String firstNmbItem = String.Empty; int i = 0; foreach (var det in doc.detalle) { String indexe = "<IndExe>" + det.IndExe + "</IndExe>\n"; if (det.IndExe == "0" || det.IndExe == "") { indexe = ""; } String qtyitem = "<QtyItem>" + det.QtyItem + "</QtyItem>\n"; if (det.QtyItem == 0) { qtyitem = ""; } String unmditem = "<UnmdItem>" + det.UnmdItem + "</UnmdItem>\n"; if (det.UnmdItem == "") { unmditem = ""; } String prcitem = "<PrcItem>" + det.PrcItem + "</PrcItem>\n"; if (det.PrcItem == 0) { prcitem = ""; } //agrego el punto de float String conpunto = det.DescuentoPct.ToString("N1"); String descuentopct = "<DescuentoPct>" + conpunto + "</DescuentoPct>\n"; if (det.DescuentoPct == 0) { descuentopct = ""; } String descuentomonto = "<DescuentoMonto>" + det.DescuentoMonto + "</DescuentoMonto>\n"; if (det.DescuentoMonto == 0) { descuentomonto = ""; } String codimpadic = "<CodImpAdic>" + det.CodImpAdic + "</CodImpAdic>\n"; if (det.CodImpAdic == "" || det.CodImpAdic == "0") { codimpadic = ""; } String nmbItem = det.NmbItem.Replace("&", "&"); detalle = "<Detalle>\n" + "<NroLinDet>" + det.NroLinDet + "</NroLinDet>\n" + "<CdgItem>\n" + "<TpoCodigo>" + det.TpoCodigo + "</TpoCodigo>\n" + "<VlrCodigo>" + det.VlrCodigo + "</VlrCodigo>\n" + "</CdgItem>\n" + indexe + "<NmbItem>" + nmbItem + "</NmbItem>\n" + qtyitem + unmditem + prcitem + descuentopct + descuentomonto + codimpadic + "<MontoItem>" + det.MontoItem + "</MontoItem>\n" + "</Detalle>\n"; documento = documento + detalle; if (i == 0) { firstNmbItem = nmbItem.Replace("&", " "); } i++; } // for para crear descuento global y agregarlas al documento String descuentoglobal = String.Empty; if (doc.dscRcgGlobal != null) { foreach (var desglo in doc.dscRcgGlobal) { String nrolindr = "<NroLinDR>" + desglo.NroLinDR + "</NroLinDR>\n"; if (desglo.NroLinDR == 0) { nrolindr = ""; } String tpomov = "<TpoMov>" + desglo.TpoMov + "</TpoMov>\n"; if (desglo.TpoMov == "") { tpomov = ""; } String glosadr = "<GlosaDR>" + desglo.GlosaDR + "</GlosaDR>\n"; if (desglo.GlosaDR == "") { glosadr = ""; } String tpovalor = "<TpoValor>" + desglo.TpoValor + "</TpoValor>\n"; if (desglo.TpoValor == "") { tpovalor = ""; } String valordr = "<ValorDR>" + desglo.ValorDR + "</ValorDR>\n"; if (desglo.ValorDR == 0) { valordr = ""; } descuentoglobal = "<DscRcgGlobal>\n" + nrolindr + tpomov + glosadr + tpovalor + valordr + "</DscRcgGlobal>\n"; if (desglo.NroLinDR == 0) { descuentoglobal = ""; } documento = documento + descuentoglobal; } } // for para crear referencias y agregarlas al documento String referencia; if (doc.Referencia != null) { foreach (var refe in doc.Referencia) { String indglobal = "<IndGlobal>" + refe.IndGlobal + "</IndGlobal>\n"; if (refe.IndGlobal == 0) { indglobal = ""; } String rutotr = "<RUTOtr>" + refe.RUTOtr + "</RUTOtr>\n"; if (refe.RUTOtr == "" || refe.RUTOtr == null) { rutotr = ""; } String codref = "<CodRef>" + refe.CodRef + "</CodRef>\n"; if (refe.CodRef == 0) { codref = ""; } String folioref = "<FolioRef>" + refe.FolioRef + "</FolioRef>\n"; if (refe.FolioRef == "") { folioref = ""; } String fecharef = "<FchRef>" + refe.FchRef + "</FchRef>\n"; if (refe.FchRef == "") { fecharef = ""; } referencia = "<Referencia>\n" + "<NroLinRef>" + refe.NroLinRef + "</NroLinRef>\n" + "<TpoDocRef>" + refe.TpoDocRef + "</TpoDocRef>\n" + indglobal + folioref + rutotr + // "<IdAdicOtr>" + refe.IdAdicOtr + "</IdAdicOtr> \n" + fecharef + codref + "<RazonRef>" + refe.RazonRef + "</RazonRef>\n" + "</Referencia>\n"; if (refe.NroLinRef == 0) { referencia = ""; } documento = documento + referencia; } } String fechaFirma = "<TmstFirma>" + fch + "</TmstFirma>\r\n"; String findocumenro = "</Documento>\r\n"; String findte = "</DTE>\r\n"; documento = documento + TED + fechaFirma + findocumenro + findte; X509Certificate2 cert = FuncionesComunes.obtenerCertificado(doc.NombreCertificado); String signDte = firmarDocumento(documento, cert); return(signDte); }
public frmPuntoVenta(DocumentoModel doc) { InitializeComponent(); this.documento = doc; }
public frmSelecVenta(frmNewVenta pos, DocumentoModel doc) { InitializeComponent(); this.pos = pos; this.documento = doc; }
public frmNewVenta(DocumentoModel doc, frmVentas frminicio) { InitializeComponent(); documento = doc; this.frminicio = frminicio; }