mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Merge branch 'mod/tarifa_imp_maquina' into 'main'
Insertada la opcion Color HQ en la lista de tarifas impresion See merge request jjimenez/safekat!51
This commit is contained in:
@ -419,6 +419,7 @@ class Maquinastarifasimpresion extends \App\Controllers\GoBaseResourceController
|
||||
'color' => 'color',
|
||||
'negrohq' => 'negrohq',
|
||||
'bicolor' => 'bicolor',
|
||||
'colorhq' => 'colorhq',
|
||||
];
|
||||
return $tipoOptions;
|
||||
}
|
||||
|
||||
@ -26,6 +26,7 @@ return [
|
||||
'negro' => 'Black',
|
||||
'color' => 'Color',
|
||||
'negrohq' => 'Black HQ',
|
||||
'colorhq' => 'Color HQ',
|
||||
'bicolor' => 'Bicolor',
|
||||
'validation' => [
|
||||
'duplicated_uso_tipo' => "Duplicate line (the combination 'use' and 'type' already exists)",
|
||||
|
||||
@ -26,6 +26,7 @@ return [
|
||||
'negro' => 'Negro',
|
||||
'color' => 'Color',
|
||||
'negrohq' => 'Negro HQ',
|
||||
'colorhq' => 'Color HQ',
|
||||
'bicolor' => 'Bicolor',
|
||||
'validation' => [
|
||||
'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" => [
|
||||
"label" => "MaquinasTarifasImpresions.tipo",
|
||||
"rules" => "permit_empty|in_list[negro,color,negrohq,bicolor]",
|
||||
"rules" => "permit_empty|in_list[negro,color,negrohq,bicolor,colorhq]",
|
||||
],
|
||||
"uso" => [
|
||||
"label" => "MaquinasTarifasImpresions.uso",
|
||||
|
||||
@ -243,7 +243,8 @@
|
||||
{label:'<?= lang('MaquinasTarifasImpresions.negro') ?>', value:'negro'},
|
||||
{label:'<?= lang('MaquinasTarifasImpresions.negrohq') ?>', value: 'negrohq'},
|
||||
{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( {
|
||||
@ -405,6 +406,8 @@
|
||||
return '<?= lang('MaquinasTarifasImpresions.bicolor') ?>';
|
||||
else if (data=='color')
|
||||
return '<?= lang('MaquinasTarifasImpresions.color') ?>';
|
||||
else if (data=='colorhq')
|
||||
return '<?= lang('MaquinasTarifasImpresions.colorhq') ?>';
|
||||
}
|
||||
},
|
||||
{ 'data': 'precio' },
|
||||
|
||||
Reference in New Issue
Block a user