mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-05-24 02:14:21 -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)
|
||||
{
|
||||
|
||||
$company->clients()->delete();
|
||||
$company->products()->delete();
|
||||
$company->clients()->forceDelete();
|
||||
$company->products()->forceDelete();
|
||||
|
||||
$company->save();
|
||||
|
||||
|
@ -27,7 +27,6 @@ class CompanyGatewayTransformer extends EntityTransformer
|
||||
* @var array
|
||||
*/
|
||||
protected $defaultIncludes = [
|
||||
'gateway'
|
||||
];
|
||||
|
||||
/**
|
||||
@ -63,6 +62,8 @@ class CompanyGatewayTransformer extends EntityTransformer
|
||||
'custom_value2' => $company_gateway->custom_value2 ?: '',
|
||||
'custom_value3' => $company_gateway->custom_value3 ?: '',
|
||||
'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