mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-31 00:54:32 -04:00
Fixes for incorrect name spacing of validation rules
This commit is contained in:
parent
0b34fd0738
commit
0d9df1f290
@ -146,8 +146,8 @@ class MigrationController extends BaseController
|
|||||||
public function purgeCompanySaveSettings(Request $request, Company $company)
|
public function purgeCompanySaveSettings(Request $request, Company $company)
|
||||||
{
|
{
|
||||||
|
|
||||||
$company->clients()->delete();
|
$company->clients()->forceDelete();
|
||||||
$company->products()->delete();
|
$company->products()->forceDelete();
|
||||||
|
|
||||||
$company->save();
|
$company->save();
|
||||||
|
|
||||||
|
@ -27,7 +27,6 @@ class CompanyGatewayTransformer extends EntityTransformer
|
|||||||
* @var array
|
* @var array
|
||||||
*/
|
*/
|
||||||
protected $defaultIncludes = [
|
protected $defaultIncludes = [
|
||||||
'gateway'
|
|
||||||
];
|
];
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -63,6 +62,8 @@ class CompanyGatewayTransformer extends EntityTransformer
|
|||||||
'custom_value2' => $company_gateway->custom_value2 ?: '',
|
'custom_value2' => $company_gateway->custom_value2 ?: '',
|
||||||
'custom_value3' => $company_gateway->custom_value3 ?: '',
|
'custom_value3' => $company_gateway->custom_value3 ?: '',
|
||||||
'custom_value4' => $company_gateway->custom_value4 ?: '',
|
'custom_value4' => $company_gateway->custom_value4 ?: '',
|
||||||
|
'label' => (string)$company_gateway->label ?: '',
|
||||||
|
'token_billing' => (string)$company_gateway->token_billing,
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user