@extends('docs.master', ['title' => $data['title']]) @section('content')

Refund

{{ settings()->get('company_name') }}

{{ settings()->get('company_address') }}

Contact No. {{ settings()->get('company_telephone') }}

@if ($model->bounce_date)

Cheque Bounced {{ date('d-M-Y', strtotime($model->bounce_date)) }}

@else

 

@endif
DATE {{ $model ? \Carbon\Carbon::parse($model->payment_date)->format('d-M-Y') : '-' }}
REFUND NO. {{ $model ? $model->number : '-' }}
OLD REFUND NO. {{ $model ? $model->ref_no : '' }}
@foreach ($model->unitsale->items as $index => $item) @if ($index != count($model->unitsale->items) - 1) @endif @endforeach
Buyer Name: {{ $item->client ? $item->client->person : '-' }}
Address: {{ $item->client ? ($item->client->billing_address ? $item->client->billing_address : '-') : '-' }}
Email: {{ $item->client ? $item->client->email : '-' }}
Contact # {{ $item->client ? $item->client->mobile_number : '-' }}
PROJECT DETAILS {{ $model->unitsale->unit->building->project->projectname }} UNIT # {{ $model && $model->unitsale->unit ? $model->unitsale->unit->unitname : '-' }}
{{-- --}} @php $totalReceived = 0; $itemCount = count($model->item); @endphp @if (count($model->item) > 0) @foreach ($model->item as $item) @php $totalReceived += $model->amount_paid; @endphp @endforeach @else {{-- --}} @endif {{-- --}} {{-- --}}
Date Mode Particulars Type Amount
{{ $model ? \Carbon\Carbon::parse($model->payment_date)->format('d-M-Y') : '-' }} {{ $model && $model->paymentmode ? $model->paymentmode->paymentmodedetail : '-' }} Amount Received From Customer Against Unit No {{ $model && $model->unitsale->unit ? $model->unitsale->unit->unitname : '-' }} SVG Image {{ number_format($totalReceived, 2) }}
{{ $model ? \Carbon\Carbon::parse($model->payment_date)->format('d-M-Y') : '-' }} {{ $model && $model->paymentmode ? $model->paymentmode->paymentmodedetail : '-' }} {{ $model ? ($model->client ? $model->client->person ?? '-' : '-') : '-' }}
 
Total Received                    SVG Image {{ number_format($totalReceived, 2) }}

This is System Generated does not require any signature or stamp for verification Please Contact accounts@empiredevelopment.ae


@endsection