20-02-2026
This commit is contained in:
parent
854ce02bf6
commit
4d6b4930b2
128 changed files with 18247 additions and 2093 deletions
19
app/Enums/PriceType.php
Normal file
19
app/Enums/PriceType.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
enum PriceType: string
|
||||
{
|
||||
case Fixed = 'fixed';
|
||||
case FromPrice = 'from_price';
|
||||
case OnRequest = 'on_request';
|
||||
|
||||
public function label(): string
|
||||
{
|
||||
return match ($this) {
|
||||
self::Fixed => 'Festpreis',
|
||||
self::FromPrice => 'Ab-Preis',
|
||||
self::OnRequest => 'Preis auf Anfrage',
|
||||
};
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue