mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Fixes for test
This commit is contained in:
parent
bc1510582e
commit
5bc756bc83
@ -22,8 +22,10 @@ class Portal extends Component
|
|||||||
|
|
||||||
public array $companies;
|
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()
|
public function mount()
|
||||||
{
|
{
|
||||||
|
|
||||||
|
@ -934,9 +934,9 @@ class Peppol extends AbstractService
|
|||||||
// return $receiver_identifiers[3];
|
// 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}");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user