@extends('admin.layout.app') @section('pageTitle') @stop @section('css') @stop @section('content')
user-img

{{ $customer->name }}

{{ $customer->department->name ?? __('حساب جديد') }}

{{ $customer->city ?? __('No Add City') }}, {{ $customer->country ?? __('No Add Country') }}

{{ App\Models\Subscription::where('type', '0')->where('user_id', $customer->id)->count() }}

{{ __('Services') }}

{{ App\Models\Subscription::where('type', '1')->where('user_id', $customer->id)->count() }}

{{ __('Domins') }}

@php $bills = App\Models\Bill::where('status', 1)->where('customer_id', $customer->id)->get(); $price = 0; foreach ($bills as $key => $bill) { # code... $price += $bill->totel; } @endphp

{{ $price }}

{{ __('Deserved Amount') }}

{{ __('Name') }} : {{ $customer->name }}
{{ __('Department') }} : {{ $customer->department->name ?? __('حساب جديد') }}
{{ __('Association') }} : {{ $customer->association ?? __('No Added') }}
{{ __('Phone Number') }} : {{ $customer->phone ?? __('No Added') }}
{{ __('Created Date') }} : {{ Carbon\Carbon::parse($customer->created_at)->format('Y-m-d') }}
{{ __('Country') }} : {{ $customer->country ?? __('No Add Country') }}
{{ __('City') }} : {{ $customer->city ?? __('No Add City') }}
{{ __('Email') }} : {{ $customer->email }}
{{ __('Website') }} : {{ $customer->website ?? __('No Added') }}
{{ __('ID') }} {{ __('Name') }} {{ __('End Date') }} {{ __('Price') }} {{ __('Status') }} {{ __('Payment Status') }}
{{ __('ID') }} {{ __('Name') }} {{ __('End Date') }} {{ __('Price') }} {{ __('Status') }} {{ __('Payment Status') }}
{{ __('ID') }} {{ __('Due Date') }} {{ __('End Date') }} {{ __('Totel') }} {{ __('Status') }}
@stop @section('js') @stop