@extends('admin.layouts.master') @php $can_update = Gate::allows('update', $config) ?? null; $active_shipping_methods = $config->shippingMethods->pluck('id')->toArray(); $has_config = false; @endphp @section('content')
{{ $type }}
@endif{!! get_shipping_method_type($type_id)['description'] !!}
{{ $shipping_provider->name }}
@endif{!! $shipping_provider->description !!}
@if (in_array($shipping_provider->id, $active_shipping_methods)) @if ($can_update) @switch ($shipping_provider->code) @case ('shippo') @php $has_config = true; @endphp @break @endswitch @unless ($has_config)