Skip to content

Commit

Permalink
Update ManageProductShipping.php
Browse files Browse the repository at this point in the history
  • Loading branch information
glennjacobs committed Feb 15, 2024
1 parent 1366268 commit 4deab57
Showing 1 changed file with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -136,55 +136,55 @@ public function form(Form $form): Form
return $form->schema([
Section::make()->schema([
Toggle::make('shippable')->label(
__('lunarpanel::product.pages.shipping.form.shippable.label')
__('lunarpanel::productvariant.form.shippable.label')
)->columnSpan(2),

TextInputSelectAffix::make('dimensions.length_value')
->label(
__('lunarpanel::product.pages.shipping.form.length_value.label')
__('lunarpanel::productvariant.form.length_value.label')
)
->numeric()
->select(
fn () => Select::make('length_unit')
->options($lengths)
->label(
__('lunarpanel::product.pages.shipping.form.length_unit.label')
__('lunarpanel::pproductvariant.form.length_unit.label')
)->selectablePlaceholder(false)
),
TextInputSelectAffix::make('dimensions.width_value')
->label(
__('lunarpanel::product.pages.shipping.form.width_value.label')
__('lunarpanel::productvariant.form.width_value.label')
)
->numeric()
->select(
fn () => Select::make('width_unit')
->options($lengths)
->label(
__('lunarpanel::product.pages.shipping.form.width_unit.label')
__('lunarpanel::productvariant.form.width_unit.label')
)->selectablePlaceholder(false)
),
TextInputSelectAffix::make('dimensions.height_value')
->label(
__('lunarpanel::product.pages.shipping.form.height_value.label')
__('lunarpanel::productvariant.form.height_value.label')
)
->numeric()
->select(
fn () => Select::make('height_unit')
->options($lengths)
->label(
__('lunarpanel::product.pages.shipping.form.height_unit.label')
__('lunarpanel::productvariant.form.height_unit.label')
)->selectablePlaceholder(false)
),
TextInputSelectAffix::make('dimensions.weight_value')
->label(
__('lunarpanel::product.pages.shipping.form.weight_value.label')
__('lunarpanel::productvariant.form.weight_value.label')
)
->numeric()
->select(
fn () => Select::make('weight_unit')
->options($weights)
->label(
__('lunarpanel::product.pages.shipping.form.weight_unit.label')
__('lunarpanel::productvariant.form.weight_unit.label')
)->selectablePlaceholder(false)
),
])->columns([
Expand Down

0 comments on commit 4deab57

Please sign in to comment.