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

Errors

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

Add New Statement

Note: All * fields are mandatory


Customer Information


Unit Information


@if ($errors->has('unit_number')) {{ $errors->first('unit_number') }} @endif
@if ($errors->has('type')) {{ $errors->first('type') }} @endif
@if ($errors->has('size')) {{ $errors->first('size') }} @endif
@php $total_price = (int) $unitNumber->total_price - (int) $unitNumber->extra_amount; @endphp @if ($errors->has('total_price')) {{ $errors->first('total_price') }} @endif {{--
--}}
@php $categories_name = ''; @endphp @foreach ($unitNumber->categories as $category) @php $categories_name = $category->category->name . ',' . $categories_name; @endphp @endforeach @if ($errors->has('category')) {{ $errors->first('category') }} @endif
@if ($errors->has('original_boooking_date')) {{ $errors->first('original_boooking_date') }} @endif
@if ($errors->has('discount')) {{ $errors->first('discount') }} @endif
{{--
--}}
{{-- --}} @if ($errors->has('net_amount')) {{ $errors->first('net_amount') }} @endif
{{-- --}}
PKR
@if ($errors->has('newdiscount')) {{ $errors->first('newdiscount') }} @endif
@if ($errors->has('remianing_payable')) {{ $errors->first('remianing_payable') }} @endif
@if ($property->booking_type == \App\CustomerProperty::normal) Installment
Full Payment @elseif($property->booking_type == \App\CustomerProperty::full_payment) Installment
Full Payment @endif @if ($errors->has('booking_type')) {{ $errors->first('booking_type') }} @endif

Dealer Rebate Information

{{-- % PKR --}} {{-- Add More --}}
{{-- --}}
@foreach ($dealers_involved_in_property as $d) Name : {{ $d->dealer->name }} Rebate : {{ number_format($d->amount) }} @endforeach @if ($errors->has('dealer_id')) {{ $errors->first('dealer_id') }} @endif

{{--
PKR @if ($errors->has('total_rebate')) {{ $errors->first('total_rebate') }} @endif
--}}
{{-- --}}
@if ($property->booking_type == \App\CustomerProperty::normal)

Payment Scheduler


@if (sizeof($check_remaining_installments) > 1)