@extends('layouts.admin-layout') @section('title','Order Taker') @section('content')

Order Taker

  • {{$user->name}}

    {{ ($user->area) ? $user->area->name: "" }}

    @if($user->is_active==1) Disable @else Enable @endif
  • Phone Number

    {{ $user->phone }}

    Email ID

    {{ $user->email }}

    Total Orders

    {{ App\Order::where('order_taker_id',$user->id)->count() }}
@php $orders = App\Payment::where('created_by',$user->id)->latest()->paginate(5); @endphp @php $i = 1; @endphp @foreach($orders as $row) @endforeach
{{ $i++ }} {{ $row->paid_date }} {{ $row->customer_store_name }} {{ $row->paid }} {{ payment_status($row->approved_status) }} @if($row->approved_status==0) @endif
@if (count($orders) > 0) @endif
@endsection @push('js') @endpush