You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AdjustmentCategory.php 273B

12345678910111213141516
  1. <?php
  2. namespace App\Enums\Accounting;
  3. use Filament\Support\Contracts\HasLabel;
  4. enum AdjustmentCategory: string implements HasLabel
  5. {
  6. case Tax = 'tax';
  7. case Discount = 'discount';
  8. public function getLabel(): ?string
  9. {
  10. return $this->name;
  11. }
  12. }