Commit b629a392 authored by Antonio.Suerte's avatar Antonio.Suerte

Adding Last Name to Corp Account Profile

parent 34167540
...@@ -771,8 +771,12 @@ class SettingModelClass extends ModelClassEx { ...@@ -771,8 +771,12 @@ class SettingModelClass extends ModelClassEx {
* @return : 名 * @return : 名
-------------------------------------------------------------------------*/ -------------------------------------------------------------------------*/
public function echoFirstName() { public function echoFirstName() {
if($this -> getColumnData($this -> user, COLUMN_ACCOUNT_TYPE) == VAR_CORP){
echo $this -> firstName.' '.$this -> lastName;
}else{
echo $this -> firstName; echo $this -> firstName;
} }
}
/*------------------------------------------------------------------------- /*-------------------------------------------------------------------------
* @function_name: 名の取得 * @function_name: 名の取得
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment