@extends('administrator.layout') @section('admintitle', 'Products') @section('title', 'Product') @section('content')
@if (session()->has('success')) @endif @if (session()->has('error')) @endif
{{ __('text.products') }} {{ __('text.table') }}
@forelse($data as $index => $d) @empty @endforelse
{{ __('text.image') }} {{ __('text.name') }} {{ __('text.price') }} {{ __('text.sort_order') }} {{__('text.status')}} {{ __('text.action') }}
@if($d->image) @else @endif {{ $d->name }} {{$symbol}}{{ $d->price }} {{ $d->sort_order ?: 0 }} @if($d->status==1) {{ __('text.active') }} @else {{ __('text.deactive') }} @endif
{{ __('text.no_records_found') }}
{{ $data->links() }}
@endsection