mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04:00
Additional translations
This commit is contained in:
parent
f5834cd854
commit
50c26bee4c
@ -52,7 +52,7 @@ class TaxProvider
|
|||||||
|
|
||||||
private mixed $api_credentials;
|
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_provider->setApiCredentials($this->api_credentials);
|
||||||
|
|
||||||
$tax_data = $tax_provider->run();
|
$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;
|
return $this;
|
||||||
|
|
||||||
|
@ -31,4 +31,9 @@ class TaxService
|
|||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public function initTaxProvider()
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
}
|
}
|
@ -219,8 +219,4 @@ return [
|
|||||||
'client_id' => env('SHOPIFY_CLIENT_ID', null),
|
'client_id' => env('SHOPIFY_CLIENT_ID', null),
|
||||||
'client_secret' => env('SHOPIFY_CLIENT_SECRET', null),
|
'client_secret' => env('SHOPIFY_CLIENT_SECRET', null),
|
||||||
],
|
],
|
||||||
'tax_api' => [
|
|
||||||
'provider' => env('TAX_API_PROVIDER', false),
|
|
||||||
'api_key' => env('TAX_API_KEY', false),
|
|
||||||
]
|
|
||||||
];
|
];
|
||||||
|
@ -5086,6 +5086,7 @@ $LANG = array(
|
|||||||
'e_invoice' => 'E-Invoice',
|
'e_invoice' => 'E-Invoice',
|
||||||
'light_dark_mode' => 'Light/Dark Mode',
|
'light_dark_mode' => 'Light/Dark Mode',
|
||||||
'activities' => 'Activities',
|
'activities' => 'Activities',
|
||||||
|
'recent_transactions' => "Here are your company's most recent transactions:",
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user