diff --git a/app/Models/Item/Item.php b/app/Models/Item/Item.php index 65f3cbc65..88a6a7c8d 100644 --- a/app/Models/Item/Item.php +++ b/app/Models/Item/Item.php @@ -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; diff --git a/resources/views/items/items/index.blade.php b/resources/views/items/items/index.blade.php index 18f1226a4..6dac755e8 100644 --- a/resources/views/items/items/index.blade.php +++ b/resources/views/items/items/index.blade.php @@ -45,7 +45,7 @@
@foreach($items as $item)