Sindbad~EG File Manager

Current Path : /home/numerotech/hs.numerotech.com/scan_v1/core/templates/users/
Upload File :
Current File : //home/numerotech/hs.numerotech.com/scan_v1/core/templates/users/search_delegate_record_table.html

{% if delegate_data |length >= 1 : %}

<br />
<div class="mobile-responsive">
    <h5 class="text-left">Delegate Detail</h5>
    <table class="table table-striped table-bordered bg-light" id="search_delegate_table">
        <thead style="background-color: #072645; border-color: #dee2e6; color: #fff;">
            <tr>
                <th scope="col" width="8%">Delegate ID</th>
                <th scope="col">Full Name</th>
                <th scope="col">Email</th>
                <th scope="col">Mobile</th>
                <th scope="col" width="10%">Conference</th>
                <th scope="col" width="3%">Delegate No</th>
                <th scope="col">Register on</th>
                <th scope="col">Del Status Id</th>
                <th scope="col" width="10%">Action</th>
            </tr>
        </thead>

        <tbody>
            {% if delegate_data : %} {% for row in delegate_data %}
            <tr>
                <td data-label="Delegate ID">
                    <input type="text" name="delegate_id" id="delegate_id_{{row.delegate_id}}" class="form-control delegate_id" value="{{row.delegate_id}}" readonly />
                </td>
                <td data-label="Full Name">
                    <input type="text" name="full_name" id="full_name_{{row.delegate_id}}" class="form-control full_name" value="{{row.full_name or '' }}" readonly />
                </td>
                <td data-label="Email">
                    <input type="text" name="email" id="email_{{row.delegate_id}}" class="form-control email" value="{{row.email or '' }}" readonly />
                </td>
                <td data-label="Mobile">
                    <input type="text" name="mobile" id="mobile_{{row.delegate_id}}" class="form-control" value="{{row.mobile or '' }}" readonly />
                </td>
                <td data-label="Conference">
                    <input type="text" name="conf_name" id="conf_name_{{row.delegate_id}}" class="form-control" value="{{row.conf_name or '' }}" readonly />
                </td>
                <td data-label="Delegate No">
                    <input
                        type="text"
                        name="delegate_no"
                        id="delegate_no_{{row.delegate_id}}"
                        class="form-control delegate_no"
                        value="{{row.delegate_no or '' }}"
                        oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"
                        maxlength="15"
                    />
                </td>

                <td data-label="Register On">
                    <input type="text" name="registered_on" id="registered_on_{{row.delegate_id}}" class="form-control registered_on" value="{{row.registered_on or '' }}" />
                </td>
                
                <td data-label="Del Status Id">
                    <input
                        type="text"
                        name="del_status_id"
                        id="del_status_id_{{row.delegate_id}}"
                        class="form-control del_status_id"
                        value="{{row.del_status_id or '' }}"
                        oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"
                        maxlength="15"
                    />
                </td>
                
                <td data-label="Action">
                    <a href="#" onclick="update_delegate({{row.delegate_id}});" title="Update" id="update_btn"><i class="bi bi-pencil-square mr-3" style="color: blue;"></i></a>
                    <a href="#" onclick="delete_delegate({{row.delegate_id}});" title="Delete" id="delete_btn"><i class="fa fa-trash" style="color: red;"></i></a>
                </td>
            </tr>

            {% endfor %} {% else : %}
            <tr>
                <td colspan="9" style="color: red; text-align: center;">Record not available</td>
            </tr>
            {% endif %}
        </tbody>
    </table>
</div>

{% else :%}
<br />
<div class="mobile-responsive">
    <h5 class="text-left">Delegate Detail</h5>
    <table class="table table-striped table-bordered bg-light" id="search_delegate_table">
        <thead style="background-color: #072645; border-color: #dee2e6; color: #fff;">
            <tr>
                <th scope="col" width="10%">Delegate ID</th>
                <th scope="col">Full Name</th>
                <th scope="col">Email</th>
                <th scope="col">Mobile</th>
                <th scope="col">Conference</th>
                <th scope="col" width="3%">Delegate No</th>
                <th scope="col">Register on</th>
                <th scope="col">Del Status Id</th>
                <th scope="col">Action</th>
            </tr>
        </thead>

        <tbody>
            <tr>
                <td colspan="9" style="color: red; text-align: center;">Record not available</td>
            </tr>
        </tbody>
    </table>
