mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
calculado nueva tinta solo para color a espera de confirmar si es para negro tambien
This commit is contained in:
@ -50,6 +50,7 @@ class MaquinaModel extends \App\Models\GoBaseModel
|
||||
"precio_tinta_negro",
|
||||
"is_inkjet",
|
||||
"precio_tinta_color",
|
||||
"precio_tinta_cg",
|
||||
"velocidad_corte",
|
||||
"precio_hora_corte",
|
||||
"metrosxminuto",
|
||||
@ -131,6 +132,10 @@ class MaquinaModel extends \App\Models\GoBaseModel
|
||||
"label" => "Maquinas.precioHoraCorte",
|
||||
"rules" => "decimal",
|
||||
],
|
||||
"precio_tinta_cg" => [
|
||||
"label" => "Maquinas.precioTintaColor",
|
||||
"rules" => "decimal",
|
||||
],
|
||||
"precio_tinta_color" => [
|
||||
"label" => "Maquinas.precioTintaColor",
|
||||
"rules" => "decimal",
|
||||
@ -297,7 +302,7 @@ class MaquinaModel extends \App\Models\GoBaseModel
|
||||
->select(
|
||||
"t1.id AS id, t1.nombre AS nombre, t1.is_padre AS is_padre, t1.tipo AS tipo, t1.velocidad AS velocidad, t1.ancho AS ancho, t1.alto AS alto, t1.ancho_impresion AS ancho_impresion, t1.alto_impresion AS alto_impresion, t1.alto_click AS alto_click, t1.min AS min, t1.max AS max, t1.duracion_jornada AS duracion_jornada,
|
||||
t1.orden_planning AS orden_planning, t1.is_rotativa AS is_rotativa, t1.precio_tinta_negro AS precio_tinta_negro,
|
||||
t1.is_inkjet AS is_inkjet, t1.precio_tinta_color AS precio_tinta_color, t1.velocidad_corte AS velocidad_corte,
|
||||
t1.is_inkjet AS is_inkjet, t1.precio_tinta_color AS precio_tinta_color, t1.precio_tinta_cg AS precio_tinta_cg, t1.velocidad_corte AS velocidad_corte,
|
||||
t1.precio_hora_corte AS precio_hora_corte, t1.metrosxminuto AS metrosxminuto,
|
||||
t1.forzar_num_formas_horizontales_cubierta AS forzar_num_formas_horizontales_cubierta,
|
||||
t1.forzar_num_formas_verticales_cubierta AS forzar_num_formas_verticales_cubierta,
|
||||
|
||||
@ -19,6 +19,7 @@ class PapelImpresionTipologiaModel extends \App\Models\GoBaseModel
|
||||
"cyan",
|
||||
"magenta",
|
||||
"amarillo",
|
||||
"cg",
|
||||
"gota_negro",
|
||||
"gota_color",
|
||||
];
|
||||
@ -27,6 +28,11 @@ class PapelImpresionTipologiaModel extends \App\Models\GoBaseModel
|
||||
public static $labelField = "tipo";
|
||||
|
||||
protected $validationRules = [
|
||||
"cg"=> [
|
||||
"label" => "ImpresionTipologias.cg",
|
||||
"rules" => "required|decimal",
|
||||
],
|
||||
|
||||
"amarillo" => [
|
||||
"label" => "ImpresionTipologias.amarillo",
|
||||
"rules" => "required|decimal",
|
||||
|
||||
Reference in New Issue
Block a user