@extends('layouts.admin-master') @section('title', 'Loyal Order List') @section('css') @endsection @section('content')
| # | Name | Amount Order | Billing Phone | Shipping Phone | State | City | Area | Address |
|---|---|---|---|---|---|---|---|---|
| {{(($orders->perPage() * $orders->currentPage() - $orders->perPage()) + ($index+1) )}} | {{ $order->customer->name }} | {{config('siteSetting.currency_symble')}}{{$order->amount}} | @if(!empty($order->billing_phone)) {{$order->billing_phone}} @else {{ $order->customer->mobile }} @endif | {{$order->shipping_phone}} | @if(\App\Models\State::where('id', $order->billing_region)->first() != null) {{\App\Models\State::where('id', $order->billing_region)->first()->name}} @endif | @if(\App\Models\City::where('id', $order->billing_city)->first() != null) {{\App\Models\City::where('id', $order->billing_city)->first()->name}} @endif | @if(\App\Models\Area::where('id', $order->billing_area)->first() != null) {{\App\Models\Area::where('id', $order->billing_area)->first()->name}} @endif | {{$order->billing_address}} |
No Consumer found. | ||||||||