Project charting

This commit is contained in:
David Bomba 2025-02-10 10:38:35 +11:00
parent 2f4c557e5b
commit 2d3f35d3c4
2 changed files with 8 additions and 4 deletions

View File

@ -642,12 +642,15 @@ class CompanyImport implements ShouldQueue
private function import_e_invoicing_tokens()
{
$this->genericNewClassImport(
EInvoicingToken::class,
$this->genericImportWithoutCompany(
\App\Models\EInvoicingToken::class,
[],
[],
'e_invoicing_tokens'
'e_invoicing_tokens',
'token'
);
return $this;
}
private function import_schedulers()
@ -1654,7 +1657,7 @@ class CompanyImport implements ShouldQueue
$new_obj->save(['timestamps' => false]);
if ($new_obj instanceof CompanyLedger) {
if ($new_obj instanceof CompanyLedger || $new_obj instanceof EInvoicingToken) {
} else {
$this->ids["{$object_property}"]["{$obj->hashed_id}"] = $new_obj->id;
}

View File

@ -5496,6 +5496,7 @@ $lang = array(
'currency_samoan_tala' => 'Samoan Tala',
'confirm_duplicate_gateway' => 'Are you sure you want to create another connection?',
'clients_limit' => 'You have reached your client limit. Please upgrade your plan.',
'remaining_hours' => 'Remaining Hours',
);
return $lang;