@extends('layouts.admin') @section('title', $customer->name) @section('page_title', __('Customer') . ' - ' . $customer->name) @section('content')
{{ $customer->code }}
{{ __('Phone') }}: {{ $customer->phone ?? '-' }}
{{ __('Type') }}: {{ __($customer->type) }}
{{ __('Zone') }}: {{ $customer->zone?->name ?? '-' }}
{{ __('Credit Limit') }}: {{ number_format((float) $customer->credit_limit, 2) }}
{{ __('Balance') }}: {{ number_format((float) $customer->balance, 2) }}
{{ __('Status') }}: {!! $customer->status_badge !!}
{{ __('Address') }}: {{ $customer->address ?? '-' }}
كشف حساب| التاريخ | النوع | المرجع | مدين | دائن | الرصيد |
|---|---|---|---|---|---|
| {{ \Carbon\Carbon::parse($row['date'])->format('d/m/Y') }} | {{ $row['type'] === 'invoice' ? 'فاتورة' : 'دفعة' }} | {{ $row['ref'] }} | {{ number_format($row['debit'], 2) }} | {{ number_format($row['credit'], 2) }} | {{ number_format($row['balance'], 2) }} |
| {{ __('No data available') }} | |||||