Add salary currency field to Career resource and model, implement currency options, and update careers index view

This commit is contained in:
nurmuhammet committed 2025-07-29 11:08:20 +05:00
1 parent 8a2166bd78
commit f9f08c7adf
5 files changed
+200 -1

No files matched your search

@@ -47,6 +47,10 @@ public static function form(Form $form): Form
->numeric()
->label('Salary per month')
->maxLength(255),
Forms\Components\Select::make('salary_currency')
->options(getCurrencies())
->required()
->label('Salary currency'),
Repeater::make('bullets')
->schema([
TextInput::make('bullet')
@@ -71,6 +75,9 @@ public static function table(Table $table): Table
Tables\Columns\TextColumn::make('salary_per_month')
->searchable()
->toggleable(isToggledHiddenByDefault: true),
Tables\Columns\TextColumn::make('salary_currency')
->searchable()
->toggleable(isToggledHiddenByDefault: true),
Tables\Columns\TextColumn::make('location')
->searchable(),
Tables\Columns\TextColumn::make('salary')