@extends('admin/layout') @section('title') {{ labels('admin_labels.update_seller', 'Update Seller') }} @endsection @section('content') @php use App\Models\City; use App\Models\Zone; use App\Services\TranslationService; use App\Services\MediaService; @endphp
@method('PUT') @csrf
{{ labels('admin_labels.seller_details', 'Seller Details') }}
@if (isset($seller_data->image) && !empty($seller_data->image)) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . $seller_data->image, ) : $seller_data->image; @endphp
user-avatar
@endif
@if (isset($store_data[0]->address_proof) && !empty($store_data[0]->address_proof)) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . $store_data[0]->address_proof, ) : $store_data[0]->address_proof; @endphp
user-avatar
@endif
@if (isset($store_data[0]->seller->authorized_signature) && !empty($store_data[0]->seller->authorized_signature)) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . $store_data[0]->seller->authorized_signature, ) : $store_data[0]->seller->authorized_signature; @endphp
user-avatar
@endif
{{ labels('admin_labels.comission', 'Commission') }}
@php $category_html = getCategoriesOptionHtml($categories, $existing_category_ids); @endphp
(Commission(%) to be given to the Super Admin on order item by Category you select.If you do not set the commission beside category then it will get global commission other wise particular category commission will be consider.)
{{ labels('admin_labels.bank_details', 'Bank Details') }}
{{ labels('admin_labels.store_details', 'Store Details') }}
@if ($store_data[0]->logo && !empty($store_data[0]->logo)) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . $store_data[0]->logo, ) : $store_data[0]->logo; @endphp
user-avatar
@endif
@if ($store_data[0]->store_thumbnail && !empty($store_data[0]->store_thumbnail)) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . $store_data[0]->store_thumbnail, ) : $store_data[0]->store_thumbnail; @endphp
user-avatar
@endif
({{ $note_for_necessary_documents }})
@php $other_documents = json_decode($store_data[0]->other_documents); @endphp @if (!empty($other_documents))
@foreach ($other_documents as $row) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . '/' . $row, ) : $row; @endphp
Not Found
@endforeach
@endif
{{-- @dd($store_data[0]->selected_city); --}}
Note: Changing this setting will affect product deliverability settings. If you modify this, ensure that product deliverability settings are updated accordingly, or it may result in errors where products are marked as non-deliverable.
@php $zones = isset($store_data[0]->deliverable_zones) && $store_data[0]->deliverable_zones != null ? explode(',', $store_data[0]->deliverable_zones) : []; @endphp
{{ labels('admin_labels.other_details', 'Other Details') }}
@if ($store_data[0]->seller->national_identity_card && !empty($store_data[0]->seller->national_identity_card)) @php $isPublicDisk = $store_data[0]->disk == 'public' ? 1 : 0; $imagePath = $isPublicDisk ? asset( config('constants.SELLER_IMG_PATH') . $store_data[0]->seller->national_identity_card, ) : $store_data[0]->seller->national_identity_card; @endphp
user-avatar
@endif
@php if (isset($store_data[0]->permissions) && !empty($store_data[0]->permissions)) { $permit = json_decode($store_data[0]->permissions, true); } @endphp
{{ labels('admin_labels.permissions', 'Permissions') }}
{{-- commission modal --}} @endsection