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\Gifts\Schemas;
use App\Filament\Support\HrForm;
use Filament\Forms\Components\DatePicker;
use Filament\Forms\Components\TextInput;
use Filament\Forms\Components\Textarea;
use Filament\Schemas\Schema;
class GiftForm
{
public static function configure(Schema $schema): Schema
{
return $schema
->components([
HrForm::employeeSelect(),
DatePicker::make('gift_date')
->required()
->default(now()),
TextInput::make('gift_name')
->label('Gift Name')
->required()
->maxLength(255),
TextInput::make('value')
->required()
->numeric()
->prefix('TMT')
->minValue(0)
->step(0.01)
->default(0),
Textarea::make('reason')
->rows(3)
->columnSpanFull(),
]);
}
}