mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-09 03:14:30 -04: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',
|
'slack_webhook_url',
|
||||||
'google_analytics_key',
|
'google_analytics_key',
|
||||||
'client_can_register',
|
'client_can_register',
|
||||||
|
'enable_shop_api',
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
@ -132,6 +132,7 @@ class CompanyTransformer extends EntityTransformer
|
|||||||
'enabled_item_tax_rates' => (int) $company->enabled_item_tax_rates,
|
'enabled_item_tax_rates' => (int) $company->enabled_item_tax_rates,
|
||||||
'client_can_register' => (bool) $company->client_can_register,
|
'client_can_register' => (bool) $company->client_can_register,
|
||||||
'is_large' => (bool) $company->is_large,
|
'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->assertNotNull($html);
|
||||||
|
|
||||||
|
|
||||||
$this->quote = factory(\App\Models\Invoice::class)->create([
|
$this->quote = factory(\App\Models\Invoice::class)->create([
|
||||||
'user_id' => $this->user->id,
|
'user_id' => $this->user->id,
|
||||||
'client_id' => $this->client->id,
|
'client_id' => $this->client->id,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user