<div class="modal-header">
    <button type="button" class="close" data-dismiss="modal">&times;</button>
    <h4 class="modal-title">Approved Payment</h4>
</div>

<div class="modal-body">

    <?php
    $form = $this->form;
    $form->prepare();
    $form->setAttribute('action', $this->url('credit', ['action' => 'approved-request']));
    echo $this->form()->openTag($form);
    echo $this->formHidden($form->get('id'));
    ?>

    <div class="col-sm-12 col-md-12 col-lg-12 clearfix spacepadding0 padding_margin0">
        <div class="col-sm-12">
            <!--<h4>Remaining Balance:<span style="color:#C00;"> 20000/00</span></h4>-->
        </div>

        <div class="form-group clearfix " id="update_unit">
            <label class="col-sm-2"><?php echo $this->translate($this->formLabel($form->get('payment_ref_no'))); ?><span style="color: red"> *</span></label>
            <div class="col-sm-4">
                <?php echo $this->FormElement($form->get('payment_ref_no')); ?>
            </div>

            <label class="col-sm-2"><?php echo $this->translate($this->formLabel($form->get('deposit_date'))); ?></label>
            <div class="col-sm-4">
                <?php echo $this->FormElement($form->get('deposit_date')); ?>
            </div>
        </div>


        <div class="form-group clearfix " id="signup_unit">
            <label class="col-sm-2"><?php echo $this->translate($this->formLabel($form->get('payment_mode'))); ?><span style="color: red"> *</span></label>
            <div class="col-sm-4">
                <?php echo $this->FormElement($form->get('payment_mode')); ?>
            </div>

            <label class="col-sm-2"><?php echo $this->translate($this->formLabel($form->get('partner_bank'))); ?></label>
            <div class="col-sm-4 form-group">
                <?php echo $this->FormElement($form->get('partner_bank')); ?>
            </div>
        </div>

        <div class="form-group clearfix ">
            <label class="col-sm-2"><?php echo $this->translate($this->formLabel($form->get('deposit_amount'))); ?><span style="color: red"> *</span></label>
            <div class="col-sm-4 form-group">
                <?php echo $this->FormElement($form->get('deposit_amount')); ?>
            </div>

            <label class="col-sm-2 "><?php echo $this->translate($this->formLabel($form->get('deposit_bank'))); ?></label>
            <div class="col-sm-4 form-group">
                <?php echo $this->FormElement($form->get('deposit_bank')); ?>
            </div>
        </div>

        <div class="form-group clearfix ">
            <label class="col-sm-2 "><?php echo $this->translate($this->formLabel($form->get('deposit_branch'))); ?></label>
            <div class="col-sm-4 form-group">
                <?php echo $this->FormElement($form->get('deposit_branch')); ?>
            </div>

            <label class="col-sm-2 "><?php echo $this->translate($this->formLabel($form->get('remark'))); ?></label>
            <div class="col-sm-4 form-group">
                <?php echo $this->FormElement($form->get('remark')); ?>
            </div>
        </div>

        <div class="col-sm-6 pull-right">
            <?php echo $this->FormElement($form->get('save_approved')); ?>
        </div>

    </div>

    <?php echo $this->form()->closeTag(); ?>

</div>

<div class="modal-footer">
    <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
</div>