<div class="col-sm-10">
    <div class="row ">
        <div class="col-sm-12 form-group">
            <input type="hidden" id="baseUrl" value="<?php echo base_url(); ?>">
            <div class="col-sm-12"><h3 class=" text-left">Payment Method</h3><hr></div>

            <?php
            if ($payment_method_info) {
                ?>
                <div class="col-sm-12">
                    <?php
                    switch ($payment_type) {
                        case 1:
                            ?>
                            <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                                <div class="col-sm-2"><strong>Payment Type</strong></div>
                                <div class="col-sm-3"><strong>Account Type</strong></div>
                                <div class="col-sm-3"><strong>Bkash Number</strong></div>
                                <div class="col-sm-2 col-sm-offset-2"><strong>Action</strong></div>
                            </div>
                            <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                                <div class="col-sm-2">bkash</div>
                                <div class="col-sm-3"><?php
                                    if ($payment_method_info->bkash_number_type == 1) {
                                        echo 'Parsonal';
                                    } else {
                                        echo 'Agent';
                                    }
                                    ?></div>
                                <div class="col-sm-3"><?php echo $payment_method_info->bkash_number ?></div>
                                <div class="col-sm-2 col-sm-offset-2">
                                    <a href="javascript:void(0)" id="editBkashInfo<?php echo $payment_method_info->person_bkash_payment_info_id ?>"> <i class="fa fa-edit" title="Edit"></i></a> &nbsp; &nbsp;
                                    <a href="javascript:void(0)" id="deleteBkashInfo<?php echo $payment_method_info->person_bkash_payment_info_id ?>"><i class="fa fa-trash" title="Delete"></i> </a> 
                                </div>
                                <div class="modal fade" style="" id="viewDeleteBkashPaymentModal<?php echo $payment_method_info->person_bkash_payment_info_id; ?>" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
                                    <?php
                                    $message_bkash = '<span style="text-align:center">Are you sure you want to delete payment method?</span>';
                                    $this->cf->view_modal('bKashPayment' . $payment_method_info->person_bkash_payment_info_id, $message_bkash);
                                    ?>
                                </div>
                            </div>
                            <?php
                            break;
                        case 2:
                            ?>
                            <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                                <div class="col-sm-2"><strong>Payment Type</strong></div>
                                <div class="col-sm-2"><strong>Bank Name</strong></div>
                                <div class="col-sm-3"><strong>Branch Name</strong></div>
                                <div class="col-sm-3"><strong>Account Number</strong></div>
                                <div class="col-sm-2"><strong>Action</strong></div>
                            </div>
                            <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                                <div class="col-sm-2">Cheque</div>
                                <div class="col-sm-2"><?php echo $bank_info->bank_name; ?></div>
                                <div class="col-sm-3"><?php echo $bank_branch_info->bank_branch_name; ?></div>
                                <div class="col-sm-3"><?php echo $payment_method_info->person_account_number; ?></div>
                                <div class="col-sm-2">
                                    <a href="javascript:void(0)" id="editCheckInfo<?php echo $payment_method_info->person_check_payment_info_id ?>"> <i class="fa fa-edit" title="Edit"></i></a> &nbsp; &nbsp;
                                    <a href="javascript:void(0)" id="deletecheckInfo<?php echo $payment_method_info->person_check_payment_info_id ?>"><i class="fa fa-trash" title="Delete"></i> </a> 
                                </div>
                                <div class="modal fade" style="" id="viewDeleteCheckPaymentModal<?php echo $payment_method_info->person_check_payment_info_id; ?>" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
                                    <?php
                                    $message_check = '<span style="text-align:center">Are you sure you want to delete payment method?</span>';
                                    $this->cf->view_modal('checkPayment' . $payment_method_info->person_check_payment_info_id, $message_check);
                                    ?>
                                </div>
                            </div>
                            <?php
                            break;
                        case 3:
                            ?>
                            <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                                <div class="col-sm-3"><strong>Payment Type</strong></div>
                                <div class="col-sm-5"><strong>Paypal Email</strong></div>
                                <div class="col-sm-2 col-sm-offset-2"><strong>Action</strong></div>
                            </div>
                            <div class="col-sm-12 text-left " style="padding: 10px;background-color:#F2F9EA;border: 1px solid #ededed">
                                <div class="col-sm-3">Paypal</div>
                                <div class="col-sm-5"><?php echo $payment_method_info->paypal_email; ?></div>
                                <div class="col-sm-2 col-sm-offset-2">
                                    <a href="javascript:void(0)" id="editPaypalPayment<?php echo $payment_method_info->person_paypal_payment_info_id; ?>"> <i class="fa fa-edit" title="Edit"></i></a> &nbsp; &nbsp;
                                    <a href="javascript:void(0)" id="deletePaypalInfo<?php echo $payment_method_info->person_paypal_payment_info_id ?>"><i class="fa fa-trash" title="Delete"></i> </a> 
                                </div>
                                <div class="modal fade" style="" id="viewDeletePaypalPaymentModal<?php echo $payment_method_info->person_paypal_payment_info_id; ?>" tabindex="-1" role="dialog" aria-labelledby="changeRole" aria-hidden="true">
                                    <?php
                                    $message_paypal = '<span style="text-align:center">Are you sure you want to delete payment method?</span>';
                                    $this->cf->view_modal('paypalPayment' . $payment_method_info->person_paypal_payment_info_id, $message_paypal);
                                    ?>
                                </div>
                            </div>
                            <?php
                            break;
                    }
                    ?>
                </div>
                <?php
            } else {
                echo '<div class="col-sm-12">This user do not add any payment method!</div>';
            }
            ?>
        </div>
        <div class="col-sm-12"><br></div>

        <?php
        if (empty($payment_method_info)) {
            ?>
            <div class="col-sm-12">
                <label for="add_payment" class="col-sm-12 text-left">Add Payment Type:</label>
            </div>
            <div class="col-sm-12">
                <div class="form-group col-sm-12">
                    <div class="radio radio-success ">
                        <?php
                        if ($person_info->person_country) {
                            if ($person_info->person_country == 'BD') {
                                ?>
                                <input type="radio" name="add_payment" id="paymentMethod1" value="1" <?php echo ($this->session->type == 1) ? 'checked' : ''; ?>>
                                <label for="BKash">BKash</label>
                                <span style="margin-right: 25px"></span>
                                <input type="radio" name="add_payment" id="paymentMethod2" value="2" <?php echo ($this->session->check_type == 3) ? 'checked' : ''; ?>>
                                <label for="Check">Cheque</label>
                                <span style="margin-right: 25px"></span>
                                <?php
                            } else {
                                ?>
                                <input type="radio" name="add_payment" id="paymentMethod3" value="3" <?php echo ($this->session->paypal_type == 5) ? 'checked' : ''; ?>>
                                <label for="Paypal">Paypal</label>
                                <span style="margin-right: 25px"></span>
                                <?php
                            }
                        }
                        ?>
                    </div>
                </div>


                <!--bkash method start-->
                <div id="bkashMethodView" class="col-sm-12" style="display: <?php
                if (!empty($this->session->type)) {
                    ($this->session->type == 1) ? 'block' : 'none';
                    $this->session->unset_userdata('type');
                } else {
                    echo 'none';
                }
                ?>">
                         <?php
                         echo form_open('admin/save-bkash-payment-method', 'id="formID1"', 'class="cmxform" name="bkashMethodFrom"');
                         ?>
                    <div class="gray col-sm-12">
                        <div class="col-sm-12"><h3 id="MobilePaymentMethodName"> </h3></div>
                        <div class="col-sm-12"> <hr><br></div>

                        <div class="form-group col-sm-6 ">
                            <div class="input-group">
                                <input type="text" 
                                       class="form-control"
                                       value="<?php echo 'Account Name : ' . $person_info->person_first_name . ' ' . $person_info->person_last_name; ?>"
                                       placeholder="Please Type Your Payee Name" 
                                       aria-describedby="basic-addon1" readonly>
                                <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Payee Name"> <i class="fa fa-user"></i></span>
                            </div>
                        </div>
                        <div class="form-group col-sm-6 ">
                            <label class="text-left col-sm-4 form-group" style="padding-left:0;padding-right: 0">Account Type :</label>
                            <div class="radio radio-success col-sm-8 margin-zero">
                                <input type="radio" 
                                       class="validate[required]"
                                       name="bkash_number_type" 
                                       id="agent" value="2" <?php echo ($this->session->bkash_number_type_value == 2) ? 'checked' : ''; ?>>
                                <label for="Agent">Agent</label>
                                <span style="margin-right: 25px"></span>
                                <input type="radio"
                                       class="validate[required]"
                                       name="bkash_number_type" 
                                       id="Personal" value="1" <?php echo ($this->session->bkash_number_type_value == 1) ? 'checked' : ''; ?>>
                                <label for="personal">Personal</label>
                                <span style="margin-right: 25px"></span>
                            </div>
                            <span class="col-sm-12" style="color: red;"><?php
                                if (!empty($this->session->bkash_number_type_value)) {
                                    $this->session->unset_userdata('bkash_number_type_value');
                                }
                                if (!empty($this->session->bkash_number_type_error)) {
                                    echo $this->session->bkash_number_type_error;
                                    $this->session->unset_userdata('bkash_number_type_error');
                                }
                                ?></span>
                        </div>
                        <div class="form-group col-sm-6 ">
                            <div class="input-group">
                                <input type="text" 
                                       class="form-control validate[required, custom[number],custom[bkashNumberExistence]]"
                                       id="bkashNumber"
                                       name="bkash_number"
                                       minlength="11"
                                       maxlength="11"
                                       value="<?php
                                       if (!empty($this->session->bkash_number_value)) {
                                           echo $this->session->bkash_number_value;
                                           $this->session->unset_userdata('bkash_number_value');
                                       }
                                       ?>"
                                       placeholder="Please Type Your Mobile Number" 
                                       aria-describedby="basic-addon1">
                                <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Mobile Number"> <i class="fa fa-retweet"></i></span>
                            </div>
                            <span class="col-sm-12" style="color: red;"><?php
                                if (!empty($this->session->bkash_number_error)) {
                                    echo $this->session->bkash_number_error;
                                    $this->session->unset_userdata('bkash_number_error');
                                }
                                ?></span>
                            <input type="hidden" id="bkashNumberExistence" value="">
                        </div>
                        <div class="form-group col-sm-4 ">
                            <button type="submit"  class="green-btn btn btn-default">Add bKash Payment</button><br/><br/>
                        </div>
                    </div>
                    <?php
                    echo form_close();
                    ?>
                </div>
                <!--bkash method end-->






                <!--Check method end-->
                <div id="checkMethodView" class="col-sm-12" style="display: <?php
                if (!empty($this->session->check_type)) {
                    ($this->session->check_type == 3) ? 'block' : 'none';
                    $this->session->unset_userdata('check_type');
                } else {
                    echo 'none';
                }
                ?>">
                         <?php
                         echo form_open('admin/save-check-payment-method', 'class="cmxform" id="formID3" name="checkMethodFrom"');
                         ?>
                    <div class="col-sm-12 padding-zero" style="color: red;">
                        <?php
                        if (!empty($this->session->validation_error)) {
                            echo $this->session->validation_error;
                            $this->session->unset_userdata('validation_error');
                        }
                        ?>
                    </div>
                    <div class="gray col-sm-12">
                        <?php echo '<h1>' . $this->session->bank_id_value . '</h1>'; ?>
                        <div class="col-sm-12"> <hr><br></div>
                        <div class="col-sm-12 padding-zero">
                            <div class="form-group col-sm-6">
                                <select data-errormessage-value-missing="Bank name is required!"  
                                        class="form-control validate[required]"
                                        name="bank_id" 
                                        id="bankId">
                                    <option value="">Select Bank Name</option>
                                    <?php
                                    foreach ($all_bank as $value) {
                                        echo '<option value="' . $value->bank_id . '">' . $value->bank_name . '</option>';
                                    }
                                    ?>
                                </select>
                            </div>

                            <div class="form-group col-sm-6">
                                <select data-errormessage-value-missing="Bank name is required!"  
                                        class="form-control validate[required]" 
                                        name="bank_branch_id" 
                                        id="bankBranchId">
                                    <option value="">Select Bank Branch</option>
                                </select>
                            </div>
                        </div>
                        <div class="col-sm-12"><br></div>


                        <div class="col-sm-12 padding-zero">
                            <div class="form-group col-sm-6 ">
                                <div class="input-group">
                                    <input type="text"
                                           value="<?php echo 'Account Name : ' . $person_info->person_first_name . ' ' . $person_info->person_last_name; ?>"
                                           class="form-control" readonly=""
                                           placeholder="Please Type Your Account Number" aria-describedby="basic-addon1">
                                    <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Account Number"> <i class="fa fa-retweet"></i></span>
                                </div>
                            </div>
                            <div class="form-group col-sm-6 ">
                                <div class="input-group">
                                    <input type="number" 
                                           class="form-control validate[required,custom[number],custom[accountNumberExists]]"
                                           id="personAccountNumber"
                                           name="person_account_number"
                                           value=""
                                           placeholder="Please Type Your Account Number" aria-describedby="basic-addon1">
                                    <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Bank Name"> <i class="fa fa-retweet"></i></span>
                                </div>
                                <input type="hidden" id="accountNumberExists" value="">
                            </div>
                        </div>
                        <div class="form-group col-sm-12 "></div>
                        <div class="form-group col-sm-4 col-sm-offset-4 ">
                            <button type="submit"  class="green-btn btn btn-default">Add Check Payment</button><br/><br/>
                        </div>
                    </div>
                    <?php
                    echo form_close();
                    ?>
                </div>
                <!--Check method end-->


                <!--Paypal method start-->
                <div id="paypalMethodView" class="col-sm-12" style="display: <?php
                if (!empty($this->session->paypal_type)) {
                    ($this->session->paypal_type == 5) ? 'block' : 'none';
                    $this->session->unset_userdata('paypal_type');
                } else {
                    echo 'none';
                }
                ?>">
                         <?php
                         //
                         echo form_open('admin/save-paypal-payment-method', 'class="cmxform" id="formID5" name="paypalMethodFrom"');
                         ?>

                    <div class="gray col-sm-12">
                        <span class="col-sm-12" style="color: red;"><?php
                            if (!empty($this->session->paypal_error)) {
                                echo $this->session->paypal_error;
                                $this->session->unset_userdata('paypal_error');
                            }
                            ?></span>
                        <div class="col-sm-12"> <hr><br></div>

                        <div class="form-group col-sm-8 ">
                            <div class="input-group">
                                <input autofocus type="text" 
                                       class="form-control validate[required,custom[paypalEmailExists]]" 
                                       name="paypal_email"
                                       id="paypalEmail"
                                       placeholder="Please Type Your Paypal Email" 
                                       aria-describedby="basic-addon1">
                                <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Paypal Id"> <i class="fa fa-retweet"></i></span>
                            </div>
                            <input type="hidden" id="paypalEmailEsists" value="">
                        </div>

                        <div class="form-group col-sm-4 ">
                            <button type="submit"  class="green-btn btn btn-default">Add Paypal Payment</button><br/><br/>
                        </div>
                    </div>
                    <?php
                    echo form_close();
                    ?>
                </div>
            </div>
        <?php } ?>

        <!--update bkash method start-->
        <div id="updateBkashMethodView" class="col-sm-12" style="display: <?php
        if (!empty($this->session->type)) {
            ($this->session->type == 2) ? 'block' : 'none';
            $this->session->unset_userdata('type');
        } else {
            echo 'none';
        }
        ?>">
                 <?php
                 //
                 echo form_open('admin/update-bkash-payment-method', 'class="cmxform" id="formID2" name="update_bkashMethodFrom"');
                 ?>
            <div class="gray col-sm-12">
                <div class="col-sm-12"><h3 id="MobilePaymentMethodName"> </h3></div>
                <div class="col-sm-12"> <hr><br></div>

                <div class="form-group col-sm-6 ">
                    <div class="input-group">
                        <input type="text" 
                               class="form-control"
                               value="<?php echo 'Account Name : ' . $person_info->person_first_name . ' ' . $person_info->person_last_name; ?>"
                               placeholder="Please Type Your Payee Name" 
                               aria-describedby="basic-addon1" readonly>
                        <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Payee Name"> <i class="fa fa-user"></i></span>
                    </div>
                    <input type="hidden" id="bkashPaymentID" name="bkash_payment_id" value="<?php
                    if (!empty($this->session->bkash_payment_method_id)) {
                        echo $this->session->bkash_payment_method_id;
                        $this->session->unset_userdata('bkash_payment_method_id');
                    }
                    ?>">
                </div>
                <div class="form-group col-sm-6 ">
                    <label class="text-left col-sm-4 form-group" style="padding-left:0;padding-right: 0">Account Type :</label>
                    <div class="radio radio-success col-sm-8 margin-zero">
                        <input type="radio" 
                               class="validate[required]"
                               name="edit_bkash_number_type" 
                               id="agent" value="2" <?php echo ($this->session->bkash_number_type_value == 2) ? 'checked' : ''; ?>>
                        <label for="Agent">Agent</label>
                        <span style="margin-right: 25px"></span>
                        <input type="radio" 
                               class="validate[required]"
                               name="edit_bkash_number_type" 
                               id="Personal" value="1" <?php echo ($this->session->bkash_number_type_value == 1) ? 'checked' : ''; ?>>
                        <label for="personal">Personal</label>
                        <span style="margin-right: 25px"></span>
                    </div>
                </div>
                <div class="form-group col-sm-6 ">
                    <div class="input-group">
                        <input type="text" 
                               class="form-control validate[required, custom[number],custom[editBkashNumberExistence]]"
                               name="edit_bkash_number"
                               id="edit_bkash_number"
                               minlength="11"
                               maxlength="11"
                               value="<?php
                               if (!empty($this->session->bkash_number_value)) {
                                   echo $this->session->bkash_number_value;
                                   $this->session->unset_userdata('bkash_number_value');
                               }
                               ?>"
                               placeholder="Please Type Your Mobile Number" 
                               aria-describedby="basic-addon1">
                        <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Mobile Number"> <i class="fa fa-retweet"></i></span>
                        <input type="hidden" id="editbkashNumberExistence" value="">
                    </div>
                    <span class="col-sm-12" style="color: red;"><?php
                        if (!empty($this->session->bkash_number_error)) {
                            echo $this->session->bkash_number_error;
                            $this->session->unset_userdata('bkash_number_error');
                        }
                        ?></span>
                </div>
                <div class="form-group col-sm-4 ">
                    <button type="submit"  class="green-btn btn btn-default">Update bKash Payment</button><br/><br/>
                </div>
            </div>
            <?php
            echo form_close();
            ?>
        </div>
        <!--update bkash method end-->


        <!--Update Check method end-->
        <div id="updateCheckMethodView" class="col-sm-12" style="display: <?php
        if (!empty($this->session->check_type)) {
            ($this->session->check_type == 2) ? 'block' : 'none';
            $this->session->unset_userdata('check_type');
        } else {
            echo 'none';
        }
        ?>">
                 <?php
                 echo form_open('admin/update-check-payment-method', 'class="cmxform" id="" name="checkUpdateMethodFrom"');
                 ?>
            <div class="col-sm-12 padding-zero text-center" style="color: red;">
                <?php
                if (!empty($this->session->validation_error)) {
                    echo $this->session->validation_error;
                    $this->session->unset_userdata('validation_error');
                }
                ?>
            </div>
            <div class="gray col-sm-12">
                <div class="col-sm-12"> <hr><br></div>
                <div class="col-sm-12 padding-zero">
                    <div class="form-group col-sm-6">
                        <select data-errormessage-value-missing="Bank name is required!"  
                                class="form-control validate[required]" 
                                name="edit_bank_id" 
                                id="editBankId">
                            <option value="">Select Bank Name</option>
                            <?php
                            foreach ($all_bank as $value) {
                                echo '<option value="' . $value->bank_id . '">' . $value->bank_name . '</option>';
                            }
                            ?>
                        </select>
                        <input type="hidden" id="checkPaymentID" name="check_payment_id" value="">
                    </div>

                    <div class="form-group col-sm-6">
                        <select data-errormessage-value-missing="Bank name is required!"  
                                class="form-control validate[required]" 
                                name="edit_bank_branch_id" 
                                id="edit_BankBranchId">
                            <option value="">Select Bank Branch</option>
                        </select>
                    </div>
                </div>
                <div class="col-sm-12"><br></div>


                <div class="col-sm-12 padding-zero">
                    <div class="form-group col-sm-6 ">
                        <div class="input-group">
                            <input type="text"
                                   value="<?php echo 'Account Name : ' . $person_info->person_first_name . ' ' . $person_info->person_last_name; ?>"
                                   class="form-control" readonly=""
                                   placeholder="Please Type Your Account Number" aria-describedby="basic-addon1">
                            <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Account Number"> <i class="fa fa-retweet"></i></span>
                        </div>
                    </div>
                    <div class="form-group col-sm-6 ">
                        <div class="input-group">
                            <input type="number" 
                                   class="form-control validate[required,custom[number],custom[editAccountNumberExists]]"
                                   id="edit_person_account_number"
                                   name="edit_person_account_number"
                                   placeholder="Please Type Your Account Number" aria-describedby="basic-addon1">
                            <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Bank Name"> <i class="fa fa-retweet"></i></span>
                        </div>
                        <input type="hidden" id="edit_AccountNumberExists" value="">
                    </div>
                </div>
                <div class="form-group col-sm-12 "></div>
                <div class="form-group col-sm-4 col-sm-offset-4 ">
                    <button type="submit"  class="green-btn btn btn-default">Update Check Payment</button><br/><br/>
                </div>
            </div>
            <?php
            echo form_close();
            ?>
        </div>
        <!--Update Check method end-->

        <!--Paypal method start-->
        <div id="updatePaypalMethodView" class="col-sm-12" style="display: <?php
        if (!empty($this->session->paypal_type)) {
            ($this->session->paypal_type == 2) ? 'block' : 'none';
            $this->session->unset_userdata('paypal_type');
        } else {
            echo 'none';
        }
        ?>">
                 <?php
