items
This commit is contained in:
parent
b51e56ff6f
commit
24841b3b98
@ -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'))
|
||||||
|
@ -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
|
||||||
|
)
|
||||||
|
),
|
||||||
]);
|
]);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user