This commit is contained in:
Russ Long 2023-03-16 13:13:42 -04:00
parent b51e56ff6f
commit 24841b3b98
2 changed files with 24 additions and 4 deletions

View File

@ -21,9 +21,6 @@ class WinningBidsRelationManager extends RelationManager
{ {
return $form return $form
->schema([ ->schema([
/*Forms\Components\TextInput::make('winning_bidder_num')
->required()
->maxLength(255),*/
Forms\Components\Select::make('winning_bidder_num') Forms\Components\Select::make('winning_bidder_num')
->label('Winning Bidder Number') ->label('Winning Bidder Number')
->options(Bidders::pluck('bidder_assigned_number', 'idbidders')) ->options(Bidders::pluck('bidder_assigned_number', 'idbidders'))

View File

@ -29,7 +29,30 @@ class ItemsResource extends Resource
{ {
return $form return $form
->schema([ ->schema([
// TextInput::make('item_assigned_num')
->label('Item Number'),
TextInput::make('item_desc')
->label('Description'),
TextInput::make('item_min_bid')
->label('Minimum Bid')
->mask(
fn (TextInput\Mask $mask) => $mask->money(
prefix: '$',
thousandsSeparator: ',',
decimalPlaces: 2,
isSigned: false
)
),
TextInput::make('item_est_value')
->label('Estimated Value')
->mask(
fn (TextInput\Mask $mask) => $mask->money(
prefix: '$',
thousandsSeparator: ',',
decimalPlaces: 2,
isSigned: false
)
),
]); ]);
} }