@extends('layouts.seller.app', [ 'page' => $menuSeller['watch_and_buy']['active'] ?? '', 'sub_page' => $menuSeller['watch_and_buy']['route']['profile']['sub_active'] ?? '', ]) @section('title', __('labels.watch_buy_profile')) @section('header_data') @php $page_title = __('labels.watch_buy_profile'); $page_pretitle = __('labels.watch_buy'); @endphp @endsection @php $breadcrumbs = [ ['title' => __('labels.home'), 'url' => route('seller.dashboard')], ['title' => __('labels.watch_buy_profile'), 'url' => null], ]; @endphp @section('seller-content') @if (session('watch_buy_profile_required'))
{{ session('watch_buy_profile_required') }}
@endif @if (!$enabled)
{{ __('labels.watch_buy_feature_disabled') }}
@endif @if ($profile?->status?->value === 'suspended')
{{ __('labels.watch_buy_profile_suspended') }}
{{ $profile->suspension_reason }}
@endif
@csrf

{{ __('labels.watch_buy_profile') }}

@include('watch_buy._profile_fields', ['profile' => $profile])
@if ($profile && $statusViewPermission) @php $statusesEnabled = $config['enabled'] && $config['statusesEnabled']; $suspended = $profile->status->value === 'suspended'; $canCreate = $statusCreatePermission; $canDelete = !$suspended && $statusDeletePermission; @endphp @include('watch_buy._seller_status_section', [ 'composerId' => 'seller-profile-watch-buy-status-composer', 'pickerId' => 'seller-profile-story-products', ]) @endif @endsection @push('styles') @endpush @push('scripts') @if ($profile && $statusViewPermission) @if ($errors->has('media') || $errors->has('text') || $errors->has('attachment_ids')) @endif @endif @endpush