Fixes for test

This commit is contained in:
David Bomba 2024-08-28 11:18:13 +10:00
parent bc1510582e
commit 5bc756bc83
2 changed files with 5 additions and 3 deletions

View File

@ -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()
{

View File

@ -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}");
}