Implementar ingreso de recibos #7

Open
opened 3 days ago by rodo · 0 comments
rodo commented 3 days ago
Owner

Al llegar a la parte de ingreso de det del comprobante en si sale esto

<form name="datosOperacionForm" action="genComResumenDatos.do" method="post" style="margin-top:0px;">

<input type="hidden" name="idIVAReceptor" id="idivareceptor" value="5">
<input type="hidden" name="idTipoDocReceptor" id="idtipodocreceptor" value="">
<input type="hidden" name="nroDocReceptor" id="nrodocreceptor" value="">
<input type="hidden" name="razonSocialReceptor" id="razonsocialreceptor" value="">
<input type="hidden" name="domicilioReceptor" id="domicilioreceptor" value="">
<input type="hidden" name="emailReceptor" id="email" value="">
	
	<div class="jig_borde">
		<div class="jig_contenido" id="detalles_datos">
			
			<table class="jig_formvertical" id="idoperacion">
				<tbody><tr>
					<th style="text-align:left;">Descripción del Servicio</th>
					
					<th></th>
					<th>Precio</th>
					
				</tr>
				<tr>
					<td><textarea class="soloTexto" name="detalleDescripcion" id="detalle_descripcion" maxlength="400" style="width:500px;" rows="6" onkeypress="return limitarLongitudTextArea(event,this,400);" onkeyup="recortar(this,400);" onblur="recortar(this,400);"></textarea></td>
					<!--Importante: *no* poner un fin de linea antes del select-->
					
					<td></td>
					
					<td style="vertical-align:top;"><input type="text" class="soloNumerosConDecimales" name="detallePrecio" maxlength="16" id="detalle_precio" onkeyup="calcularSubtotalDetalle();"></td>
				</tr>
			</tbody></table>
			
			<br>
			
			<br>
			
		</div>
	</div>
	<div class="jig_fin_de_pagina"><!-- IE falla sin este comentario --></div>
	<div class="jig_borde">
		<div class="jig_contenido" id="resumen_datos">
			<table style="width:100%;">
				<tbody><tr>
					<td>
						<table class="jig_formsmall" id="impuestos" style="padding:0;margin:0;text-align:left;">
							<tbody><tr>
								<th style="padding:0px;"></th>
								<td style="padding:0px;">Detalle</td>
								<td style="padding:0px;">Base<br>Imponible</td>
								<td style="padding:0px;text-align:center;">Alícuota<br>%</td>
								<td style="padding-left:12px;">Importe</td>
								<td style="padding:0px;"></td>
							</tr>
							<tr><td style="text-align:right;width:180px;padding-bottom:3px;"><select id="impuesto_1"><option value="999">Seleccionar...</option><option value="1">Impuestos Nacionales</option><option value="2">Impuestos Provinciales</option><option value="3">Tributos Municipales</option><option value="4">Impuestos Internos</option><option value="5">Ingresos Brutos</option><option value="6">Percepción de IVA</option><option value="7">Percepción de Ingresos Brutos</option><option value="8">Percepción por Tributos Municipales</option><option value="9">Otras Percepciones</option><option value="13">Percepción de IVA a No Categorizado</option><option value="99">Otros</option></select><input type="hidden" name="impuestoCodigo" id="impuesto_codigo1" value="999"><input type="hidden" name="impuestoDescripcion" id="impuesto_descripcion1" value=""></td><td style="padding:0px;"><input type="text" class="soloTexto" name="impuestoDetalle" id="impuesto_detalle1" onkeyup="calcularTotalImpuestos();" style="width:100px;" maxlength="25"></td><td style="padding:0px;"><input type="text" class="soloNumerosConDecimales" name="impuestoBaseImponible" id="impuesto_baseimponible1" onkeyup="calcularImporteFilaImpuestos(1);" onchange="calcularImporteFilaImpuestos(1);" style="width:70px;"></td><td style="padding:0px;"><input type="text" class="soloNumerosConDecimales" name="impuestoAlicuota" id="impuesto_alicuota1" onkeyup="calcularImporteFilaImpuestos(1);" onchange="calcularImporteFilaImpuestos(1);" style="width:45px;"></td><td style="padding:0px;"><span>$</span>&nbsp;<input type="text" class="soloNumerosConDecimales" name="impuestoMonto" onkeyup="calcularTotalImpuestos();" id="impuesto_monto1" onchange="limpiarBIyAFilaImpuestos(1);" style="width:70px;"></td><td style="padding:0px;"><span style="width:100%;text-align:center;"><input type="button" name="Eliminar" id="ef" value="X" style="width:31px;text-align:center;color:#FF0000;font-size:10px;" onclick="borrarFilaImpuesto(1);"></span></td></tr><tr>
								<th colspan="4" style="padding:0px;"><b>Importe Otros Tributos:</b></th>
								<td nowrap="nowrap" style="padding:0px;"><span>$</span> <input type="text" name="impTotalImpuestos1" id="imptotalimpuestos1" class="jig_readonly" readonly="readonly" style="width:70px;font-weight:bold;text-align:right;">
							</td></tr>
							<tr>
								<td colspan="2"></td>
								<td colspan="3" align="center"><br><input type="button" value="Agregar otro Tributo" name="agregarImp" onclick="insertarFilaImpuesto(true, 999);" style="text-align:center;width:190px;"></td>
								<td></td>
							</tr>
							
						</tbody></table>
					</td>
					<td style="vertical-align:top;height:100%;float:right;">
						<table class="jig_formsmall" style="height:100%;">
							<tbody><tr>
								<td style="vertical-align:top;">
									<table class="jig_formsmall" id="importes" style="float:right;">
									
										<tbody><tr>
											<th colspan="2">Subtotal: </th><td nowrap="nowrap"><span>$</span> <input type="text" name="subtotal2" id="subtotal2" class="jig_readonly" readonly="readonly" style="width:80px;text-align:right;"></td>
										</tr>
										<tr>
											<th nowrap="nowrap"><span>%</span> Bonif.:<input type="text" name="detallePorcentajeBonificacion" id="detalle_porcentaje_bonificacion" size="3" maxlength="6" style="font-size:10px;" onkeyup="calcularImporteBonificacionDetalle();" value="0"></th>
											<th nowrap="nowrap">Importe<br>Bonif.: </th><td><span>$</span> <input type="text" name="detalleImporteBonificacion" id="detalle_importe_bonificacion" style="width:80px;text-align:right;" onkeyup="calcularPorcentajeBonificacionDetalle();" value="0.00"><input type="hidden" name="detalleTipoBonificacion" id="detalle_tipo_bonificacion" value="porcentaje"></td>
										</tr>
										<tr>
											<th colspan="2">Subtotal c/Bonif.: </th><td nowrap="nowrap"><span>$</span> <input type="text" name="subtotal3" id="subtotal3" class="jig_readonly" readonly="readonly" style="width:80px;text-align:right;"></td>
										</tr>
									
									</tbody></table>
								</td>
							</tr>
							<tr>
								<td>
									<table class="jig_formsmall" style="float:right;">
										<tbody><tr>
											<th><b>Importe Otros Tributos: </b></th><td nowrap="nowrap"><span>$</span> <input type="text" name="impTotalImpuestos2" id="imptotalimpuestos2" class="jig_readonly" readonly="readonly" style="width:80px;font-weight:bold;text-align:right;"></td>
										</tr>
									</tbody></table>
								</td>
							</tr>
							<tr>
								<td>
									<table class="jig_formsmall" style="float:right;">
										<tbody><tr>
											<th><b>Importe Total: </b></th><td nowrap="nowrap"><span>$</span> <input type="text" name="impTotal" id="imptotal" class="jig_readonly" readonly="readonly" style="width:80px;font-weight:bold;text-align:right;"></td>
										</tr>
										
									</tbody></table>
								</td>
							</tr>
						</tbody></table>
					</td>
				</tr>
			</tbody></table>
		</div>
	</div>
	<div class="jig_fin_de_pagina"><!-- IE falla sin este comentario --></div>
	
	
		
	<br>
	<input type="button" value="&lt; Volver" onclick="parent.history.back();">&nbsp;<input type="button" value="Continuar &gt;" onclick="validarCampos();">
	<br><br>
