modificacion en tablas tarifas acabado/manipulado. Correccion errores maquinas_defecto. Cambiados modelos y entidades tarifas acabado manipulado

This commit is contained in:
Jaime Jimenez
2023-07-18 18:44:25 +02:00
parent 6e0493a287
commit 0d81dca32b
16 changed files with 124 additions and 134 deletions

View File

@ -118,7 +118,7 @@
});
$(document).on('click', '.btn-edit', function(e) {
window.location.href = `configuracion/maquinasdefecto/edit/${$(this).attr('data-id')}`;
window.location.href = `/configuracion/maquinasdefecto/edit/${$(this).attr('data-id')}`;
});
$(document).on('click', '.btn-delete', function(e) {

View File

@ -44,10 +44,9 @@
<thead>
<tr>
<th><?= lang('TarifaAcabadoLineas.tiradaMin') ?></th>
<th><?= lang('TarifaAcabadoLineas.precioMax') ?></th>
<th><?= lang('TarifaAcabadoLineas.tiradaMax') ?></th>
<th><?= lang('TarifaAcabadoLineas.precioMin') ?></th>
<th><?= lang('TarifaAcabadoLineas.precioMax') ?></th>
<th><?= lang('TarifaAcabadoLineas.precioUnidad') ?></th>
<th></th>
</tr>
</thead>
@ -96,15 +95,13 @@
idSrc: 'id',
fields: [ {
name: "tirada_min"
}, {
name: "precio_max"
}, {
name: "tirada_max"
}, {
name: "precio_min"
}, {
name: "precio_max"
}, {
name: "precio_unidad"
},{
"name": "tarifa_acabado_id",
"type": "hidden"
},{
@ -165,10 +162,9 @@
}),
columns: [
{ 'data': 'tirada_min' },
{ 'data': 'precio_max' },
{ 'data': 'tirada_max' },
{ 'data': 'precio_min' },
{ 'data': 'precio_max' },
{ 'data': 'precio_unidad' },
{
data: actionBtns,
className: 'row-edit dt-center'

View File

@ -48,10 +48,9 @@
<thead>
<tr>
<th><?= lang('TarifaManipuladoLineas.tiradaMin') ?></th>
<th><?= lang('TarifaManipuladoLineas.precioMax') ?></th>
<th><?= lang('TarifaManipuladoLineas.tiradaMax') ?></th>
<th><?= lang('TarifaManipuladoLineas.precioMin') ?></th>
<th><?= lang('TarifaManipuladoLineas.precioMax') ?></th>
<th><?= lang('TarifaManipuladoLineas.precioUnidad') ?></th>
<th></th>
</tr>
</thead>
@ -98,15 +97,13 @@
idSrc: 'id',
fields: [ {
name: "tirada_min"
}, {
name: "precio_max"
}, {
name: "tirada_max"
}, {
name: "precio_min"
}, {
name: "precio_max"
}, {
name: "precio_unidad"
},{
"name": "tarifa_manipulado_id",
"type": "hidden"
},{
@ -167,10 +164,9 @@
}),
columns: [
{ 'data': 'tirada_min' },
{ 'data': 'precio_max' },
{ 'data': 'tirada_max' },
{ 'data': 'precio_min' },
{ 'data': 'precio_max' },
{ 'data': 'precio_unidad' },
{
data: actionBtns,
className: 'row-edit dt-center'