feature/cierres #30

Merged
aldarien merged 460 commits from feature/cierres into develop 2025-09-11 15:16:17 -03:00
189 changed files with 659 additions and 6715 deletions
Showing only changes of commit ace205798f - Show all commits

View File

@ -217,7 +217,8 @@ class Ventas extends Controller
$this->saveRedis($redisService, "venta:{$venta->id}", $venta);
$output['venta_id'] = $venta->id;
$output['status'] = true;
} catch (EmptyResult | PDOException $exception) {
} catch (Create | Update $exception) {
$this->logger->error($exception->getMessage());
$output['errors'] = [
'code' => $exception->getCode(),
'message' => $exception->getMessage(),