@extends('layouts.admin') @section('page-title', 'ویرایش محصول') @section('main')

ویرایش محصول: {{ $product->name }}

@csrf @method('PUT')
@error('name')

{{ $message }}

@enderror
@error('product_category_id')

{{ $message }}

@enderror
@error('description')

{{ $message }}

@enderror

از ادیتور برای فرمت‌بندی امکانات استفاده کنید

@error('features')

{{ $message }}

@enderror

مشخصات فنی

@if($product->specifications) @foreach($product->specifications as $index => $spec)
@endforeach @else
@endif
@error('base_price')

{{ $message }}

@enderror
@error('setup_fee')

{{ $message }}

@enderror

قیمت‌گذاری دوره‌ای

قیمت محصول را برای هر دوره پرداخت تعیین کنید.

@php $existingPrices = $product->prices->keyBy('billing_cycle'); @endphp
@foreach(['monthly' => 'ماهانه', 'quarterly' => 'سه ماهه', 'semiannually' => 'شش ماهه', 'annually' => 'سالانه', 'biennially' => 'دو سالانه', 'onetime' => 'یکباره', 'hourly' => 'ساعتی'] as $cycle => $label)
@endforeach
is_active) ? 'checked' : '' }} class="w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
is_featured) ? 'checked' : '' }} class="w-4 h-4 text-blue-600 border-gray-300 rounded focus:ring-blue-500">
انصراف
{{-- قسمت مدیریت قیمت‌ها --}}

مدیریت قیمت‌گذاری

قیمت‌های مختلف برای دوره‌های پرداخت

صفحه مدیریت قیمت‌ها به زودی...

@endsection