- Deshabilita la paginación para mostrar todos los atributos por defecto. - Corrige un error de renderizado en 'atributos-valores.tpl' añadiendo etiquetas de cierre faltantes. - Cambia el orden de los atributos a 'atributoId' en 'atributo.class.php'. - Corrige un bug en 'atributoValor.class.php' descomentando una condición. - Asegura que las acciones AJAX (añadir, editar, eliminar) refresquen la lista correctamente sin paginación.
37 lines
1.4 KiB
PHP
37 lines
1.4 KiB
PHP
<?php /* Smarty version Smarty3-b7, created on 2026-01-08 00:55:30
|
|
compiled from "/var/www/html/ventas/templates/items/materiales-header.tpl" */ ?>
|
|
<?php /*%%SmartyHeaderCode:1800856736695f54e2c72704-18380872%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
|
|
$_smarty_tpl->decodeProperties(array (
|
|
'file_dependency' =>
|
|
array (
|
|
'be2234a2c6446a0f704a7c9637cd1271d8688aad' =>
|
|
array (
|
|
0 => '/var/www/html/ventas/templates/items/materiales-header.tpl',
|
|
1 => 1767836456,
|
|
),
|
|
),
|
|
'nocache_hash' => '1800856736695f54e2c72704-18380872',
|
|
'function' =>
|
|
array (
|
|
),
|
|
'has_nocache_code' => false,
|
|
)); /*/%%SmartyHeaderCode%%*/?>
|
|
<div class="clear"></div>
|
|
<!--THIS IS A WIDE PORTLET-->
|
|
<div class="portlet">
|
|
|
|
<div align="center" class="btnAddGral">
|
|
<a href="javascript:void(0)" class="inline_add" id="addMaterial">Agregar Material</a>
|
|
</div>
|
|
|
|
<div class="portlet-content nopadding">
|
|
<form action="" method="post">
|
|
<table width="100%" cellpadding="0" cellspacing="0" id="box-table-a">
|
|
<thead>
|
|
<tr>
|
|
<th width="100" scope="col"><div align="center">ID</div></th>
|
|
<th width="" scope="col">Nombre</th>
|
|
<th width="100" scope="col"><div align="center">Acciones</div></th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|