</div>

{% endif %} {% if delegate_addon_data |length >= 1 : %}

<br />

<div class="mobile-responsive">
    <h5 class="text-left">Delegate Addon Detail</h5>
    <table class="table table-striped table-bordered bg-light" id="search_delegate_addon_table">
        <thead style="background-color: #072645; border-color: #dee2e6; color: #fff;">
            <tr>
                <th scope="col" width="10%">Delegate Addon ID</th>
                <th scope="col" width="10%">Delegate ID</th>
                <th scope="col">Addon Name</th>
                <th scope="col">Unique ID</th>
                <th scope="col" width="10%">Amount</th>
                <th scope="col" width="10%">Reg Status</th>
                <th scope="col">Action</th>
            </tr>
        </thead>

        <tbody>
            {% if delegate_addon_data : %} {% for row in delegate_addon_data : %}

            <tr>
                <td data-label="Delegate Addon ID">
                    <input type="text" name="delegate_addon_id" id="delegate_addon_id_{{row.delegate_addon_id}}" class="form-control" value="{{row.delegate_addon_id or ''}}" readonly />
                </td>
                <td data-label="Delegate ID">
                    <input type="text" name="da_delegate_id" id="da_delegate_id_{{row.delegate_addon_id}}" class="form-control" value="{{row.delegate_id or ''}}" readonly />
                </td>
                <td data-label="Addon Name">
                    <input type="text" name="display_name" id="display_name_{{row.delegate_addon_id}}" class="form-control" value="{{row.display_name or '' }}" readonly />
                </td>
                <td data-label="Unique ID">
                    <!-- added -->

                    <input type="text" name="da_unique_id" id="da_unique_id_{{row.delegate_addon_id}}" class="form-control" value="{{row.unique_id or '' }}" />

                    <!-- added -->
                </td>
                <td data-label="Amount">
                    <input type="text" name="amount" id="amount_{{row.delegate_addon_id}}" class="form-control amount" value="{{row.amount or '' }}" />
                </td>
                <td data-label="Reg Status">
                    <input
                        type="text"
                        name="reg_status"
                        id="reg_status_{{row.delegate_addon_id}}"
                        class="form-control reg_status"
                        value="{{row.reg_status or '' }}"
                        oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"
                        maxlength="15"
                    />
                </td>
                <td data-label="Action">
                    <a href="#" onclick="update_delegate_addon({{row.delegate_addon_id}});" title="Update" id="update_da_btn"><i class="bi bi-pencil-square mr-3" style="color: blue;"></i></a>
                    <a href="#" onclick="delete_delegate_addon({{row.delegate_addon_id}});" title="Delete" id="delete_btn"><i class="fa fa-trash" style="color: red;"></i></a>
                </td>
            </tr>

            {% endfor %} {% endif %}
        </tbody>
    </table>
</div>

{% else :%}

<br />
<div class="mobile-responsive">
    <h5 class="text-left">Delegate Addon Detail</h5>
    <table class="table table-bordered" id="search_delegate_addon_table">
        <thead style="background-color: #072645; border-color: #dee2e6; color: #fff;">
            <tr>
                <th scope="col" width="10%">Delegate Addon ID</th>
                <th scope="col" width="10%">Delegate ID</th>
                <th scope="col">Addon Name</th>
                <th scope="col">Unique ID</th>
                <th scope="col" width="10%">Amount</th>
                <th scope="col" width="10%">Reg Status</th>
                <th scope="col">Action</th>
            </tr>
        </thead>
        <tbody>
            <tr>
                <td colspan="8" style="color: red; text-align: center;">Record not available</td>
            </tr>
        </tbody>
    </table>
</div>

{% endif %} {% if user_payment_data |length >= 1 : %}

<br />

