@extends('customers.layout') @section('customers.content')
ID: {{$customer->id}}
Name: {{ $customer->name ?: "-" }}
Contact: {{ $customer->contact ?: "-" }}
Alt Contact: {{ $customer->alt_contact ?: "-" }}
Balance: {{ $customer->balance ?: "-" }}
Created at {{Carbon\Carbon::parse($customer->created_at)->format('d/m/Y H:i:s')}}
Updated at {{Carbon\Carbon::parse($customer->updated_at)->format('d/m/Y H:i:s')}}
@foreach($customer->credits as $credit) @endforeach
Date Branch Receipt No. Amount
{{ date('d-M-Y',strtotime($credit->date)) }} {{ $credit->branch?->name }} {{ $credit->receipt_no }} UGX {{ (($credit->amount)?number_format($credit->amount) : 0) }}
@foreach($customer->payments as $payment) @endforeach
Date Amount Balance
{{ date('d-M-Y',strtotime($payment->date)) }} {{ (($payment->amount)?number_format($payment->amount) : '0') }} {{ (($payment->amount)?number_format($payment->balance):'0') }}
{{--
For that very reason, I went on a quest and spoke to many different professional graphic designers and asked them what graphic design tips they live.
After gathering lots of different opinions and graphic design basics, I came up with a list of 30 graphic design tips that you can start implementing.
--}}
@endsection