//            formID6
                 echo form_open('admin/update-paypal-payment-method', 'class="cmxform" id="" name="editPaypalMethodFrom"');
                 ?>
            <div class="gray col-sm-12" style="color: red;">
                <?php
                if (!empty($this->session->paypal_error)) {
                    echo $this->session->paypal_error;
                    $this->session->unset_userdata('paypal_error');
                }
                ?>
                <div class="col-sm-12"> <hr><br></div>

                <div class="form-group col-sm-8 ">
                    <div class="input-group">
                        <input autofocus type="text" 
                               class="form-control validate[required,custom[editPaypalEmailExists]]"
                               name="edit_paypal_email"
                               id="edit_PaypalEmail"
                               value="<?php
                               if (!empty($this->session->paypal_email_value)) {
                                   echo $this->session->paypal_email_value;
                                   $this->session->unset_userdata('paypal_email_value');
                               }
                               ?>"
                               placeholder="Please Type Your Paypal Email" 
                               aria-describedby="basic-addon1">
                        <span class="input-group-addon" id="basic-addon1"  title="Please Type Your Paypal Id"> <i class="fa fa-retweet"></i></span>
                    </div>
                    <input type="hidden" id="edit_paypalEmailEsists" value="">
                    <input type="hidden" id="payPalMethodid" name="paypal_method_id" value="<?php
                    if (!empty($this->session->sess_payment_method_id)) {
                        echo $this->session->sess_payment_method_id;
                        $this->session->unset_userdata('sess_payment_method_id');
                    }
                    ?>">
                </div>

                <div class="form-group col-sm-4 ">
                    <button type="submit"  class="green-btn btn btn-default">Update Paypal Payment</button><br/><br/>
                </div>
            </div>
            <?php
            echo form_close();
            ?>
        </div>
    </div>
</div>
<script type="text/javascript" src="<?php echo base_url() ?>back_end_resource/payment/payment_method.js"></script>