@extends('layouts.contentLayoutMaster') {{-- page title --}} @section('title', 'Product Form') {{-- vendor style --}} @section('vendor-style') @endsection {{-- page style --}} @section('page-style') @endsection {{-- page content --}} @section('content')

Product Edit

{{-- {{dd($errors)}} --}}
@csrf @method('PUT') @if ($prices->count() == 0) @foreach ($merchantClasses as $class) @endforeach @else @foreach ($prices as $price) @endforeach @if ($newMerchantPrices->count() > 0) @foreach ($newMerchantPrices as $price) @endforeach @endif @endif
Model * @if ($errors->has('model'))
{{ $errors->first('model') }}
@endif
Normal Price * {{-- --}}
MMK
@if ($errors->has('normal_price'))
{{ $errors->first('normal_price') }}
@endif
Discounted Price {{-- --}}
MMK
@if ($errors->has('discounted_price'))
{{ $errors->first('discounted_price') }}
@endif
Quantity * @if ($errors->has('quantity'))
{{ $errors->first('quantity') }}
@endif
Description * @if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
Choose your category * @if ($errors->has('category_id'))
{{ $errors->first('category_id') }}
@endif
{{ $class->name }} Price
{{ $price->merchantClass->name }} Price
{{ $price->name }} Price
Choose your usage area * @if ($errors->has('usage_area_id'))
{{ $errors->first('usage_area_id') }}
@endif
Is Best Deal *

@if ($errors->has('is_bestdeal'))
{{ $errors->first('is_bestdeal') }}
@endif
Product Images *
@if ($errors->has('images'))
{{ $errors->first('images') }}
@endif
Product Images
@forelse ($product->images as $image) @empty

No Image Found!

@endforelse
Banner Image
@if ($errors->has('banner_image')) @endif
Banner Images
Banner Images
@forelse ($product->banners as $banner)
product image
@empty

No Banner Image Found!

@endforelse
Cancel
@endsection {{-- vendor script --}} @section('vendor-script') @endsection {{-- page script --}} @section('page-script') @endsection