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

This commit is contained in:
2026-11-27 13:49:31 +02:00
parent dc73540558
commit e709d900d1
81 changed files with 5352 additions and 107 deletions
@@ -80,8 +80,8 @@ class OrderPartsController extends Controller
public function adopt(Request $request, PurchaseAward $award, OrderPartsWorkflow $workflow): RedirectResponse
{
$data = $request->validate(['operation_key' => 'required|uuid']);
$workflow->adopt($this->actor($request), $award, $data['operation_key']);
$data = $request->validate(['operation_key' => 'required|uuid', 'reference_lines' => 'sometimes|array|list|max:500']);
$workflow->adopt($this->actor($request), $award, $data['operation_key'], $data['reference_lines'] ?? []);
return to_route('orders.parts');
}