mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Insertada la opcion Color HQ en la lista de tarifas impresion
This commit is contained in:
@ -419,6 +419,7 @@ class Maquinastarifasimpresion extends \App\Controllers\GoBaseResourceController
|
|||||||
'color' => 'color',
|
'color' => 'color',
|
||||||
'negrohq' => 'negrohq',
|
'negrohq' => 'negrohq',
|
||||||
'bicolor' => 'bicolor',
|
'bicolor' => 'bicolor',
|
||||||
|
'colorhq' => 'colorhq',
|
||||||
];
|
];
|
||||||
return $tipoOptions;
|
return $tipoOptions;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -26,6 +26,7 @@ return [
|
|||||||
'negro' => 'Black',
|
'negro' => 'Black',
|
||||||
'color' => 'Color',
|
'color' => 'Color',
|
||||||
'negrohq' => 'Black HQ',
|
'negrohq' => 'Black HQ',
|
||||||
|
'colorhq' => 'Color HQ',
|
||||||
'bicolor' => 'Bicolor',
|
'bicolor' => 'Bicolor',
|
||||||
'validation' => [
|
'validation' => [
|
||||||
'duplicated_uso_tipo' => "Duplicate line (the combination 'use' and 'type' already exists)",
|
'duplicated_uso_tipo' => "Duplicate line (the combination 'use' and 'type' already exists)",
|
||||||
|
|||||||
@ -26,6 +26,7 @@ return [
|
|||||||
'negro' => 'Negro',
|
'negro' => 'Negro',
|
||||||
'color' => 'Color',
|
'color' => 'Color',
|
||||||
'negrohq' => 'Negro HQ',
|
'negrohq' => 'Negro HQ',
|
||||||
|
'colorhq' => 'Color HQ',
|
||||||
'bicolor' => 'Bicolor',
|
'bicolor' => 'Bicolor',
|
||||||
'validation' => [
|
'validation' => [
|
||||||
'duplicated_uso_tipo' => "Línea duplicada (la combinación 'uso' y 'tipo' ya existe)",
|
'duplicated_uso_tipo' => "Línea duplicada (la combinación 'uso' y 'tipo' ya existe)",
|
||||||
|
|||||||
@ -37,7 +37,7 @@ class MaquinasTarifasImpresionModel extends \App\Models\GoBaseModel
|
|||||||
],
|
],
|
||||||
"tipo" => [
|
"tipo" => [
|
||||||
"label" => "MaquinasTarifasImpresions.tipo",
|
"label" => "MaquinasTarifasImpresions.tipo",
|
||||||
"rules" => "permit_empty|in_list[negro,color,negrohq,bicolor]",
|
"rules" => "permit_empty|in_list[negro,color,negrohq,bicolor,colorhq]",
|
||||||
],
|
],
|
||||||
"uso" => [
|
"uso" => [
|
||||||
"label" => "MaquinasTarifasImpresions.uso",
|
"label" => "MaquinasTarifasImpresions.uso",
|
||||||
|
|||||||
@ -243,7 +243,8 @@
|
|||||||
{label:'<?= lang('MaquinasTarifasImpresions.negro') ?>', value:'negro'},
|
{label:'<?= lang('MaquinasTarifasImpresions.negro') ?>', value:'negro'},
|
||||||
{label:'<?= lang('MaquinasTarifasImpresions.negrohq') ?>', value: 'negrohq'},
|
{label:'<?= lang('MaquinasTarifasImpresions.negrohq') ?>', value: 'negrohq'},
|
||||||
{label:'<?= lang('MaquinasTarifasImpresions.bicolor') ?>', value: 'bicolor'},
|
{label:'<?= lang('MaquinasTarifasImpresions.bicolor') ?>', value: 'bicolor'},
|
||||||
{label:'<?= lang('MaquinasTarifasImpresions.color') ?>', value: 'color'}
|
{label:'<?= lang('MaquinasTarifasImpresions.color') ?>', value: 'color'},
|
||||||
|
{label:'<?= lang('MaquinasTarifasImpresions.colorhq') ?>', value: 'colorhq'},
|
||||||
];
|
];
|
||||||
|
|
||||||
editor = new $.fn.dataTable.Editor( {
|
editor = new $.fn.dataTable.Editor( {
|
||||||
@ -405,6 +406,8 @@
|
|||||||
return '<?= lang('MaquinasTarifasImpresions.bicolor') ?>';
|
return '<?= lang('MaquinasTarifasImpresions.bicolor') ?>';
|
||||||
else if (data=='color')
|
else if (data=='color')
|
||||||
return '<?= lang('MaquinasTarifasImpresions.color') ?>';
|
return '<?= lang('MaquinasTarifasImpresions.color') ?>';
|
||||||
|
else if (data=='colorhq')
|
||||||
|
return '<?= lang('MaquinasTarifasImpresions.colorhq') ?>';
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{ 'data': 'precio' },
|
{ 'data': 'precio' },
|
||||||
|
|||||||
Reference in New Issue
Block a user