@php
    $refCode =Auth::user()->referral;
@endphp
<div class="modal cs_modal fade admin-query" id="affiliate_get_referral_modal">
    <div class="modal-dialog modal-lg modal-dialog-centered">
        <div class="modal-content">
            <div class="modal-header">
                <h4 class="modal-title">
                    {{__('affiliate.Referral Code')}}
                </h4>
                <button type="button" class="close " data-bs-dismiss="modal">
                    <i class="ti-close "></i>
                </button>
            </div>
            <div class="modal-body">
                <p class="m-0 text-wrap text-start">
                    {{$refCode}}
                </p>
                <button
                    data-link="{{$refCode}}"
                    class="theme_btn copy_link_on_modal theme_btn affiliate_buttons copy_link copyRefCode">
                    {{__('communication.Copy Link')}}
                </button>
            </div>
        </div>
    </div>
</div>
