This commit is contained in:
2024-11-06 18:37:46 +05:00
parent a899bdc3af
commit 2148587b13
2 changed files with 26 additions and 2 deletions

View File

@@ -26,6 +26,21 @@ class OnlinePaymentRepo
*/
public const PAID = 'paid';
/**
* Status Values
*
* @return array<string, string>
*/
public static function statusValues(): array
{
return [
null => '-',
self::PENDING => __('Pending'),
self::PAID => __('Paid'),
self::FAILED => __('Cancelled'),
];
}
/**
* Set price
*/