188 lines
13 KiB
Plaintext
188 lines
13 KiB
Plaintext
<%@ Page Title="" Language="VB" MasterPageFile="~/Site.master" AutoEventWireup="false" CodeFile="TimbraRetencion.aspx.vb" Inherits="General_TimbraRetencion" %>
|
|
|
|
|
|
<asp:Content ID="Content1" ContentPlaceHolderID="CP" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content2" ContentPlaceHolderID="Css" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content3" ContentPlaceHolderID="E" runat="Server">
|
|
Timbrados de retenciones
|
|
</asp:Content>
|
|
<asp:Content ID="Content4" ContentPlaceHolderID="HB" runat="Server">
|
|
</asp:Content>
|
|
<asp:Content ID="Content5" ContentPlaceHolderID="H" runat="Server">
|
|
<asp:UpdatePanel ID="UpAcciones" runat="server" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<li>
|
|
<asp:LinkButton ID="LnkAgregarRetencion" OnClick="LnkAgregarRetencion_Click" runat="server"><i class="fa fa-plus"></i>Agregar Retención</asp:LinkButton></li>
|
|
</li>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
<li>
|
|
<asp:LinkButton ID="LnkExportar" runat="server"><i class="fa fa-ad-excel"></i> Genera Excel</asp:LinkButton>
|
|
</li>
|
|
</asp:Content>
|
|
<asp:Content ID="Content6" ContentPlaceHolderID="C" runat="Server">
|
|
|
|
ddd
|
|
<asp:GridView ID="GvLista" runat="server"></asp:GridView>
|
|
|
|
<div id="DModalRetencion" class="modal ADS fade" role="dialog">
|
|
<asp:UpdatePanel class="modal-dialog" runat="server" ID="UpModal" UpdateMode="Conditional">
|
|
<ContentTemplate>
|
|
<div class="modal-content">
|
|
<div class="modal-header ">
|
|
<h4 class="modal-title">
|
|
<asp:Literal ID="ltlMotititulo" Text="Retención" runat="server"> </asp:Literal></h4>
|
|
</div>
|
|
<div class="modal-body">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= DdlClaveRetencion.ClientID.ToString()%>">Clave Retención:</label>
|
|
<asp:DropDownList ID="DdlClaveRetencion" runat="server" CssClass="select2me">
|
|
<asp:ListItem Text="01-Servicios profesionales" Value="01"></asp:ListItem>
|
|
<asp:ListItem Text="14-Dividendos o utilidades distribuidas" Value="14"></asp:ListItem>
|
|
<asp:ListItem Text="28-Pagos y retenciones a Contribuyentes del RIF" Value="28"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= DdlClientes.ClientID%>">Cliente:</label>
|
|
<ADS:Dropdownlost CssClassDdl="select2me" ID="DdlClientes" EsWebService="true" Width="100%" data-metodo="getcliente" runat="server" DataTextField="NombreComercial" DataValueField="CveCliente" CssStyle="width: 100%;"></ADS:Dropdownlost>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="form-group form-md-line-input input-iconright col-md-4">
|
|
<label for="<%= DdlPeriodoInicio.ClientID.ToString()%>">P. Inicial:</label>
|
|
<asp:DropDownList ID="DdlPeriodoInicio" runat="server" CssClass="select2me">
|
|
<asp:ListItem Text="Enero" Value="01"></asp:ListItem>
|
|
<asp:ListItem Text="Febrero" Value="02"></asp:ListItem>
|
|
<asp:ListItem Text="Marzo" Value="03"></asp:ListItem>
|
|
<asp:ListItem Text="Abril" Value="04"></asp:ListItem>
|
|
<asp:ListItem Text="Mayo" Value="05"></asp:ListItem>
|
|
<asp:ListItem Text="Junio" Value="06"></asp:ListItem>
|
|
<asp:ListItem Text="Julio" Value="07"></asp:ListItem>
|
|
<asp:ListItem Text="Agosto" Value="08"></asp:ListItem>
|
|
<asp:ListItem Text="Septiembre" Value="09"></asp:ListItem>
|
|
<asp:ListItem Text="Octubre" Value="10"></asp:ListItem>
|
|
<asp:ListItem Text="Noviembre" Value="11"></asp:ListItem>
|
|
<asp:ListItem Text="Diciembre" Value="12"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright col-md-4">
|
|
<label for="<%= DdlPeriodoFin.ClientID.ToString()%>">P. Fin:</label>
|
|
<asp:DropDownList ID="DdlPeriodoFin" runat="server" CssClass="select2me">
|
|
<asp:ListItem Text="Enero" Value="01"></asp:ListItem>
|
|
<asp:ListItem Text="Febrero" Value="02"></asp:ListItem>
|
|
<asp:ListItem Text="Marzo" Value="03"></asp:ListItem>
|
|
<asp:ListItem Text="Abril" Value="04"></asp:ListItem>
|
|
<asp:ListItem Text="Mayo" Value="05"></asp:ListItem>
|
|
<asp:ListItem Text="Junio" Value="06"></asp:ListItem>
|
|
<asp:ListItem Text="Julio" Value="07"></asp:ListItem>
|
|
<asp:ListItem Text="Agosto" Value="08"></asp:ListItem>
|
|
<asp:ListItem Text="Septiembre" Value="09"></asp:ListItem>
|
|
<asp:ListItem Text="Octubre" Value="10"></asp:ListItem>
|
|
<asp:ListItem Text="Noviembre" Value="11"></asp:ListItem>
|
|
<asp:ListItem Text="Diciembre" Value="12"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<div class="form-group form-md-line-input input-iconright col-md-4">
|
|
<label for="<%= DdlEjercicio.ClientID.ToString()%>">Ejercicio:</label>
|
|
<asp:DropDownList ID="DdlEjercicio" runat="server" CssClass="select2me">
|
|
<asp:ListItem Text="2023" Value="2023"></asp:ListItem>
|
|
<asp:ListItem Text="2024" Value="2024"></asp:ListItem>
|
|
<asp:ListItem Text="2025" Value="2025"></asp:ListItem>
|
|
<asp:ListItem Text="2026" Value="2026"></asp:ListItem>
|
|
<asp:ListItem Text="2027" Value="2027"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="row">
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtBase.ClientID.ToString()%>">Base Impuesto:</label>
|
|
<asp:TextBox ID="TxtBase" runat="server" Width="100px"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= DdlTipoImpuesto.ClientID.ToString()%>">Tipo Impuesto:</label>
|
|
<asp:DropDownList ID="DdlTipoImpuesto" runat="server" CssClass="select2me">
|
|
<asp:ListItem Text="ISR" Value="01"></asp:ListItem>
|
|
<asp:ListItem Text="IVA" Value="02"></asp:ListItem>
|
|
<asp:ListItem Text="IEPS" Value="03"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtImpuestoRetenido.ClientID.ToString()%>">Impuesto Retenido:</label>
|
|
<asp:TextBox ID="TxtImpuestoRetenido" runat="server" Width="100px"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= DdlTipoPagoRet.ClientID.ToString()%>">Tipo Impuesto:</label>
|
|
<asp:DropDownList ID="DdlTipoPagoRet" runat="server" CssClass="select2me">
|
|
<asp:ListItem Text="Pago definitivo IVA" Value="01"></asp:ListItem>
|
|
<asp:ListItem Text="Pago definitivo IEPS" Value="02"></asp:ListItem>
|
|
<asp:ListItem Text="Pago definitivo ISR" Value="03"></asp:ListItem>
|
|
<asp:ListItem Text="Pago provisional ISR" Value="04"></asp:ListItem>
|
|
</asp:DropDownList>
|
|
</div>
|
|
<asp:Button ID="BtnAgregar" runat="server" Text="++" OnClick="BtnAgregar_Click" />
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<asp:GridView ID="GvD" runat="server" AutoGenerateColumns="false" DataKeyNames="TipoImpuesto,ClaveTipoImpuesto,BaseRetencion,ClaveTipoPagoRetencion,TipoPagoRetencion,MontoRetencion">
|
|
<Columns>
|
|
<asp:BoundField DataField="TipoImpuesto" HeaderText="TipoImpuesto" />
|
|
<asp:BoundField DataField="BaseRetencion" HeaderText="BaseRetencion" />
|
|
<asp:BoundField DataField="TipoPagoRetencion" HeaderText="TipoPagoRetencion" />
|
|
<asp:BoundField DataField="MontoRetencion" HeaderText="MontoRetencion" />
|
|
</Columns>
|
|
</asp:GridView>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-md-12">
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtTotal1.ClientID.ToString()%>">Total monto operaciones:</label>
|
|
<asp:TextBox ID="TxtTotal1" runat="server" Width="80px" Text="0.00"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtTotalGravado.ClientID.ToString()%>">Total Gravado:</label>
|
|
<asp:TextBox ID="TxtTotalGravado" runat="server" Width="80px" Text="0.00"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtTotalExento.ClientID.ToString()%>">Total Exento:</label>
|
|
<asp:TextBox ID="TxtTotalExento" runat="server" Width="80px" Text="0.00"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
<div class="col-md-3">
|
|
<div class="form-group form-md-line-input input-iconright">
|
|
<label for="<%= TxtTotalRetenciones.ClientID.ToString()%>">Total Retenciones:</label>
|
|
<asp:TextBox ID="TxtTotalRetenciones" runat="server" Width="80px" Text="0.00"></asp:TextBox>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="modal-footer">
|
|
<asp:Button ID="BtnEmitirRetencion" runat="server" Text="Emitir Retención" OnClick="BtnEmitirRetencion_Click" CssClass ="btn btn-primary" ValidationGroup="VgmGuardar" />
|
|
<button type="button" class="btn btn-danger" data-dismiss="modal">Cancelar</button>
|
|
</div>
|
|
</div>
|
|
</ContentTemplate>
|
|
</asp:UpdatePanel>
|
|
</div>
|
|
</asp:Content>
|
|
<asp:Content ID="Content7" ContentPlaceHolderID="JS" runat="Server">
|
|
</asp:Content>
|
|
|