Invoices can be uploaded
This commit is contained in:
20
app/Enumerations/InvoiceStatus.php
Normal file
20
app/Enumerations/InvoiceStatus.php
Normal 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',
|
||||
];
|
||||
}
|
||||
23
app/Enumerations/InvoiceType.php
Normal file
23
app/Enumerations/InvoiceType.php
Normal 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',
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user