mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
e_invoicing_token field
This commit is contained in:
parent
aae830f60c
commit
d45e4ad1b3
@ -223,6 +223,7 @@ class CompanyTransformer extends EntityTransformer
|
||||
'has_quickbooks_token' => $company->quickbooks ? true : false,
|
||||
'is_quickbooks_token_active' => $company->quickbooks?->accessTokenKey ?? false,
|
||||
'legal_entity_id' => $company->legal_entity_id ?? null,
|
||||
'e_invoicing_token' => $company->e_invoicing_token ?? null,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
|
||||
use Illuminate\Database\Migrations\Migration;
|
||||
use Illuminate\Database\Schema\Blueprint;
|
||||
use Illuminate\Support\Facades\Schema;
|
||||
|
||||
return new class extends Migration
|
||||
{
|
||||
public function up(): void
|
||||
{
|
||||
Schema::table('companies', function (Blueprint $table) {
|
||||
$table->string('e_invoicing_token')->nullable();
|
||||
});
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue
Block a user