diff --git a/routes/web.php b/routes/web.php
index 7924c275..d69083cc 100644
--- a/routes/web.php
+++ b/routes/web.php
@@ -1,11 +1,13 @@
Outstanding: '.($totalBilled - $totalPaid).'';
});
+
+Route::get('/yd/fix', function(){
+ $packingLists = \App\Models\PackingList::where('type', \App\Classes\ValueObjects\Constants\PackingListType::SHIPPING_PACKING_LIST)->where('status', \App\Classes\ValueObjects\Constants\ApprovalStatus::APPROVED)->where('claimant_i', 2307)->get();
+ $i = 0;
+ echo count($packingLists).'
';
+ foreach ($packingLists as $packingList){
+ try {
+ (App()->make(UpdateDoFromYDPortalProcessor::class))->execute($packingList);
+ echo 'success'.'
';
+ } catch (\Exception $exception){
+ echo ''.$packingList->reference.'';
+ }
+
+ }
+});
+
+