70 lines
2.3 KiB
Smarty
Executable File
70 lines
2.3 KiB
Smarty
Executable File
<form name="frmStep1" id="frmStep1" method="post" enctype="multipart/form-data">
|
|
<input type="hidden" id="type" name="type" value="uploadFile"/>
|
|
<table width="620" cellpadding="0" cellspacing="0" border="1" class="boxTable">
|
|
<thead>
|
|
<tr>
|
|
<th class="tblTh" colspan="2"><b>SELECCIONE EL ARCHIVO CON LOS PRODUCTOS A SUBIR</b></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<tr>
|
|
<td width="150"><div class="tblField">* Sucursal Destino</div></td>
|
|
<td>
|
|
{if $Usr.type == "admin" || $Usr.type == "almacen"}
|
|
<select name="sucursalId" id="sucursalId" class="smallInput">
|
|
<option value="">Seleccione</option>
|
|
{foreach from=$sucursales item=item key=key}
|
|
<option value="{$item.sucursalId}" {if $sucursalId == $item.sucursalId}selected{/if}>{$item.nombre}</option>
|
|
{/foreach}
|
|
</select>
|
|
{else}
|
|
{$nomSuc}
|
|
<input type="hidden" name="sucursalId" id="sucursalId" value="{$sucursalId}" />
|
|
{/if}
|
|
</td>
|
|
</tr>
|
|
<tr>
|
|
<td><div class="tblField">* Archivo</div></td>
|
|
<td>
|
|
|
|
<div class="tblField" id="showFile" {if $xlsFile == ''}style="display:none"{/if}>
|
|
<div style="float:left">
|
|
<a href="{$WEB_ROOT}/temp/{$xlsFile}" target="_blank">{$xlsFile}</a>
|
|
</div>
|
|
<div class="lnkDel" style="float:left; padding-left:5px">
|
|
<a href="javascript:void(0)" onclick="DelXlsFile()">Eliminar</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="tblField" id="showInput" {if $xlsFile != ''}style="display:none"{/if}>
|
|
<input type="file" name="excelFile" id="excelFile" />
|
|
</div>
|
|
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
|
|
<div align="left" style="margin-left:160px">* <b>Campos requeridos</b></div>
|
|
|
|
<div align="center" id="loader" style="display:none">
|
|
<img src="{$WEB_ROOT}/images/loading.gif">
|
|
<br>Cargando...
|
|
<br />Por favor, espere.
|
|
</div>
|
|
|
|
{if $errMsg}
|
|
<div class="txtFailMsg">{$errMsg}</div>
|
|
{/if}
|
|
<br />
|
|
<table width="620" cellpadding="0" cellspacing="0" border="1" class="boxTable">
|
|
<tfoot>
|
|
<tr>
|
|
<td colspan="2" align="right" class="tblPages" height="22">
|
|
<input type="button" name="btnNext" id="btnNext" value="Siguiente >>" class="btnGral" onclick="UploadFile()" />
|
|
</td>
|
|
</tr>
|
|
</tfoot>
|
|
</table>
|
|
|
|
</form> |