@extends('layouts.admin') @section('content') @include('include.datatable-css')
{{-- Filters HTML --}}
@if (isVendor()) @include('include.create-button', ['url' => route('add-item')]) @endif @include('include.export-button') @include('include.refresh-button')
{{-- Filters HTML End --}} @include('include.flash-message')
@if (is_countable($items)) @foreach ($items as $item) @endforeach @endif
Photo Title Alias Price Addon Label Addon Quantity Status Created By Created On Action
@if ($item->thumbnail != NULL) @if (Storage::exists($item->thumbnail)) photo @else photo @endif @else photo @endif {{ Str::limit($item->title, 50, ' ...') }} {{ Str::limit($item->alias, 50, ' ...') }} ${{ number_format($item->price, 2) }} {{ $item->addon_label }} {{ $item->addon_qty }} @if ($item->active == '1') Active @else Active @endif {{ $item->creator->accountId }} {{ $item->created_at }}
@if (is_countable($items)) @foreach ($items as $item) @endforeach @endif @include('include.datatable') @include('include.filters-common-js-part') @include('include.datatable-date-range-selector-js', ['url' => 'items']) {{-- Page specific JS --}} @endsection