diff --git a/app/Filament/Resources/BiddersResource/RelationManagers/WinningBidsRelationManager.php b/app/Filament/Resources/BiddersResource/RelationManagers/WinningBidsRelationManager.php index 313e8d3..fb1f4bb 100644 --- a/app/Filament/Resources/BiddersResource/RelationManagers/WinningBidsRelationManager.php +++ b/app/Filament/Resources/BiddersResource/RelationManagers/WinningBidsRelationManager.php @@ -21,9 +21,6 @@ class WinningBidsRelationManager extends RelationManager { return $form ->schema([ - /*Forms\Components\TextInput::make('winning_bidder_num') - ->required() - ->maxLength(255),*/ Forms\Components\Select::make('winning_bidder_num') ->label('Winning Bidder Number') ->options(Bidders::pluck('bidder_assigned_number', 'idbidders')) diff --git a/app/Filament/Resources/ItemsResource.php b/app/Filament/Resources/ItemsResource.php index 40be589..a0cb2eb 100644 --- a/app/Filament/Resources/ItemsResource.php +++ b/app/Filament/Resources/ItemsResource.php @@ -29,7 +29,30 @@ class ItemsResource extends Resource { return $form ->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 + ) + ), ]); }