feat: tambah budget kegiatan dengan alur threshold approval/voting

This commit is contained in:
2026-04-05 23:18:49 +07:00
parent cbadc550fc
commit 4106eae5cf
6 changed files with 73 additions and 2 deletions
@@ -2,6 +2,7 @@
namespace App\Filament\Resources\CashRecords\Schemas;
use App\Models\Activity;
use App\Models\CashCategory;
use Filament\Forms\Components\DatePicker;
use Filament\Forms\Components\Placeholder;
@@ -27,6 +28,9 @@ class CashRecordForm
->live(),
Textarea::make('description')->label('Keterangan')->required()->columnSpanFull(),
DatePicker::make('date')->label('Tanggal')->required(),
Select::make('activity_id')->label('Kegiatan Terkait')
->options(Activity::whereIn('status', ['approved'])->pluck('title', 'id'))
->searchable()->nullable(),
]);
}
}