@extends('admin.layouts.app') @section('content')

Store List

@if($stores) @foreach($stores as $store) @endforeach @endif
ID Store Name Store Image Zip Code City Status Action
{{$store->id }} {{$store->store_name}} {{$store->zip_code}} {{$store->city}} @if($store->status == 1) Active @else Inactive @endif @php $prodID = Crypt::encrypt($store->id); @endphp
{{ Form::open(['route' => ['stores.destroy', $store->id], 'method' => 'delete']) }} {{ Form::button('', [ 'type' => 'submit', 'class' => 'btn btn-dim btn-danger']) }} {{-- id) }}'> --}} {{ Form::close() }}
@endsection