diff --git a/app/Livewire/EInvoice/Portal.php b/app/Livewire/EInvoice/Portal.php index de93a2ca5f60..2853db0418f9 100644 --- a/app/Livewire/EInvoice/Portal.php +++ b/app/Livewire/EInvoice/Portal.php @@ -22,8 +22,10 @@ class Portal extends Component public array $companies; - private string $api_url = 'https://invoicing.co' + // private string $api_url = 'https://invoicing.co' + private string $api_url = 'http://ninja.test:8000'; + public function mount() { diff --git a/app/Services/EDocument/Standards/Peppol.php b/app/Services/EDocument/Standards/Peppol.php index 3044f0749a19..5813b496a48c 100644 --- a/app/Services/EDocument/Standards/Peppol.php +++ b/app/Services/EDocument/Standards/Peppol.php @@ -934,9 +934,9 @@ class Peppol extends AbstractService // return $receiver_identifiers[3]; // } - return (new StorecoveRouter())->resolveRouting($this->invoice->client->country->iso_3166_2, $this->invoice->client->classification) + return (new StorecoveRouter())->resolveRouting($this->invoice->client->country->iso_3166_2, $this->invoice->client->classification); - throw new \Exception("e-invoice generation halted:: Could not resolve the Tax Code for this client? {$this->invoice->client->hashed_id}"); + // throw new \Exception("e-invoice generation halted:: Could not resolve the Tax Code for this client? {$this->invoice->client->hashed_id}"); }