siakad-itm/app/Enums/PaymentStatus.php
Yoga Pangestu 8e4d0ba530
Some checks failed
tests / ci (pull_request) Has been cancelled
feat: add tuition invoice and payment management
- Implemented StudentService to retrieve all students for selection.
- Created migration for tuition_invoices and tuition_payments tables.
- Added seeders for TuitionInvoice and TuitionPayment with sample data.
- Updated DatabaseSeeder to include new seeders.
- Developed UI components for managing tuition invoices and payments, including forms and data tables.
- Introduced RupiahInput component for formatted currency input.
- Added routes for tuition invoices and payments management.
- Defined TypeScript types for tuition invoices and payments.
2026-08-25 00:34:32 +07:00

20 lines
352 B
PHP

<?php
namespace App\Enums;
enum PaymentStatus: string
{
case Unpaid = 'unpaid';
case Partial = 'partial';
case Paid = 'paid';
public function label(): string
{
return match ($this) {
self::Unpaid => 'Belum Bayar',
self::Partial => 'Sebagian',
self::Paid => 'Lunas',
};
}
}