mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
guarda faja en el comparador en cliente. Se fuerza una forma horizontal para faja
This commit is contained in:
@ -580,6 +580,15 @@ class PresupuestoModel extends \App\Models\BaseModel
|
||||
'paginas' => intval($data['datos_guardas']['caras']),
|
||||
);
|
||||
}
|
||||
|
||||
// -- Faja --
|
||||
if ($data['datos_guardas'] != 0) {
|
||||
$values['faja'] = array(
|
||||
'papel_id' => intval($data['faja']['papel']),
|
||||
'gramaje' => intval($data['faja']['gramaje']),
|
||||
);
|
||||
}
|
||||
|
||||
}
|
||||
$json = json_encode($values);
|
||||
return $json;
|
||||
|
||||
Reference in New Issue
Block a user