Some minor refactoring.

This commit is contained in:
James Cole
2016-10-08 10:02:33 +02:00
parent d43936155c
commit 24f62b8fce
7 changed files with 170 additions and 143 deletions

View File

@@ -236,20 +236,6 @@ class Account extends Model
return $value;
}
/**
*
* @return string
*/
public function getNameForEditformAttribute(): string
{
$name = $this->name;
if ($this->accountType->type == 'Cash account') {
$name = '';
}
return $name;
}
/**
* @return HasMany
*/