Fix invoice settings when fields are empty
continuous-integration/drone/push Build is passing Details

This commit is contained in:
philipp lang 2024-12-15 12:05:58 +01:00
parent 101ac7402a
commit c3a0381a0a
1 changed files with 11 additions and 21 deletions

View File

@ -8,27 +8,17 @@ use Lorisleiva\Actions\ActionRequest;
class InvoiceSettings extends LocalSettings implements Storeable class InvoiceSettings extends LocalSettings implements Storeable
{ {
public string $from_long; public ?string $from_long;
public ?string $from;
public string $from; public ?string $mobile;
public ?string $email;
public string $mobile; public ?string $website;
public ?string $address;
public string $email; public ?string $place;
public ?string $zip;
public string $website; public ?string $iban;
public ?string $bic;
public string $address; public ?int $rememberWeeks;
public string $place;
public string $zip;
public string $iban;
public string $bic;
public int $rememberWeeks;
public static function group(): string public static function group(): string
{ {