@extends('layouts.master') @section('header') @include('layouts.partials.header') @endsection @section('navbar') @include('layouts.partials.nav') @endsection @section('sidebar') @include('layouts.partials.sidebar') @endsection @section('content')

{{__("Customers")}}

@include('layouts.partials.flash-message')
{{-- --}} {{-- @foreach($items as $item)--}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- --}} {{-- @endforeach--}} {{-- --}}
{{__("ID")}} {{__("Name")}} {{__("Email")}} {{__("Phone")}} {{__("Customer Groups")}} {{__("Country")}} {{__("City")}} {{__("Region")}} {{__("No. Orders")}} {{__("Cost Of Orders")}} {{__("Creation Date")}} {{__("Last Order Date")}} {{__("Status")}} {{__("Actions")}}
{{$item->id}}{{$item->name}}{{$item->email}}{{$item->phone}}{{$item->group_names}}{{!is_null($item->country)?$item->country->name:""}}{{$item->default_city_name}}{{$item->default_region_name}}{{$item->orders_count}}{{$item->total_orders_cost}}{{date("d/m/Y",strtotime($item->created_at))}}{{$item->last_order_date}}--}} {{-- --}} {{-- --}} {{-- @if($item->status==1){{__("Active")}}@else{{__("Inactive")}}@endif--}} {{-- --}} {{-- --}} {{-- --}} {{--
--}} {{-- id )}}" class='text-warning' style=''>--}} {{-- --}} {{-- --}} {{-- id )}}" class='text-info mx-2' style=''>--}} {{-- --}} {{-- --}} {{--
--}} {{-- @csrf--}} {{-- {{ method_field('DELETE') }}--}} {{-- --}} {{-- --}} {{--
--}} {{--
--}} {{--
@endsection @section('footer') @include('layouts.partials.footer') @endsection @section('scripts') @include('layouts.partials.scripts') @endsection