mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
se añade la opción de guardas al papel impresion
This commit is contained in:
@ -196,12 +196,15 @@ class Papelesimpresion extends \App\Controllers\GoBaseResourceController
|
||||
if ($this->request->getPost('color') == null) {
|
||||
$sanitizedData['color'] = false;
|
||||
}
|
||||
if ($this->request->getPost('portada') == null) {
|
||||
$sanitizedData['portada'] = false;
|
||||
}
|
||||
if ($this->request->getPost('cubierta') == null) {
|
||||
$sanitizedData['cubierta'] = false;
|
||||
}
|
||||
if ($this->request->getPost('sobrecubierta') == null) {
|
||||
$sanitizedData['sobrecubierta'] = false;
|
||||
}
|
||||
if ($this->request->getPost('guardas') == null) {
|
||||
$sanitizedData['guardas'] = false;
|
||||
}
|
||||
if ($this->request->getPost('rotativa') == null) {
|
||||
$sanitizedData['rotativa'] = false;
|
||||
}
|
||||
|
||||
@ -676,6 +676,13 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController
|
||||
'rotativa' => 0,
|
||||
);
|
||||
}
|
||||
else if ( $uso == 'guardas' ){
|
||||
$opciones_papel = array(
|
||||
'guardas' => 1,
|
||||
//'color' => 1,
|
||||
'rotativa' => 0,
|
||||
);
|
||||
}
|
||||
else if( $isColor ){
|
||||
$opciones_papel = array(
|
||||
'color' => 1,
|
||||
|
||||
Reference in New Issue
Block a user