Attachment file update

This commit is contained in:
cuneytsenturk
2017-12-29 19:56:56 +03:00
parent 94b7e9ec64
commit 3e04f1295b
7 changed files with 66 additions and 5 deletions

View File

@ -150,6 +150,6 @@ class Invoice extends Model
return false;
}
return $this->getMedia('attachment')->first();
return $this->getMedia('attachment')->last();
}
}