<script>
    $(function(){
        $('.c-primaryCol > div').first().after($('#remise_payment4_payquick'));
    });
</script>
<div class="d-none">
    <div id="remise_payment4_payquick" class="card rounded border-0 mb-4">
        <div class="card-header">
            <div class="row">
                <div class="col-8">
                    <div class="d-inline-block">
                        <span class="card-title">
                            {{ 'remise_payment4.admin_customer_edit.label.payquick'|trans }}
                        </span>
                    </div>
                </div>
                <div class="col-4 text-right">
                    <a data-toggle="collapse" href="#remise_payment4_payquick_list" aria-expanded="false" aria-controls="remise_payment4_payquick_list">
                        <i class="fa fa-angle-up fa-lg"></i>
                    </a>
                </div>
            </div>
        </div>
        <div class="collapse show ec-cardCollapse" id="remise_payment4_payquick_list">
            <div class="card-body">
                <div id="admin_payquick_info">
                    <div>
                        <label>{{ 'remise_payment4.common.label.card'|trans }}</label>
                        <span class="form-control">{{ Payquick.getDispCardParts }}</span>
                    </div>
                    <div>
                        <label>{{ 'remise_payment4.common.label.expire'|trans }}</label>
                        <span class="form-control">{{ Payquick.getDispExpire }}</span>
                    </div>

                    <div id="remise_payment4_admin_payquick_delete_button">
                        <a class="btn btn-ec-regular" data-toggle="modal" data-target="#remise_payment4_admin_payquick_delete">
                            {{ 'common.delete'|trans }}
                        </a>
                        <div class="modal fade in" id="remise_payment4_admin_payquick_delete" tabindex="-1" role="dialog" aria-labelledby="remise_payment4_admin_payquick_delete" aria-hidden="true">
                            <div class="modal-dialog" role="document">
                                <div class="modal-content">
                                    <div class="modal-header">
                                        <h5 class="modal-title font-weight-bold">{{ 'remise_payment4.front.label.card_info.delete'|trans }}</h5>
                                        <button class="close" type="button" data-dismiss="modal" aria-label="Close">
                                            <span aria-hidden="true">×</span>
                                        </button>
                                    </div>
                                    <div class="modal-body text-left">
                                        <p class="text-left">{{ 'remise_payment4.front.text.card_info.delete'|trans }}</p>
                                    </div>
                                    <div class="modal-footer">
                                        <button class="btn" type="button" data-dismiss="modal">{{ 'common.cancel'|trans }}</button>
                                        <a class="btn btn-danger" href="{{ url('remise_payment4_admin_delete_payquick', {'pid': Payquick.id, 'cid': Customer.id}) }}" data-method="delete" data-confirm="false">{{ 'common.delete'|trans }}</a>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
