fixed item default picture after #29 change

This commit is contained in:
denisdulici
2017-09-29 23:41:28 +03:00
parent 55b09c9741
commit 3574c60469
2 changed files with 1 additions and 13 deletions

View File

@ -69,18 +69,6 @@ class Item extends Model
return $this->reverseConvert($this->amount, $this->currency_code, $this->currency_rate, $format);
}
/**
* Always return a valid picture when we retrieve it
*/
public function getPictureAttribute($value)
{
if (!empty($value)) {
return $value;
} else {
return 'public/img/akaunting-logo-green.png';
}
}
public function canDelete()
{
$error = false;