removed designation in employee master resource page #694

Merged
jothi merged 1 commits from ranjith-dev into master 2026-06-02 03:34:07 +00:00

View File

@@ -58,11 +58,11 @@ class EmployeeMasterResource extends Resource
Forms\Components\TextInput::make('department') Forms\Components\TextInput::make('department')
->label('Department') ->label('Department')
->required(), ->required(),
Forms\Components\TextInput::make('designation') // Forms\Components\TextInput::make('designation')
->label('Designation') // ->label('Designation')
->extraInputAttributes([ // ->extraInputAttributes([
'oninput' => 'this.value = this.value.replace(/[^a-zA-Z\s]/g, "")',]) // 'oninput' => 'this.value = this.value.replace(/[^a-zA-Z\s]/g, "")',])
->required(), // ->required(),
Forms\Components\TextInput::make('email') Forms\Components\TextInput::make('email')
->label('Email') ->label('Email')
->email() ->email()
@@ -125,11 +125,11 @@ class EmployeeMasterResource extends Resource
->sortable() ->sortable()
->alignCenter() ->alignCenter()
->searchable(), ->searchable(),
Tables\Columns\TextColumn::make('designation') // Tables\Columns\TextColumn::make('designation')
->label('Designation') // ->label('Designation')
->sortable() // ->sortable()
->alignCenter() // ->alignCenter()
->searchable(), // ->searchable(),
Tables\Columns\TextColumn::make('email') Tables\Columns\TextColumn::make('email')
->label('Email') ->label('Email')
->sortable() ->sortable()