12-05-2026 Frontend dev
This commit is contained in:
parent
405df0a122
commit
5b8bdf4182
779 changed files with 480564 additions and 6241 deletions
21
app/Enums/UserPaymentOptionStatus.php
Normal file
21
app/Enums/UserPaymentOptionStatus.php
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum UserPaymentOptionStatus: string
|
||||
{
|
||||
case Active = 'active';
|
||||
case PastDue = 'past_due';
|
||||
case Cancelled = 'cancelled';
|
||||
case Grandfathered = 'grandfathered';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Active => 'Aktiv',
|
||||
self::PastDue => 'Ueberfaellig',
|
||||
self::Cancelled => 'Gekuendigt',
|
||||
self::Grandfathered => 'Bestandsschutz',
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue