update
This commit is contained in:
@@ -308,10 +308,6 @@ final class DeliveryStatus
|
||||
return 'https://inpost.pl/sledzenie-przesylek?number=' . $encoded;
|
||||
}
|
||||
|
||||
if ($provider === 'allegro_wza') {
|
||||
return 'https://allegro.pl/przesylka/' . $encoded;
|
||||
}
|
||||
|
||||
if ($carrierId !== '') {
|
||||
$url = self::matchCarrierByName($encoded, strtolower(trim($carrierId)));
|
||||
if ($url !== null) {
|
||||
@@ -319,6 +315,10 @@ final class DeliveryStatus
|
||||
}
|
||||
}
|
||||
|
||||
if ($provider === 'allegro_wza') {
|
||||
return 'https://allegro.pl/allegrodelivery/sledzenie-paczki?numer=' . $encoded;
|
||||
}
|
||||
|
||||
return 'https://www.google.com/search?q=' . $encoded . '+sledzenie+przesylki';
|
||||
}
|
||||
|
||||
@@ -348,6 +348,9 @@ final class DeliveryStatus
|
||||
if (str_contains($carrier, 'gls')) {
|
||||
return 'https://gls-group.com/PL/pl/sledzenie-paczek?match=' . $encoded;
|
||||
}
|
||||
if ($carrier === 'allegro') {
|
||||
return 'https://allegro.pl/allegrodelivery/sledzenie-paczki?numer=' . $encoded;
|
||||
}
|
||||
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user