Feat: Correctly displaying Manual VOucher Edit Button
This commit is contained in:
@@ -145,9 +145,8 @@ class ShippingMethodResourceExtension extends ResourceExtension
|
||||
->required($isManual),
|
||||
TextInput::make('tracking_url')
|
||||
->label('Tracking URL')
|
||||
->helperText('Optional. The carrier\'s tracking page, with {number} where the voucher number goes, e.g. https://example.com/track?number={number}.')
|
||||
->rule('starts_with:http://,https://')
|
||||
->visible($isManual),
|
||||
->helperText('Optional. The carrier\'s tracking page, with {number} where the voucher number goes, e.g. https://example.com/track?number={number}. For an integrated carrier it\'s only used on vouchers typed in by hand.')
|
||||
->rule('starts_with:http://,https://'),
|
||||
Toggle::make('collects_cash')
|
||||
->label('Courier collects cash on delivery')
|
||||
->helperText('Offers cash on delivery at checkout for this shipping method.')
|
||||
|
||||
Reference in New Issue
Block a user