mirror of
https://git.imnavajas.es/jjimenez/safekat.git
synced 2025-07-25 22:52:08 +00:00
Resolviendo bugs para integracion end2end de IL
This commit is contained in:
@ -108,8 +108,9 @@ class ImprimelibrosApi extends ResourceController
|
||||
$response = [
|
||||
'status' => 200,
|
||||
'error' => null,
|
||||
'messages' => [
|
||||
'precio' => $response['precio_u']
|
||||
'data' => [
|
||||
'tiradas' => $response['tiradas'],
|
||||
'precios' => $response['precio_u']
|
||||
]
|
||||
];
|
||||
return $this->respond($response);
|
||||
|
||||
@ -441,7 +441,7 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
||||
|
||||
try {
|
||||
|
||||
$reqData = $this->request->getPost();
|
||||
//$reqData = $this->request->getPost();
|
||||
$modelPapelGenerico = new PapelGenericoModel();
|
||||
|
||||
|
||||
@ -558,10 +558,11 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
||||
}
|
||||
|
||||
if (array_key_exists('exception', $return_data)) {
|
||||
return $this->failServerError(
|
||||
return $return_data;
|
||||
/*return $this->failServerError(
|
||||
$return_data['exception'] . ' - ' .
|
||||
$return_data['file'] . ' - ' . $return_data['line']
|
||||
);
|
||||
);*/
|
||||
}
|
||||
|
||||
// calculo del envio base (tirada_maxima)
|
||||
@ -2527,7 +2528,7 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
||||
'id' => model('App\Models\Configuracion\ConfigVariableModel')->getVariable('id_servicio_plegado_exceso_solapas_faja')->value
|
||||
];
|
||||
|
||||
// se comprueba si $datos guardas es un array
|
||||
// se comprueba si $datos guardas es un array
|
||||
if (is_array($datos_guardas)) {
|
||||
if (count($datos_guardas) > 0) {
|
||||
array_push($servicios, $servicio_plegado_guardas); // Plegado de guardas
|
||||
|
||||
Reference in New Issue
Block a user