commit compras3 2711
tests / ci (push) Waiting to run

This commit is contained in:
2026-11-27 18:56:24 +02:00
parent 930064269e
commit 9cf9764710
87 changed files with 2856 additions and 195 deletions
+1 -1
View File
@@ -236,7 +236,7 @@ class OrderCancellationWorkflow
}
unset($source);
$adapter = app(CommonBudget::class);
$engine = $adapter->for($actor);
$engine = $adapter->for($actor, RequisitionExpiry::orderCycles($order));
$result = $adapter->execute(fn () => (new \ReflectionMethod($engine, 'cancelOrderParts'))->invoke($engine, $order->getAttribute('order_key'), $sources, $record->operation_key));
if (! is_array($result)) {
throw new \LogicException('Resposta incompatível da reversão por parcelas.');