Added tax support

This commit is contained in:
2026-08-06 11:49:58 +02:00
parent 6b33c1b4dd
commit c17facf063
15 changed files with 679 additions and 7 deletions
+14 -1
View File
@@ -21,6 +21,10 @@ use App\Scopes\CommonModel;
* @property string $url_participation_rules
* @property boolean $events_allowed
* @property boolean $has_active_instance
* @property boolean $tax_liable
* @property int $vat_rate
* @property string|null $tax_exemption_reason
* @property string|null $tax_exemption_note
*/
class Tenant extends CommonModel
{
@@ -46,6 +50,15 @@ class Tenant extends CommonModel
'impress_text',
'url_participation_rules',
'is_active_local_group',
'has_active_instance'
'has_active_instance',
'tax_liable',
'vat_rate',
'tax_exemption_reason',
'tax_exemption_note',
];
protected $casts = [
'tax_liable' => 'boolean',
'vat_rate' => 'integer',
];
}