Add payment status
This commit is contained in:
27
app/Repos/Payment/PaymentStatusRepo.php
Normal file
27
app/Repos/Payment/PaymentStatusRepo.php
Normal file
@@ -0,0 +1,27 @@
|
||||
<?php
|
||||
|
||||
namespace App\Repos\Payment;
|
||||
|
||||
class PaymentStatusRepo
|
||||
{
|
||||
/**
|
||||
* Resource has been paid
|
||||
*/
|
||||
public const PAID = 'paid';
|
||||
|
||||
/**
|
||||
* Resource has not been paid
|
||||
*/
|
||||
public const UNPAID = 'unpaid';
|
||||
|
||||
/**
|
||||
* Payment statuses
|
||||
*/
|
||||
public static function values(): array
|
||||
{
|
||||
return [
|
||||
self::PAID => __('Paid'),
|
||||
self::UNPAID => __('Unpaid'),
|
||||
];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user