Set type of payment terms

This commit is contained in:
David Bomba 2022-01-13 10:54:34 +11:00
parent 8faa687ae4
commit a56490c465

View File

@ -477,6 +477,11 @@ class Import implements ShouldQueue
} }
$company_settings->{$key} = $value; $company_settings->{$key} = $value;
if($key == 'payment_terms'){
settype($company_settings->payment_terms, 'string');
}
} }
$data['settings'] = $company_settings; $data['settings'] = $company_settings;