1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 05:02:36 +01:00

Additional translations

This commit is contained in:
David Bomba 2023-05-15 12:37:38 +10:00
parent f5834cd854
commit 50c26bee4c
4 changed files with 10 additions and 8 deletions

View File

@ -52,7 +52,7 @@ class TaxProvider
private mixed $api_credentials;
public function __construct(protected Company $company, protected Client $client)
public function __construct(public Company $company, public Client $client)
{
}
@ -108,15 +108,15 @@ class TaxProvider
];
$tax_provider = new $this->provider();
$tax_provider = new $this->provider($billing_details);
$tax_provider->setApiCredentials($this->api_credentials);
$tax_data = $tax_provider->run();
$this->company->tax_data = $tax_data;
$this->client->tax_data = $tax_data;
$this->company->save();
$this->client->save();
return $this;

View File

@ -31,4 +31,9 @@ class TaxService
return $this;
}
public function initTaxProvider()
{
}
}

View File

@ -219,8 +219,4 @@ return [
'client_id' => env('SHOPIFY_CLIENT_ID', null),
'client_secret' => env('SHOPIFY_CLIENT_SECRET', null),
],
'tax_api' => [
'provider' => env('TAX_API_PROVIDER', false),
'api_key' => env('TAX_API_KEY', false),
]
];

View File

@ -5086,6 +5086,7 @@ $LANG = array(
'e_invoice' => 'E-Invoice',
'light_dark_mode' => 'Light/Dark Mode',
'activities' => 'Activities',
'recent_transactions' => "Here are your company's most recent transactions:",
);