update fix deadcode, security

This commit is contained in:
baodev0
2026-09-28 08:26:29 +07:00
parent 3af59bd9c5
commit 82080b5b84
452 changed files with 4857 additions and 26289 deletions
-7
View File
@@ -29,11 +29,4 @@ class Payment extends Model
{
return $this->belongsTo(\App\Models\Order::class);
}
public function getStatus()
{
return match ($this->attributes['status']) {
1 => '<span class="badge bg-success">Active</span>',
default => '<span class="badge bg-secondary">InActive</span>'
};
}
}