translate base
This commit is contained in:
@@ -19,12 +19,12 @@ class EmployeeForm
|
||||
{
|
||||
return $schema
|
||||
->components([
|
||||
Tabs::make('Employee')
|
||||
Tabs::make(__('hr.tabs.employee'))
|
||||
->tabs([
|
||||
Tab::make('Personal')
|
||||
Tab::make(__('hr.tabs.personal'))
|
||||
->schema([
|
||||
HrForm::fileUpload('profile_photo_path')
|
||||
->label('Photo')
|
||||
->label(__('hr.fields.photo'))
|
||||
->image()
|
||||
->avatar()
|
||||
->imageEditor(),
|
||||
@@ -36,7 +36,7 @@ class EmployeeForm
|
||||
->required()
|
||||
->maxLength(255),
|
||||
TextInput::make('national_id')
|
||||
->label('National ID')
|
||||
->label(__('hr.fields.national_id'))
|
||||
->maxLength(50),
|
||||
Select::make('gender')
|
||||
->options(Gender::class)
|
||||
@@ -53,7 +53,7 @@ class EmployeeForm
|
||||
->columnSpanFull(),
|
||||
])
|
||||
->columns(2),
|
||||
Tab::make('Employment')
|
||||
Tab::make(__('hr.tabs.employment'))
|
||||
->schema([
|
||||
Select::make('department_id')
|
||||
->relationship('department', 'name')
|
||||
|
||||
Reference in New Issue
Block a user