Primer commit del sistema avantika sin cambios
This commit is contained in:
62
templates/boxes/aplicar-promo-venta-popup.tpl
Executable file
62
templates/boxes/aplicar-promo-venta-popup.tpl
Executable file
@@ -0,0 +1,62 @@
|
||||
{if $promoId}
|
||||
|
||||
<div align="center" class="txtH1">PROMOCION APLICADA</div>
|
||||
|
||||
<div align="center">
|
||||
<br />
|
||||
{$nomPromo}
|
||||
<br /><br />
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<td align="center" height="50" width="50%">
|
||||
<input type="button" style="padding:10px; width:100px" value="Eliminar" onclick="EliminarPromo({$promoId})" />
|
||||
</td>
|
||||
<td align="center" height="50" width="50%">
|
||||
<input type="button" style="padding:10px; width:100px" value="Cancelar" onclick="HideFviewCobro()" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
{else}
|
||||
|
||||
<div align="center" class="txtH1">APLICAR PROMOCION</div>
|
||||
|
||||
{if count($promociones)}
|
||||
<table width="100%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<td align="center"><b>Seleccione la Promoción:</b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td align="center">
|
||||
<select name="promocionId" id="promocionId" class="largeInput">
|
||||
<option value="">Seleccione</option>
|
||||
{foreach from=$promociones item=item key=key}
|
||||
<option value="{$item.promocionId}">{$item.nombre}</option>
|
||||
{/foreach}
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<table width="50%" cellpadding="0" cellspacing="0" border="0" align="center">
|
||||
<tr>
|
||||
<td align="center" height="50" width="50%">
|
||||
<input type="button" style="padding:10px; width:100px" value="Aplicar" onclick="AsignarPromo()" />
|
||||
</td>
|
||||
<td align="center" height="50" width="50%">
|
||||
<input type="button" style="padding:10px; width:100px" value="Cancelar" onclick="HideFviewCobro()" />
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
{else}
|
||||
<div align="center">
|
||||
<br />
|
||||
Ninguna promocion encontrada.
|
||||
<br /><br />
|
||||
<input type="button" style="padding:10px; width:100px" value="Cancelar" onclick="HideFviewCobro()" />
|
||||
</div>
|
||||
{/if}
|
||||
|
||||
{/if}
|
||||
Reference in New Issue
Block a user