fixed bill badge

This commit is contained in:
denisdulici 2020-01-13 17:14:55 +03:00
parent 49bc0c2194
commit b9e6128da4

View File

@ -259,7 +259,7 @@ class Bill extends Model
*/
public function getStatusLabelAttribute()
{
switch ($this->code) {
switch ($this->status) {
case 'paid':
$label = 'success';
break;