mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Implementado script principal
This commit is contained in:
@ -1,5 +1,5 @@
|
||||
<?php
|
||||
namespace App\Controllers\Catalogo;
|
||||
namespace App\Controllers\Importadores;
|
||||
|
||||
use App\Controllers\BaseResourceController;
|
||||
use App\Entities\Catalogo\CatalogoLibroEntity;
|
||||
|
||||
@ -8,12 +8,33 @@
|
||||
|
||||
<div class="card card-info">
|
||||
<div class="card-header">
|
||||
<h3 class="card-title"><?= lang('Importador.listingPage') ?></h3>
|
||||
<h3 class="card-title"><?= lang('Importador.listingPage') ?></h3>
|
||||
</div><!--//.card-header -->
|
||||
<div class="card-body">
|
||||
<?= view('themes/_commonPartialsBs/_alertBoxes'); ?>
|
||||
|
||||
|
||||
<input type="file" id="excelFile" accept=".xlsx, .xls">
|
||||
<div id="tableContainer"></div>
|
||||
|
||||
<br>
|
||||
<button id="importBtn">Importar</button>
|
||||
|
||||
<table id="excelTable" class="display">
|
||||
<thead>
|
||||
<tr>
|
||||
<th>cnt_pedida</th>
|
||||
<th>precio_compra</th>
|
||||
<th>idlinea</th>
|
||||
<th>input</th>
|
||||
<th>descripcion</th>
|
||||
<th>Acción</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
|
||||
|
||||
</div><!--//.card-body -->
|
||||
<div class="card-footer">
|
||||
@ -46,5 +67,6 @@
|
||||
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
|
||||
<script src="<?= site_url("/themes/vuexy/vendor/libs/datatables-sk/plugins/pdfmake/vfs_fonts.js") ?>"></script>
|
||||
<script src="<?= site_url('themes/vuexy/vendor/libs/sweetalert2/sweetalert2.js') ?>"></script>
|
||||
<script type="module" src="<?= site_url("assets/js/safekat/pages/importador/catalogo_tool.js") ?>"></script>
|
||||
<script src="https://cdn.sheetjs.com/xlsx-latest/package/dist/xlsx.full.min.js"></script>
|
||||
<script type="module" src="<?= site_url("assets/js/safekat/pages/importadores/catalogo/catalogo_tool.js") ?>"></script>
|
||||
<?= $this->endSection() ?>
|
||||
Reference in New Issue
Block a user