mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
falta las lineas de sobrecubierta
This commit is contained in:
@ -226,6 +226,13 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController
|
||||
$sanitizedData['papel_formato_id'] = 0;
|
||||
}
|
||||
|
||||
if ($this->request->getPost('solapas') == null) {
|
||||
$sanitizedData['solapas'] = 0;
|
||||
}
|
||||
if ($this->request->getPost('solapas_sobrecubierta') == null) {
|
||||
$sanitizedData['solapas'] = 0;
|
||||
}
|
||||
|
||||
$noException = true;
|
||||
if($sanitizedData['papel_formato_id'] == null && $sanitizedData['papel_formato_ancho'] == null
|
||||
&& $sanitizedData['papel_formato_alto'] == null){
|
||||
@ -795,8 +802,10 @@ class Cosidotapablanda extends \App\Controllers\GoBaseResourceController
|
||||
$linea = PresupuestoService::getCostesLinea($uso, $datosPedido, $maquina, $papel, $opciones_papel, $tarifa);
|
||||
}
|
||||
|
||||
if(array_key_exists('error', $linea))
|
||||
if(array_key_exists('error', $linea)){
|
||||
//array_push($lineas, $linea); for debug
|
||||
continue;
|
||||
}
|
||||
|
||||
if($maquina->is_inkjet){
|
||||
// calculo de tintas
|
||||
|
||||
Reference in New Issue
Block a user