@extends('template.desktop.app') @section('content')
User Profile

Lengkapi profil pengguna distributor

@csrf @method('PUT')
status ? 'checked' : '' }}>
Distributor Profile

Lengkapi profil distributor untuk penjualannya.

@csrf @method('PUT')
province_name}, {$area->city_name}, {$area->district_name}, {$area->sub_district_name} ({$area->zip_code})" : '') }}">
distributor->is_cod ?? false) ? 'checked' : '' }}>
distributor->is_shipping ?? false) ? 'checked' : '' }}>
@foreach ($shipments as $shipment)
distributor->shipments->pluck('id')->toArray()))->contains($shipment->id) ? 'checked' : '' }}>
@endforeach
@foreach ($marketPlaces as $marketPlace) @php $existing = $user->distributor->marketPlaces->firstWhere( 'id', $marketPlace->id, ); @endphp
id}.enabled", $existing ? true : false) ? 'checked' : '' }}>
id}.url", $existing->pivot->url ?? '') }}" style="{{ $existing ? '' : 'display:none;' }}">
@endforeach
@endsection @push('scripts') @endpush