@extends('admin.layout.index') @section('title', 'Müşterileri Detayları') @section('content')

{{ $customer->name . ' ' . $customer->surname }}

{{ $customer->email }}

Adres Bilgileri

{{ $customer->address->address ?? "--------------" }}

{{ isset($customer->address->city) ? db('region')->where('id', $customer->address->city)->get()->first()->name : "--------------" }}/{{ isset($customer->address->country) ? db('region')->where('id', $customer->address->country)->get()->first()->name : "--------------" }}

E-posta Adresi:
{{ $customer->email ?? "--------------" }}

Telefon:
{{ $customer->phone !== null ? $customer->phone : "--------------" }}

@foreach($orders as $key => $order) @endforeach
Sıra
Sipariş Tarihi
Sipariş Tutarı
Ödeme Türü
Edit
{{ '#' . $order->uniq }} {{ carbon()::parse($order->created_at)->format('H:i / d.m.Y') }} {{ CURRENCY . num_format($order->fees->total_sale ?? $order->fees->general_total) }} @if($order->payment_type == 'pay_at_the_door') Kapıda Ödeme @endif @if($order->payment_type == 'pos') Kredi / Banka Kartı @endif @if($order->payment_type == 'eft') EFT/Havale @endif Sipariş Detayı
@endsection