SaleStatuses.php 457 B

1234567891011121314151617181920212223
  1. <?php
  2. namespace App\Enums;
  3. class SaleStatuses extends AbstractEnum {
  4. public const NEW = 0;
  5. public const VERIFIED = 1;
  6. public const CONFIRMED = 2;
  7. public const SHIPPING = 3;
  8. public const COMPLETED = 4;
  9. public static function options(): array {
  10. return [
  11. self::NEW => __("New"),
  12. // self::VERIFIED => __("Verified"),
  13. self::CONFIRMED => __("Confirmed"),
  14. self::SHIPPING => __("Shipping"),
  15. self::COMPLETED => __("Completed"),
  16. ];
  17. }
  18. }