@@ -123,6 +123,8 @@ class PurchaseWorkflow
|
||||
// An already committed issue is returned, never re-created or re-snapshotted.
|
||||
$existing = PurchaseOrder::query()->where('requisition_id', $requisition->id)->first();
|
||||
if ($existing) {
|
||||
app(OrderCancellationWorkflow::class)->assertOperational($existing);
|
||||
|
||||
return $existing;
|
||||
}
|
||||
$this->assertNoPendingCancellation($award);
|
||||
|
||||
Reference in New Issue
Block a user