This commit is contained in:
nurmuhammet committed 2024-11-06 18:37:46 +05:00
1 parent a899bdc3af
commit 2148587b13
2 files changed
+26 -2

No files matched your search

+15
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
*/