</form>

Al llegar a la parte de ingreso de det del comprobante en si sale esto ```html <form name="datosOperacionForm" action="genComResumenDatos.do" method="post" style="margin-top:0px;"> <input type="hidden" name="idIVAReceptor" id="idivareceptor" value="5"> <input type="hidden" name="idTipoDocReceptor" id="idtipodocreceptor" value=""> <input type="hidden" name="nroDocReceptor" id="nrodocreceptor" value=""> <input type="hidden" name="razonSocialReceptor" id="razonsocialreceptor" value=""> <input type="hidden" name="domicilioReceptor" id="domicilioreceptor" value=""> <input type="hidden" name="emailReceptor" id="email" value=""> <div class="jig_borde"> <div class="jig_contenido" id="detalles_datos"> <table class="jig_formvertical" id="idoperacion"> <tbody><tr> <th style="text-align:left;">Descripción del Servicio</th> <th></th> <th>Precio</th> </tr> <tr> <td><textarea class="soloTexto" name="detalleDescripcion" id="detalle_descripcion" maxlength="400" style="width:500px;" rows="6" onkeypress="return limitarLongitudTextArea(event,this,400);" onkeyup="recortar(this,400);" onblur="recortar(this,400);"></textarea></td> <!--Importante: *no* poner un fin de linea antes del select--> <td></td> <td style="vertical-align:top;"><input type="text" class="soloNumerosConDecimales" name="detallePrecio" maxlength="16" id="detalle_precio" onkeyup="calcularSubtotalDetalle();"></td> </tr> </tbody></table> <br> <br> </div> </div> <div class="jig_fin_de_pagina"><!-- IE falla sin este comentario --></div> <div class="jig_borde"> <div class="jig_contenido" id="resumen_datos"> <table style="width:100%;"> <tbody><tr> <td> <table class="jig_formsmall" id="impuestos" style="padding:0;margin:0;text-align:left;"> <tbody><tr> <th style="padding:0px;"></th> <td style="padding:0px;">Detalle</td> <td style="padding:0px;">Base<br>Imponible</td> <td style="padding:0px;text-align:center;">Alícuota<br>%</td> <td style="padding-left:12px;">Importe</td> <td style="padding:0px;"></td> </tr> <tr><td style="text-align:right;width:180px;padding-bottom:3px;"><select id="impuesto_1"><option value="999">Seleccionar...</option><option value="1">Impuestos Nacionales</option><option value="2">Impuestos Provinciales</option><option value="3">Tributos Municipales</option><option value="4">Impuestos Internos</option><option value="5">Ingresos Brutos</option><option value="6">Percepción de IVA</option><option value="7">Percepción de Ingresos Brutos</option><option value="8">Percepción por Tributos Municipales</option><option value="9">Otras Percepciones</option><option value="13">Percepción de IVA a No Categorizado</option><option value="99">Otros</option></select><input type="hidden" name="impuestoCodigo" id="impuesto_codigo1" value="999"><input type="hidden" name="impuestoDescripcion" id="impuesto_descripcion1" value=""></td><td style="padding:0px;"><input type="text" class="soloTexto" name="impuestoDetalle" id="impuesto_detalle1" onkeyup="calcularTotalImpuestos();" style="width:100px;" maxlength="25"></td><td style="padding:0px;"><input type="text" class="soloNumerosConDecimales" name="impuestoBaseImponible" id="impuesto_baseimponible1" onkeyup="calcularImporteFilaImpuestos(1);" onchange="calcularImporteFilaImpuestos(1);" style="width:70px;"></td><td style="padding:0px;"><input type="text" class="soloNumerosConDecimales" name="impuestoAlicuota" id="impuesto_alicuota1" onkeyup="calcularImporteFilaImpuestos(1);" onchange="calcularImporteFilaImpuestos(1);" style="width:45px;"></td><td style="padding:0px;"><span>$</span>&nbsp;<input type="text" class="soloNumerosConDecimales" name="impuestoMonto" onkeyup="calcularTotalImpuestos();" id="impuesto_monto1" onchange="limpiarBIyAFilaImpuestos(1);" style="width:70px;"></td><td style="padding:0px;"><span style="width:100%;text-align:center;"><input type="button" name="Eliminar" id="ef" value="X" style="width:31px;text-align:center;color:#FF0000;font-size:10px;" onclick="borrarFilaImpuesto(1);"></span></td></tr><tr> <th colspan="4" style="padding:0px;"><b>Importe Otros Tributos:</b></th> <td nowrap="nowrap" style="padding:0px;"><span>$</span> <input type="text" name="impTotalImpuestos1" id="imptotalimpuestos1" class="jig_readonly" readonly="readonly" style="width:70px;font-weight:bold;text-align:right;"> </td></tr> <tr> <td colspan="2"></td> <td colspan="3" align="center"><br><input type="button" value="Agregar otro Tributo" name="agregarImp" onclick="insertarFilaImpuesto(true, 999);" style="text-align:center;width:190px;"></td> <td></td> </tr> </tbody></table> </td> <td style="vertical-align:top;height:100%;float:right;"> <table class="jig_formsmall" style="height:100%;"> <tbody><tr> <td style="vertical-align:top;"> <table class="jig_formsmall" id="importes" style="float:right;"> <tbody><tr> <th colspan="2">Subtotal: </th><td nowrap="nowrap"><span>$</span> <input type="text" name="subtotal2" id="subtotal2" class="jig_readonly" readonly="readonly" style="width:80px;text-align:right;"></td> </tr> <tr> <th nowrap="nowrap"><span>%</span> Bonif.:<input type="text" name="detallePorcentajeBonificacion" id="detalle_porcentaje_bonificacion" size="3" maxlength="6" style="font-size:10px;" onkeyup="calcularImporteBonificacionDetalle();" value="0"></th> <th nowrap="nowrap">Importe<br>Bonif.: </th><td><span>$</span> <input type="text" name="detalleImporteBonificacion" id="detalle_importe_bonificacion" style="width:80px;text-align:right;" onkeyup="calcularPorcentajeBonificacionDetalle();" value="0.00"><input type="hidden" name="detalleTipoBonificacion" id="detalle_tipo_bonificacion" value="porcentaje"></td> </tr> <tr> <th colspan="2">Subtotal c/Bonif.: </th><td nowrap="nowrap"><span>$</span> <input type="text" name="subtotal3" id="subtotal3" class="jig_readonly" readonly="readonly" style="width:80px;text-align:right;"></td> </tr> </tbody></table> </td> </tr> <tr> <td> <table class="jig_formsmall" style="float:right;"> <tbody><tr> <th><b>Importe Otros Tributos: </b></th><td nowrap="nowrap"><span>$</span> <input type="text" name="impTotalImpuestos2" id="imptotalimpuestos2" class="jig_readonly" readonly="readonly" style="width:80px;font-weight:bold;text-align:right;"></td> </tr> </tbody></table> </td> </tr> <tr> <td> <table class="jig_formsmall" style="float:right;"> <tbody><tr> <th><b>Importe Total: </b></th><td nowrap="nowrap"><span>$</span> <input type="text" name="impTotal" id="imptotal" class="jig_readonly" readonly="readonly" style="width:80px;font-weight:bold;text-align:right;"></td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </div> </div> <div class="jig_fin_de_pagina"><!-- IE falla sin este comentario --></div> <br> <input type="button" value="&lt; Volver" onclick="parent.history.back();">&nbsp;<input type="button" value="Continuar &gt;" onclick="validarCampos();"> <br><br> </form> ```
rodo added this to the Afip Lua Scripts project 3 days ago
Sign in to join this conversation.
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.