Primer commit del sistema avantika sin cambios

This commit is contained in:
2026-01-06 19:42:24 -06:00
commit 3ae4be5957
7127 changed files with 440072 additions and 0 deletions

View File

@@ -0,0 +1,178 @@
<div id="divForm">
<form id="nuevaFactura" name="nuevaFactura" method="post">
<input type="hidden" id="userId" name="userId" value="{$post.clienteId}" />
<input type="hidden" id="ventaId" name="ventaId" value="{$ventaId}" />
<fieldset>
<div class="formLine" style="text-align:left;">
<div style="width:90px;float:left">Folio Novomoda:</div>
<div style="width:172px;float:left">
<input type="text" value="{$ventaId}" size="20" class="largeInput" style="background-color:#eee" readonly="readonly" />
</div>
<div style="clear:both"></div>
</div>
<div class="formLine" style="text-align:left;">
<div style="width:90px;float:left">RFC:</div>
<div style="width:172px;float:left">
<input name="rfc" id="rfc" type="text" value="{$post.rfc}" size="20" class="largeInput" style="background-color:#eee" readonly="readonly" />
</div>
<div style="width:140px;float:left">Raz&oacute;n Social:</div>
<div style="width:320px;float:left"><input name="razonSocial" id="razonSocial" type="text" value="{$post.razonSocial}" disabled="disabled" style="background-color:#eee" size="67" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Calle:</div>
<div style="width:320px;float:left"><input name="calle" id="calle" type="text" value="{$post.calle}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">No. Exterior:</div>
<div style="width:155px;float:left"><input name="noExt" id="noExt" type="text" value="{$post.noExt}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">No. Interior:</div>
<div style="width:155px;float:left"><input name="noInt" id="noInt" type="text" value="{$post.noInt}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Colonia:</div>
<div style="width:320px;float:left"><input name="colonia" id="colonia" type="text" value="{$post.colonia}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">Municipio:</div>
<div style="width:155px;float:left"><input name="municipio" id="municipio" type="text" value="{$post.municipio}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">Estado:</div>
<div style="width:155px;float:left"><input name="estado" id="estado" type="text" value="{$post.estado}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput" /></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Localidad:</div>
<div style="width:320px;float:left"><input name="localidad" id="localidad" type="text" value="{$post.localidad}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">CP:</div>
<div style="width:155px;float:left"><input name="cp" id="cp" type="text" value="{$post.cp}" disabled="disabled" style="background-color:#eee" size="15" class="largeInput"/></div>
<div style="width:90px;float:left">Pais:</div>
<div style="width:155px;float:left"><input name="pais" id="pais" type="text" value="{$post.pais}" disabled="disabled" style="background-color:#eee" size="18" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Referencia:</div>
<div style="width:320px;float:left"><input name="referencia" id="referencia" type="text" value="{$post.referencia}" disabled="disabled" style="background-color:#eee" size="40" class="largeInput"/></div>
<div style="width:90px;float:left">Email:</div>
<div style="width:400px;float:left"><input name="email" id="email" type="text" value="{$post.email}" disabled="disabled" style="background-color:#eee" size="53" class="largeInput"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">Forma de Pago:</div>
<div style="width:320px;float:left"><input name="formaDePago" id="formaDePago" type="text" value="Pago en Una Sola Exhibicion" size="40" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
<div style="width:90px;float:left">Condiciones de Pago:</div>
<div style="width:400px;float:left"><input name="condicionesDePago" id="condicionesDePago" type="text" value="{$post.condicionesDePago}" size="53" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">M&eacute;todo de Pago:</div>
<div style="width:200px;float:left"><input name="metodoDePago" id="metodoDePago" type="text" value="{$post.metodoPago}" size="20" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
<div style="width:90px;float:left">N&uacute;mero de Cuenta:</div>
<div style="width:100px;float:left"><input name="numCtaPago" id="numCtaPago" type="text" value="" size="4" class="largeInput" maxlength="4" style="background-color:#eee" readonly="readonly" /></div>
<div style="width:90px;float:left">% de IVA:</div>
<div style="width:120px;float:left">
<select name="tasaIva" id="tasaIva" class="largeInput" style="width:100px; background-color:#eee" readonly="readonly">
<option value="0">0</option>
<option value="11">11</option>
<option value="16" selected="selected">16</option>
</select></div>
<div style="width:90px;float:left">Tipo de Moneda:</div>
<div style="width:120px;float:left">
<select name="tiposDeMoneda" id="tiposDeMoneda" class="largeInput" style="width:100px;background-color:#eee" readonly="readonly">
{foreach from=$tiposDeMoneda item=moneda}
<option value="{$moneda.tipo}">{$moneda.moneda}</option>
{/foreach}
</select></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">% Retencion Iva:</div>
<div style="width:135px;float:left">
<select name="porcentajeRetIva" id="porcentajeRetIva" class="largeInput" style="background-color:#eee" readonly="readonly">
{foreach from=$retIvas item=iva}
<option value="{$iva}">{$iva}</option>
{/foreach}
</select>
</div>
<div style="width:62px;float:left">% IEPS:</div>
<div style="width:126px;float:left"><input name="porcentajeIEPS" id="porcentajeIEPS" type="text" value="{$post.porcentajeIEPS}" size="12" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
<div style="width:85px;float:left">% de Descuento:</div>
<div style="width:155px;float:left"><input name="porcentajeDescuento" id="porcentajeDescuento" type="text" value="{$post.porcentajeDescuento}" size="15" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
<div style="width:90px;float:left">Tipo de Cambio:</div>
<div style="width:135px;float:left"><input name="tipoDeCambio" id="tipoDeCambio" type="text" value="{$post.tipoDeCambio}" size="18" class="largeInput" style="background-color:#eee" readonly="readonly"/></div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<div style="width:90px;float:left">% Retencion ISR:</div>
<div style="width:135px;float:left">
<select name="porcentajeRetIsr" id="porcentajeRetIsr" class="largeInput" style="background-color:#eee" readonly="readonly">
{foreach from=$retIsrs item=isr}
<option value="{$isr}">{$isr}</option> <br />
{/foreach}
</select></div>
<div style="width:90px;float:left">Comprobante:</div>
<div style="width:340px;float:left">
<select name="tiposComprobanteId" id="tiposComprobanteId" class="largeInput" style="width:315px; background-color:#eee" readonly="readonly">
{foreach from=$comprobantes item=comprobante}
<option value="{$comprobante.tiposComprobanteId}-{$comprobante.serieId}">{$comprobante.nombre} - {$comprobante.consecutivo}</option>
{/foreach}
</select></div>
<div style="width:90px;float:left">Sucursal:</div>
<div style="width:155px;float:left">
<div class="txtFrm" style="width:140px">{$infSuc.nombre}</div>
<input type="hidden" name="sucursalId" id="sucursalId" value="{$infSuc.sucursalId}" />
</div>
<div style="clear:both"></div>
</div>
<div class="formLine">
<hr />
</div>
</form>
Conceptos Cargados:
<div id="conceptos">
{include file="$DOC_ROOT/templates/lists/conceptos-factura-ticket.tpl"}
</div>
<br /><br />
<div class="formLine">
<div>Totales Desglosados:</div>
<div id="totalesDesglosadosDiv">
{include file="$DOC_ROOT/templates/boxes/total-desglosado.tpl"}
</div>
<hr />
</div>
<div align="center" id="loader" style="display:none">
<img src="{$WEB_ROOT}/images/loading.gif">
<br>
Generando Comprobante...
<br />Este proceso puede tardar unos segundos.
</div>
<div align="center" id="loaderPrev" style="display:none">
<img src="{$WEB_ROOT}/images/loading.gif">
<br>
Generando Vista Previa del Comprobante...
<br />Este proceso puede tardar unos segundos.
</div>
<div align="center" id="contTemp"></div>
<div style="clear:both"></div>
<div class="formLine" style="text-align:center; padding-left:320px" id ="reemplazarBoton">
<a class="button" id="generarFactura" name="generarFactura"><span>Generar Comprobante</span></a>
<a class="button" id="vistaPrevia" name="vistaPrevia"><span>Vista Previa</span></a>
</div>
</fieldset>
</div>