@extends('layouts.app') @section('title', 'Detail Pelanggan') @section('breadcrumb') @endsection @section('content')
INFORMASI PELANGGAN
Kode{{ $customer->code }}
Nama{{ $customer->name }}
Telepon{{ $customer->phone }}
Email{{ $customer->email ?? '-' }}
Kota{{ $customer->city ?? '-' }}
Alamat{{ $customer->address ?? '-' }}
Catatan{{ $customer->notes ?? '-' }}
Terdaftar{{ $customer->created_at->format('d/m/Y') }}
Riwayat Order Servis ({{ $customer->serviceOrders->count() }})
@forelse($customer->serviceOrders as $order) @empty @endforelse
No. Order Perangkat Tgl Masuk Status Invoice
{{ $order->order_number }}
{{ $order->deviceType->name }}
{{ $order->brand }} {{ $order->model }}
{{ $order->received_date->format('d/m/Y') }} {{ $order->status_label }} @if($order->invoice) {{ $order->invoice->invoice_number }} @else - @endif
Belum ada order
@endsection