mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/exchange-2.0.git
synced 2026-08-19 04:23:55 +00:00
1688 PO Automation Project
This commit is contained in:
@@ -151,7 +151,9 @@ class ETLPDFPurchaseOrderClaudeProcessor
|
||||
$this->createPurchaseOrderTransactionProcessor->execute($booking, $object, $append);
|
||||
|
||||
if($broadcast){
|
||||
ETLPurchaseOrderTransactionCompleteV2CommandJob::dispatch(true, $bookingId)->delay(now()->addSeconds($index * 5));
|
||||
$baseDelay = 5;
|
||||
$delaySeconds = ($index + 1) * $baseDelay;
|
||||
ETLPurchaseOrderTransactionCompleteV2CommandJob::dispatch(true, $bookingId)->delay(now()->addSeconds($delaySeconds));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user