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:
parent
8e0942688d
commit
411b4b1582
@ -109,6 +109,7 @@ class Company extends BaseModel
|
||||
'slack_webhook_url',
|
||||
'google_analytics_key',
|
||||
'client_can_register',
|
||||
'enable_shop_api',
|
||||
];
|
||||
|
||||
|
||||
|
@ -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,
|
||||
];
|
||||
}
|
||||
|
||||
|
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user