ordenes trabajo

This commit is contained in:
amazuecos
2025-01-02 10:50:56 +01:00
parent 340ab4ec5f
commit b50ba4f2a3
57 changed files with 3005 additions and 417 deletions

View File

@ -395,7 +395,8 @@ class Pedido extends \App\Controllers\BaseResourceController
$serviceProduction = service('production');
$pedido = $this->model->find($pedido_id);
$serviceProduction->setPedido($pedido);
return $this->respond()->setJSON($serviceProduction->createOrdenTrabajo());
$r = $serviceProduction->createOrdenTrabajo();
return $this->respond()->setJSON($r);
}
}