@extends('backend.layout.master') @section('backend-head') @endsection @section('backend-main') @if (session()->has('pro-created'))

{{ session()->get('pro-created') }}

@endif @if (session()->has('pro-deleted'))

{{ session()->get('pro-deleted') }}

@endif

المنتجات

جميع المنتجات
@foreach ($products as $product) @endforeach
ID العنوان الكاتب التصنيف مفعل خيارات
{{ $product->id }} {{ $product->title }} {{ $product->user->name }} {{ $product->subcategory->name }} @if ($product->status == 1) @else @endif
  • تعديل
  • @if ($product->status == 1)
  • {{ csrf_field('PUT') }}
  • @endif @if ($product->status == 0)
  • {{ csrf_field('PUT') }}
  • @endif
  • {{ csrf_field() }} {{ method_field('DELETE') }}
@endsection @section('backend-footer') @endsection