@extends('layouts.app') @section('title') Edit Receipt @stop @section('breadcrumb') @stop @section('content')
{{ csrf_field() }}
@if ($errors->any())

Errors

    {!! implode('', $errors->all('
  • :message
  • ')) !!}
@endif

Payment Information


@if ($errors->has('customer_id')) {{ $errors->first('customer_id') }} @endif
Pick one unit
@foreach ($properties as $property) @if ($receipt->customer_property_id == $property->id) @else @endif @endforeach
Unit No. Net Amount of unit Received Amount Remaining Amount Last Payment Date
{{ $property->inventory->unit_number }} {{ number_format($property->net_pay) }} PKR {{ number_format($receivedAmount[$property->id]) }} PKR {{ number_format($remainingAmount[$property->id]) }} PKR {{ $lastDate[$property->id] ? date('d-m-Y', strtotime($lastDate[$property->id]->receipt_date)) : '' }}