Skip to content

Commit

Permalink
Disable delivery date for local country
Browse files Browse the repository at this point in the history
  • Loading branch information
GravendeelJochem committed Dec 10, 2024
1 parent 14409fb commit 4b4c9b4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public function __construct(PdkOrder $order)
public function calculate(): void
{
$cc = $this->order->shippingAddress->cc;
if ($this->countryService->isRow($cc) || $this->countryService->isEu($cc)) {
if ($this->countryService->isRow($cc) || $this->countryService->isEu($cc) || $this->countryService->isLocalCountry($cc)) {
$this->order->deliveryOptions->date = null;
}
}
Expand Down

0 comments on commit 4b4c9b4

Please sign in to comment.