--Ajustes al tipo de moneda del contrato

This commit is contained in:
AbrahamCastilloV
2024-04-19 17:45:21 -07:00
parent 38164844e5
commit 7d92ef3831
2 changed files with 3 additions and 1 deletions

View File

@@ -143,6 +143,7 @@ Partial Class RepContratoDetalle
LbCveSubProyecto.Text = Contrato.Rows(0)("CveSubProyecto").ToString
DdlClientes.SelectedText = Contrato.Rows(0)("NombreComercial").ToString
DdlClientes.SelectedValue = Contrato.Rows(0)("CveCliente").ToString
DdlMoneda.SelectedValue = Contrato.Rows(0)("CveMoneda").ToString
TxtDescripcion.Text = Contrato.Rows(0)("DescripcionContrato").ToString
TxtObservaciones.Text = Contrato.Rows(0)("Observaciones").ToString
TelefonoEmpresa = Contrato.Rows(0)("Telefono").ToString
@@ -323,7 +324,7 @@ Partial Class RepContratoDetalle
New ReportParameter("CantidadPasajeros", TxtCantidadPasajeros.Text),
New ReportParameter("TipoAF", DdlTipoAF.SelectedItem.ToString()),
New ReportParameter("Pesos", Math.Round(TxtImporte.Text.ToDecimal, 2).ToString),
New ReportParameter("Dolares", Math.Round((TxtImporte.Text.ToDecimal / 17.1), 2).ToString),
New ReportParameter("Moneda", DdlMoneda.SelectedItem.ToString),
New ReportParameter("Anticipo", Math.Round((TxtAnticipo.Text.ToDecimal * TxtImporte.Text.ToDecimal) / 2).ToString),
New ReportParameter("Total", Math.Round((TxtImporte.Text.ToDecimal - (TxtAnticipo.Text.ToDecimal * TxtImporte.Text.ToDecimal)), 2).ToString),
New ReportParameter("DiaSalida", $"{TxtFechaSalida.Text.ToDate.Hour}:{TxtFechaSalida.Text.ToDate.Minute} "),

View File

@@ -63,6 +63,7 @@
<package id="NuGet.Core" version="2.14.0" targetFramework="net481" />
<package id="Owin" version="1.0" targetFramework="net481" />
<package id="Portable.BouncyCastle" version="1.8.9" targetFramework="net481" />
<package id="QRCoder" version="1.4.3" targetFramework="net48" />
<package id="StackExchange.Redis.StrongName" version="1.0.488" targetFramework="net481" />
<package id="System.Buffers" version="4.5.1" targetFramework="net481" />
<package id="System.Collections.Immutable" version="1.7.1" targetFramework="net481" />