feat: add lab tests, patient file management, and prescription improvements
This commit is contained in:
@@ -15,11 +15,13 @@
|
||||
use Filament\Actions\DeleteBulkAction;
|
||||
use Filament\Actions\EditAction;
|
||||
use Filament\Forms\Components\TextInput;
|
||||
use Filament\Forms\Components\Toggle;
|
||||
use Filament\Resources\Resource;
|
||||
use Filament\Schemas\Components\Grid;
|
||||
use Filament\Schemas\Components\Section;
|
||||
use Filament\Schemas\Schema;
|
||||
use Filament\Support\Enums\FontWeight;
|
||||
use Filament\Tables\Columns\IconColumn;
|
||||
use Filament\Tables\Columns\TextColumn;
|
||||
use Filament\Tables\Table;
|
||||
use Illuminate\Support\Collection;
|
||||
@@ -99,6 +101,9 @@ public static function form(Schema $schema): Schema
|
||||
TextInput::make('license_id')
|
||||
->label(__('doctors.fields.license_id'))
|
||||
->maxLength(50),
|
||||
|
||||
Toggle::make('is_default')
|
||||
->label(__('doctors.fields.is_default')),
|
||||
])
|
||||
->columns(2)
|
||||
->columnSpanFull()
|
||||
@@ -165,6 +170,10 @@ public static function table(Table $table): Table
|
||||
->badge()
|
||||
->color('primary'),
|
||||
|
||||
IconColumn::make('is_default')
|
||||
->label(__('doctors.fields.is_default'))
|
||||
->boolean(),
|
||||
|
||||
TextColumn::make('created_at')
|
||||
->label(__('doctors.fields.created_at'))
|
||||
->sortable(),
|
||||
|
||||
Reference in New Issue
Block a user