base commit

This commit is contained in:
Mekan1206
2026-07-30 17:24:40 +05:00
commit a794dacd39
345 changed files with 29597 additions and 0 deletions

View File

@@ -0,0 +1,37 @@
<?php
namespace App\Filament\Resources\Bonuses\Schemas;
use App\Models\Bonus;
use Filament\Infolists\Components\TextEntry;
use Filament\Schemas\Schema;
class BonusInfolist
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
TextEntry::make('employee.id')
->label('Employee'),
TextEntry::make('bonus_date')
->date(),
TextEntry::make('bonus_type')
->badge(),
TextEntry::make('amount')
->numeric(),
TextEntry::make('reason')
->placeholder('-')
->columnSpanFull(),
TextEntry::make('created_at')
->dateTime()
->placeholder('-'),
TextEntry::make('updated_at')
->dateTime()
->placeholder('-'),
TextEntry::make('deleted_at')
->dateTime()
->visible(fn (Bonus $record): bool => $record->trashed()),
]);
}
}