{!! Form::open([ 'url' => route('ecommerce.shipments.shippo.update-rate', $shipment->id), 'class' => 'update-rate-shipment', ]) !!}
@if ($rate)
@include('plugins/shippo::rate', [ 'index' => 'selected', 'item' => $rate, 'attributes' => [ 'checked' => true, ], ])
@else

{{ trans('plugins/shippo::shippo.carrier_could_not_be_found') }}

@endif

@foreach($rates as $item) @include('plugins/shippo::rate', [ 'index' => $loop->index, 'attributes' => [ 'disabled' => $rate ? 'disabled' : false ], ]) @endforeach
{!! Form::close() !!}