@extends('admin.layout.master') @section('title', 'المنتجات') @section('content')
المنتجات
إنشاء جديد
@csrf
إسم المنتج
@if ($errors->has('title'))
{{ $errors->first('title') }}
@endif
السعر للعملاء
@if ($errors->has('client_price'))
{{ $errors->first('client_price') }}
@endif
السعر للتجار
@if ($errors->has('merchant_price'))
{{ $errors->first('merchant_price') }}
@endif
العدد
@if ($errors->has('count'))
{{ $errors->first('count') }}
@endif
الوصف
{{old('description')}}
@if ($errors->has('description'))
{{ $errors->first('description') }}
@endif
الصور
@if ($errors->has('product_images'))
{{ $errors->first('product_images') }}
@endif
التصنيف
@foreach($categories as $category)
id ? 'selected' : ''}} value="{{$category->id}}"> {{$category->title}}
@endforeach
@if ($errors->has('category_id'))
{{ $errors->first('category_id') }}
@endif
الوسوم
@foreach($tags as $tag)
{{$tag->title}}
@endforeach
@if ($errors->has('tags'))
{{ $errors->first('tags') }}
@endif
عرض
نعم
لا
@if ($errors->has('sale'))
{{ $errors->first('sale') }}
@endif
حفظ
@stop