@extends('layouts.admin') @section('content')
{{ csrf_field() }} @include('includes.form-success') @if (count($order->melhorenvio_requests) > 0)
    {{__('This order already has an Melhor Envio request')}}
@endif

{{ __('Please confirm service') }}

@foreach ($melhorenvio_rates as $service)

@if ($service->id == $melhorenvio_order_service) {{ __('Client choice') }} @endif

@if(!isset($service->error)) @php $value = App\Helpers\Helper::toFloat($service->custom_price) / $curr_brl->value; $value_format = $curr_brl->sign . number_format( $value * $curr_brl->value, $curr_brl->decimal_digits, $curr_brl->decimal_separator, $curr_brl->thousands_separator ); $estimated_min = $service->custom_delivery_range->min; $estimated_max = $service->custom_delivery_range->max; @endphp
id == $melhorenvio_order_service)?'checked':''}} required>
@else
@endif
@endforeach
@endsection @section('scripts') @endsection