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 = [
|
$response = [
|
||||||
'status' => 200,
|
'status' => 200,
|
||||||
'error' => null,
|
'error' => null,
|
||||||
'messages' => [
|
'data' => [
|
||||||
'precio' => $response['precio_u']
|
'tiradas' => $response['tiradas'],
|
||||||
|
'precios' => $response['precio_u']
|
||||||
]
|
]
|
||||||
];
|
];
|
||||||
return $this->respond($response);
|
return $this->respond($response);
|
||||||
|
|||||||
@ -441,7 +441,7 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
|||||||
|
|
||||||
try {
|
try {
|
||||||
|
|
||||||
$reqData = $this->request->getPost();
|
//$reqData = $this->request->getPost();
|
||||||
$modelPapelGenerico = new PapelGenericoModel();
|
$modelPapelGenerico = new PapelGenericoModel();
|
||||||
|
|
||||||
|
|
||||||
@ -558,10 +558,11 @@ class Presupuestocliente extends \App\Controllers\BaseResourceController
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (array_key_exists('exception', $return_data)) {
|
if (array_key_exists('exception', $return_data)) {
|
||||||
return $this->failServerError(
|
return $return_data;
|
||||||
|
/*return $this->failServerError(
|
||||||
$return_data['exception'] . ' - ' .
|
$return_data['exception'] . ' - ' .
|
||||||
$return_data['file'] . ' - ' . $return_data['line']
|
$return_data['file'] . ' - ' . $return_data['line']
|
||||||
);
|
);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
// calculo del envio base (tirada_maxima)
|
// calculo del envio base (tirada_maxima)
|
||||||
|
|||||||
Reference in New Issue
Block a user