FIX: Venta no se actualizaba
This commit is contained in:
@ -160,7 +160,7 @@ class Ventas
|
||||
];
|
||||
try {
|
||||
$pago = $pagoService->add($pagoData);
|
||||
$ventaService->edit($venta, ['resciliacion' => $pago->id]);
|
||||
$venta = $ventaService->edit($venta, ['resciliacion' => $pago->id]);
|
||||
} catch (Create | Update) {}
|
||||
}
|
||||
return $view->render($response, 'ventas.desistida', compact('venta'));
|
||||
|
Reference in New Issue
Block a user