@foreach($allTransfers as $t)
@if($count == 1)
{{$count++}} |
{{$t->property->inventory->unit_number}} |
{{$t->owner ? $t->owner->name: ''}} |
{{date('d-m-Y',strtotime($t->property->booking_date)) . ' : ' . date('d-m-Y',strtotime($t->transfer_date))}} |
{{number_format($t->amount_paid)}} PKR |
{{date('d-m-Y', strtotime($t->transfer_date)) }} |
{{$count++}} |
{{$t->property->inventory->unit_number}} |
{{$t->transfer ? $t->transfer->name: ''}} |
@if($loop->last)
Current Owner
@else
| {{$duration[$t->id]}} |
@endif
{{number_format($t->amount_paid)}} PKR |
{{date('d-m-Y', strtotime($t->transfer_date)) }} |
@else
{{$count++}} |
{{$t->property->inventory->unit_number}} |
{{$t->transfer ? $t->transfer->name: ''}} |
@if($loop->last)
Current Owner
@else
| {{$duration[$t->id]}} |
@endif
{{number_format($t->amount_paid)}} PKR |
{{date('d-m-Y', strtotime($t->transfer_date)) }} |
@endif
@endforeach