Merge branch 'master' of http://192.168.10.111:8383/SIG
This commit is contained in:
@@ -4144,6 +4144,7 @@
|
||||
<asp:UpdatePanel ID="UpFacturar" runat="server" class="portlet light xspadding bordered " style="max-width: 300px;" align="right" UpdateMode="Conditional">
|
||||
<Triggers>
|
||||
<asp:PostBackTrigger ControlID="BtnVistaPrevia" />
|
||||
<asp:PostBackTrigger ControlID="LBVistaPrevia" />
|
||||
</Triggers>
|
||||
<ContentTemplate>
|
||||
|
||||
@@ -4185,6 +4186,9 @@
|
||||
Facturar <i class="fa fa-angle-down"></i>
|
||||
</button>
|
||||
<ul class="dropdown-menu">
|
||||
<li>
|
||||
<asp:LinkButton ID="LBVistaPrevia" Text="Vista Previa" OnClick="LBVistaPrevia_Click" runat="server" Visible="false" />
|
||||
</li>
|
||||
<li>
|
||||
<asp:LinkButton ID="LBFacturarIngreso" Text="Ingreso" OnClick="LBFacturarIngreso_Click" runat="server" data-toggle="confirmation" data-popout="true" data-original-title="¿Seguro que desea facturar como tipo ingreso?" data-btn-ok-label="si" />
|
||||
</li>
|
||||
@@ -8675,16 +8679,20 @@
|
||||
}
|
||||
|
||||
//FUNCIONES PARA COMERCIO EXTERIOR
|
||||
function CalculaTotalUSD(TotalUSD, ValorUnitario, TxtCantidad) {
|
||||
TotalUSD.innerText = FormatoNumero(ToDouble(ValorUnitario.value) * ToDouble(TxtCantidad.value), 2);
|
||||
}
|
||||
|
||||
function CalculaPU_USD(TxtValorUnitario, TotalUSD, TxtCantidad) {
|
||||
TxtValorUnitario.value = FormatoNumero(ToDouble(TotalUSD) / ToDouble(TxtCantidad.value), 6);
|
||||
if(ToDouble(TxtCantidad.value) > 0){
|
||||
TxtValorUnitario.value = ((ToDouble(TotalUSD) / ToDouble(TxtCantidad.value)).toFixed(6)).toString();
|
||||
}else{
|
||||
TxtValorUnitario.value = "0";
|
||||
}
|
||||
}
|
||||
|
||||
function CalculaCantidad_USD(TxtValorUnitario, TotalUSD, TxtCantidad) {
|
||||
TxtCantidad.value = FormatoNumero(ToDouble(TotalUSD) / ToDouble(TxtValorUnitario.value), 6);
|
||||
if (ToDouble(TxtValorUnitario.value) > 0) {
|
||||
TxtCantidad.value = ((ToDouble(TotalUSD) / ToDouble(TxtValorUnitario.value)).toFixed(6)).toString();
|
||||
}else{
|
||||
TxtCantidad.value = "0";
|
||||
}
|
||||
}
|
||||
|
||||
function LimitaCantidadAplicaDev(Cantidad, TxtCantidadAplicaDevolucion) {
|
||||
|
||||
Reference in New Issue
Block a user