@extends('layouts.app') @section('content')
ID | {{ $customer->id }} |
---|---|
Name | {{ $customer->name }} |
Company Name | {{ $customer->company_name }} |
Phone No | {{ $customer->phone_no }} |
Landline No | {{ $customer->landLine_no }} |
{{ $customer->email }} | |
Website | {{ $customer->website }} |
Fax No | {{ $customer->fax_no }} |
Summary | @php $sum = 0; @endphp @foreach($charge as $c) @if($c->currency == 'USD') @php $sum += $c->amount; @endphp @endif @endforeach @php $sum1 = 0; @endphp @foreach($charge as $c) @if($c->currency == 'MZM') @php $sum1 += $c->amount; @endphp @endif @endforeach @php $sum2 = 0; @endphp @foreach($charge as $c) @if($c->currency == 'ZAR') @php $sum2 += $c->amount; @endphp @endif @endforeach USD : {{ $sum }} | MZM : {{ $sum1 }} | ZAR : {{ $sum2 }} |
Status | {!! $customer->status == 0 ? 'Inactive' : 'Active' !!} |