@include('Admin.Includes.header') @php use Illuminate\Support\Facades\Auth; $logged_in_user = Auth::user(); use App\General\CollectionClass; use App\General\ProductCollectionClass; @endphp
@if (session('success'))
{{ session('success') }}
@endif @if ($errors->any())
    @foreach ($errors->all() as $error)
  • {{ $error }}
  • @endforeach
@endif
@csrf @method('PUT')
{{ __('collection Details (Compulsory)') }}
{{ url('/') }}/collections/
{{ __('Product') }}
@if (Session::has('permissions') && in_array('Add Product In Collection', Session::get('permissions')))
@endif
@php $i = 1; @endphp @foreach ($collectionproducts as $collectionproduct) @php $i++; @endphp @endforeach
# Title Actions
{{ $i }} @if ($collectionproduct->id)
@if (Session::has('permissions') && in_array('Delete Collection Product', Session::get('permissions'))) @endif
@endif
# Title Actions
{{ __('SEO Details (Optional)') }}
{{ __('Collection Actions') }}

Created By: @php print(CollectionClass::CreateBy($collection->created_by)); @endphp

Created Date: {{ formatDate($collection->created_at, false) }}

Updated Date: {{ formatDate($collection->updated_at, false) }}

{{ __('More Details (Required)') }}
@include('Admin.Includes.footer')