fix typo
This commit is contained in:
@@ -138,7 +138,7 @@ class Wiaas_REST_Customer_API {
|
|||||||
|
|
||||||
|
|
||||||
if (!is_string($company_name) || strlen($company_name) < 1){
|
if (!is_string($company_name) || strlen($company_name) < 1){
|
||||||
return self::generate_wiaas_response('ADD_COPMANY_NAME', 'error', Wiaas_Customer::get_customer_info($customer_id));
|
return self::generate_wiaas_response('ADD_COMPANY_NAME', 'error', Wiaas_Customer::get_customer_info($customer_id));
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!is_string($vat_code) || strlen($vat_code) < 1){
|
if (!is_string($vat_code) || strlen($vat_code) < 1){
|
||||||
|
|||||||
@@ -57,7 +57,7 @@ export const profileTexts = {
|
|||||||
PROFILE_NOT_CHANGED: 'No changes!',
|
PROFILE_NOT_CHANGED: 'No changes!',
|
||||||
NOT_COMPANY_ADMIN: 'You are not allowed to change the company information! Contact your company admin user.',
|
NOT_COMPANY_ADMIN: 'You are not allowed to change the company information! Contact your company admin user.',
|
||||||
ADD_VAT: 'The vat code can not be empty!',
|
ADD_VAT: 'The vat code can not be empty!',
|
||||||
ADD_COPMANY_NAME: 'The company name can not be empty!',
|
ADD_COMPANY_NAME: 'The company name can not be empty!',
|
||||||
COMPANY_UPDATED: 'Company info updated!',
|
COMPANY_UPDATED: 'Company info updated!',
|
||||||
COMPANY_NOT_CHANGED: 'No changes!',
|
COMPANY_NOT_CHANGED: 'No changes!',
|
||||||
ADD_COMPANY: 'Invalid company!',
|
ADD_COMPANY: 'Invalid company!',
|
||||||
|
|||||||
Reference in New Issue
Block a user