@extends('layouts.master') @section('title',trans('dashboard.stores')) @section('css') @endsection @section('page-content')
@if (count($errors) > 0) @foreach ($errors->all() as $error) @endforeach @endif @if (session()->has('add')) @endif @if (session()->has('edit')) @endif @if (session()->has('delete')) @endif
@foreach($stores as $store) @if($store->status=='under_revision') @elseif($store->status=='accepted') @else @endif @endforeach
# @lang('dashboard.name') @lang('dashboard.status') @lang('dashboard.phone') @lang('dashboard.email') @lang('dashboard.join_date') @lang('dashboard.ads_number') @lang('dashboard.country') @lang('dashboard.image') @lang('dashboard.operations')
{{$store->id}} {{$store->company_name}} {{trans('dashboard.under_revision')}} {{trans('dashboard.accepted')}} {{trans('dashboard.rejected')}} {{$store->phone}} {{$store->email}} {{$store->created_at}} {{count($store->user->prods)}} {{(\Illuminate\Support\Facades\App::getLocale()=='ar')? $store->country->name_ar : $store->country->name_en }}
{{ $store->company_name}}
@endsection @section('js') @endsection