Invoices can be uploaded

This commit is contained in:
2026-02-11 15:40:06 +01:00
parent bccfc11687
commit ee7fc637f1
47 changed files with 1751 additions and 67 deletions

View File

@@ -0,0 +1,20 @@
<?php
namespace App\Enumerations;
use App\Scopes\CommonModel;
class InvoiceStatus extends CommonModel
{
public const INVOICE_STATUS_NEW = 'new';
public const INVOICE_STATUS_APPROVED = 'approved';
public const INVOICE_STATUS_DENIED = 'denied';
public const INVOICE_STATUS_EXPORTED = 'exported';
public const INVOICE_STAUTS_DELETED = 'deleted';
protected $table = 'invoice_status';
protected $fillable = [
'slug',
];
}

View File

@@ -0,0 +1,23 @@
<?php
namespace App\Enumerations;
use App\Scopes\CommonModel;
class InvoiceType extends CommonModel {
public const INVOICE_TYPE_TRAVELLING = 'travelling';
public const INVOICE_TYPE_PROGRAM = 'program';
public const INVOICE_TYPE_OTHER = 'other';
public const INVOICE_TYPE_ACCOMMODATION = 'accommodation';
public const INVOICE_TYPE_CATERING = 'catering';
protected $fillable = [
'slug',
'name',
];
}