1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

add enable_shop_api field to company table

This commit is contained in:
David Bomba 2020-07-29 19:25:59 +10:00
parent 8e0942688d
commit 411b4b1582
3 changed files with 2 additions and 1 deletions

View File

@ -109,6 +109,7 @@ class Company extends BaseModel
'slack_webhook_url',
'google_analytics_key',
'client_can_register',
'enable_shop_api',
];

View File

@ -132,6 +132,7 @@ class CompanyTransformer extends EntityTransformer
'enabled_item_tax_rates' => (int) $company->enabled_item_tax_rates,
'client_can_register' => (bool) $company->client_can_register,
'is_large' => (bool) $company->is_large,
'enable_shop_api' => (bool) $company->enable_shop_api,
];
}

View File

@ -92,7 +92,6 @@ class DesignTest extends TestCase
$this->assertNotNull($html);
$this->quote = factory(\App\Models\Invoice::class)->create([
'user_id' => $this->user->id,
'client_id' => $this->client->id,