{{ Form::open(['method' => 'post', 'route' => 'mortgage_payments.totalPayment']) }}
{{ Form::hidden("payment_id", $payment->id) }}
<div class="row">
    <div class="col-md-6 form-group">
        {{ Form::label("receipt_id", trans('installments.receipt_id')) }} <span class="required">*</span>
        {{ Form::text('receipt_id', null, [
            'class'    =>  'form-control',
            'id'       =>  'receipt_id',
            'placeholder'  =>  trans('installments.receipt_id')
        ]) }}
    </div>
    <div class="col-md-6 form-group">
        {{ Form::label("payment_name", trans('installments.payment_name')) }} <span class="required">*</span>
        {{ Form::text('payment_name', null, [
            'class'    =>  'form-control',
            'placeholder'  =>  trans('installments.payment_name')
        ]) }}
    </div>
</div>
<div class="row">
    <div class="col-md-12 form-group">
        {{ Form::label('payment_date',Trans("installments.date_payment")) }}
        <?php
        $selected = null;
        ?>
        <div class="input-group date">
            {{ Form::text('payment_date', $selected, [
                'class' => 'form-control',
                'id' => 'payment_date',
                'placeholder'    =>  trans('installments.date_payment')
            ]) }}
            <div class="input-group-addon">
                <i class="fa fa-calendar-o"></i>
            </div>
        </div>
    </div>
</div>
<div class="row">
    <div class="col-md-12 form-group">
        {{ Form::label('payment_amount', trans('mortgages.amount')) }}
        <?php $amount = $total_payment; ?>
        {{ Form::number('payment_amount', $amount, [
            'class'    =>  'form-control',
            'placeholder'  =>  trans('mortgages.amount'),
            'step' => 'any',
            'min' => 1
        ]) }}
    </div>
    <div class="col-md-12 form-group">
        {{ Form::label("note", trans("installments.note")) }}
        {{ Form::textarea("note", null, [
            'class' => 'form-control',
            'rows' => 2,
            'placeholder' => trans("installments.note")
        ]) }}
    </div>
</div>
{{ Form::close() }}