User-Panel-Restarbeiten: PM-Guard, Profil-Rework, USt-ID-Prüfung, Buchungspflicht-Adresse
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
parent
036a53499f
commit
afcca34f91
25 changed files with 905 additions and 140 deletions
19
app/Enums/VatIdCheckStatus.php
Normal file
19
app/Enums/VatIdCheckStatus.php
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
<?php
|
||||
|
||||
namespace App\Enums;
|
||||
|
||||
/**
|
||||
* Ergebnis der USt-ID-Prüfung (Format + optionale eVatR-Online-Abfrage).
|
||||
*/
|
||||
enum VatIdCheckStatus: string
|
||||
{
|
||||
case Valid = 'valid';
|
||||
case Invalid = 'invalid';
|
||||
case FormatInvalid = 'format_invalid';
|
||||
case Unverified = 'unverified';
|
||||
|
||||
public function isUsable(): bool
|
||||
{
|
||||
return $this !== self::Invalid && $this !== self::FormatInvalid;
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue