@extends('layouts.main.app') @section('head') @include('layouts.main.headersection',[ 'title'=> __('Customers'), 'buttons'=>[ [ 'name'=>__('Back'), 'url'=>route('admin.customer.index'), ] ]]) @endsection @section('content')
{{ __('Name : ') }} {{ $customer->name }}
{{ __('Email : ') }} {{ $customer->email }}
{{ __('Phone : ') }} {{ $customer->phone }}
{{ __('Address : ') }} {{ $customer->address }}
{{ __('Plan Name:') }} {{ $customer->subscription->title ?? '' }}
{{ __('Plan Expire Date:') }} {{ $customer->will_expire ?? '' }}
{{ __('Total Spended:') }} {{ $customer->orders_sum_amount != null ? amount_format($customer->orders_sum_amount ?? '') : 0 }}
{{ __('Total Devices:') }} {{ $customer->device_count ?? '' }}
{{ __('Total Messages:') }} {{ $customer->smstransaction_count ?? '' }}
{{ __('Total Contacts:') }} {{ $customer->contact_count ?? '' }}
{{ __('Order No') }} | {{ __('Plan Name') }} | {{ __('Payment Mode') }} | {{ __('Amount') }} | {{ __('Status') }} | {{ __('Created At') }} | {{ __('View') }} |
---|---|---|---|---|---|---|
{{ $order->invoice_no }} | {{ Str::limit($order->plan->title ?? '',50) }} | {{ $order->gateway->name ?? '' }} | {{ number_format($order->amount,2) }} | {{ $order->status == 2 ? 'pending' : ($order->status == 1 ? 'approved' : 'declined') }} | {{ $order->created_at->format('d F y') }} | {{ __('View') }} |