update packinglists from vt portal jobs and schedule

This commit is contained in:
omair saleh
2021-08-30 01:09:16 +08:00
parent c71727c9c0
commit 5355b31bcb
2 changed files with 1 additions and 2 deletions
@@ -15,7 +15,7 @@ class FetchPackingListFromVTPortalJob implements ShouldQueue
use Dispatchable, InteractsWithQueue, Queueable, SerializesModels;
public $timeout = 900;
public $timeout = 1800;
/**
* Execute the job.
@@ -45,7 +45,6 @@ class FetchPackingListFromVTPortalProcessor
try {
$packingLists = PackingList::where('type', '=', PackingListType::SHIPPING_PACKING_LIST)->where('status', '=', ApprovalStatus::PENDING_VERIFICATION)->get();
Log::error(count($packingLists));
foreach($packingLists as $packingList){
try {
$filter = '["PoNumber:=%js%\"'.$packingList->reference.'\"\u0000"]';