|
@@ -125,11 +125,13 @@ class DocumentResource extends Resource
|
125
|
125
|
->numeric()
|
126
|
126
|
->live()
|
127
|
127
|
->default(1),
|
128
|
|
- Forms\Components\TextInput::make('unit_price')
|
129
|
|
- ->required()
|
130
|
|
- ->live()
|
131
|
|
- ->numeric()
|
132
|
|
- ->default(0),
|
|
128
|
+ Forms\Components\Group::make([
|
|
129
|
+ Forms\Components\TextInput::make('unit_price')
|
|
130
|
+ ->hiddenLabel()
|
|
131
|
+ ->live()
|
|
132
|
+ ->numeric()
|
|
133
|
+ ->default(0),
|
|
134
|
+ ]),
|
133
|
135
|
Forms\Components\Placeholder::make('total')
|
134
|
136
|
->hiddenLabel()
|
135
|
137
|
->content(function (Forms\Get $get) {
|