<div class="mobile-responsive">
    <h5 class="text-left">User Payment Detail</h5>
    <table class="table table-striped table-bordered" id="search_user_payment_table">
        <thead style="background-color: #072645 !important; border-color: #dee2e6; color: #fff;">
            <tr>
                <th colspan="8" style="text-align: center;">User Payment Details</th>
            </tr>
        </thead>
        <tbody>
            {% if user_payment_data : %} {% for row in user_payment_data %}

            <tr>
                <td data-label="S.No">{{loop.index}}</td>
                <td>
                    <div class="center">Payment ID</div>
                    <input type="text" name="payment_id" id="payment_id_{{row.payment_id}}" class="form-control" value="{{row.payment_id or ''}}" readonly />
                    <div class="center">Delegate IDs</div>
                    <input type="text" name="delegate_id" id="delegate_id_{{row.payment_id}}" class="form-control" value="{{row.delegate_ids or ''}}" readonly />
                </td>
                <td>
                    <div class="center">Unique ID</div>
                    <input type="text" name="p_unique_id" id="p_unique_id_{{row.payment_id}}" class="form-control" value="{{row.unique_id or '' }}" readonly />
                    <div class="center">Created At</div>
                    <input type="text" name="p_created_at" id="p_created_at_{{row.payment_id}}" class="form-control" value="{{row.created_at or '' }}" readonly />
                </td>
                <td>
                    <div class="center">Paid at</div>
                    <input type="text" name="p_paid_at" id="p_paid_at_{{row.payment_id}}" class="form-control" value="{{row.paid_at or '' }}" />

                    <div class="center">Updated At</div>
                    <input type="text" name="p_updated_at" id="p_updated_at_{{row.payment_id}}" class="form-control" value="{{row.updated_at or '' }}" />
                </td>
                <td>
                    <div class="center">Payment Method</div>
                    <input type="text" name="payment_method" id="payment_method_{{row.payment_id}}" class="form-control" value="{{row.payment_method or '' }}" />
                    <div class="center">Payment Type</div>
                    <input type="text" name="payment_method_from_gateway" id="payment_method_from_gateway_{{row.payment_id}}" class="form-control" value="{{row.payment_method_from_gateway or '' }}" />
                </td>

                <td>
                    <div class="center">UTR Number</div>
                    <input type="text" name="utr_number" id="utr_number_{{row.payment_id}}" class="form-control" value="{{row.utr_number or row.api_payment_id or ''}}" />
                    <div class="center">Amount</div>
                    <input type="number" name="p_amount" id="p_amount_{{row.payment_id}}" class="form-control" value="{{row.amount or '' }}" />
                </td>

                <td>
                    <div class="center">Receipt No</div>
                    <input
                        type="text"
                        name="receipt_no"
                        id="receipt_no_{{row.payment_id}}"
                        class="form-control receipt_no"
                        value="{{row.receipt_no or '' }}"
                        oninput="this.value = this.value.replace(/[^0-9.]/g, '').replace(/(\..*)\./g, '$1');"
                        maxlength="15"
                    />
                    <div class="center">Status</div>
                    <input type="text" name="status" id="status_{{row.payment_id}}" class="form-control status" value="{{row.status or '' }}" />
                </td>
                <td data-label="Action">
                    <a href="#" onclick="update_user_payment({{row.payment_id}});" title="Update" id="update_up_btn"><i class="bi bi-pencil-square mr-3" style="color: blue;"> </i></a>
                </td>
            </tr>

            {% endfor %} {% endif %}
        </tbody>
    </table>
</div>

{% else :%}

<br />
<div class="mobile-responsive">
    <h5 class="text-left">User Payment Detail</h5>
    <table class="table table-striped table-bordered bg-light" id="search_user_payment_table">
        <thead style="background-color: #072645; border-color: #dee2e6; color: #fff;">
            <tr>
                <th scope="col" width="1%">S. No</th>
                <th scope="col" width="8%">
                    Pay ID / <br />
                    Del IDs
                </th>
                <th scope="col">Unique ID / Created At</th>
                <th scope="col">Paid At / Updated At</th>
                <th scope="col">Payment Method / Type</th>
                <th scope="col" width="20%">UTR Number / Amount</th>
                <th scope="col" width="10%">Receipt No / Status</th>
                <th scope="col">Action</th>
            </tr>
        </thead>

        <tbody>
            <tr>
                <td colspan="11" style="color: red; text-align: center;">Record not available</td>
            </tr>
        </tbody>
    </table>
</div>

{% endif %}

<br />
<br />

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists