adrema/app/Invoice/InvoiceSettings.php

62 lines
1.0 KiB
PHP

<?php
namespace App\Invoice;
use App\Setting\Contracts\Storeable;
use App\Setting\LocalSettings;
class InvoiceSettings extends LocalSettings implements Storeable
{
public string $from_long;
public string $from;
public string $mobile;
public string $email;
public string $website;
public string $address;
public string $place;
public string $zip;
public string $iban;
public string $bic;
public int $rememberWeeks;
public static function group(): string
{
return 'bill';
}
/**
* @inheritdoc
*/
public function rules(): array
{
return [
'from_long' => '',
'from' => '',
'mobile' => '',
'email' => '',
'website' => '',
'address' => '',
'place' => '',
'zip' => '',
'iban' => '',
'bic' => '',
'rememberWeeks' => '',
];
}
public static function title(): string
{
return 'Rechnung';
}
}