AruStatuses.php 498 B

1234567891011121314151617181920
  1. <?php
  2. namespace App\Enums;
  3. class AruStatuses extends AbstractEnum {
  4. public const DRAFT = 0;
  5. public const AWAITING_PARTS_FROM_SUPPLIER = 1;
  6. public const AWAITING_CUSTOMER_RETURN = 2;
  7. public const COMPLETED = 3;
  8. public static function options(): array {
  9. return [
  10. self::DRAFT => __("Draft"),
  11. self::AWAITING_PARTS_FROM_SUPPLIER => __("Awaiting Parts From Supplier"),
  12. self::AWAITING_CUSTOMER_RETURN => __("Awaiting Customer Return"),
  13. self::COMPLETED => __("Completed"),
  14. ];
  15. }
  16. }