ok

Mini Shell

Direktori : /home2/selectio/www/wedding-info-new/admin/
Upload File :
Current File : /home2/selectio/www/wedding-info-new/admin/buyer_report.php

<?php include('header.php'); ?>

<div class="page-wrapper">
    <div class="page-content">
        <div class="card">
            <div class="card-body">
                <div class="table-responsive">
                    <table id="example3"  class="table table-striped table-bordered">
                        <thead>
                            <tr>
                                <th> ID </th>
                                <th> Profle Created By </th>
                                <th> Name </th>
                                <th> Gender </th>
                                <th> Email </th>
                                <th> Age </th>
                                <th> Mobile No </th>
                                <th> Alternate Mobile No </th>
                                <th> Legal Address </th>
                                <th> City </th>
                                <th> State </th>
                                <th> Pincode </th>
                                <th> Land  Mark </th>
                                <th> Occupation </th>
                                <th> Annual Income </th>
                                <th> Actions </th>
                            </tr>
                        </thead>
                        <tbody ></tbody>
                    </table>
                </div>
            </div>
        </div>

    </div>
</div>

<script>
    $(document).ready(function () {
        getData();

        function getData() {
            var status = $('#status').val();
            var dataTable = $('#example354').DataTable({
                destroy: true,
                processing: true,
                order: [[0, 'asc']],
                serverSide: true,
                lengthMenu: [[10, 25, 50, 100], [10, 25, 50, 100]],
                destroy: true,
                ajax: {
                    url: 'data-tables/buyer-list-data-table.php',
                    data: { type: 'get_customer_table', status: status },
                    type: 'post',
                    error: function () {
                        $('.example-error').html('');
                        $('#example3').css('display', 'none');
                    }
                }
            });
        }

        $('#status').change(function () {
            getData();
        });
    });
</script>
<script>
$(document).ready(function () {
    var dataTable = $('#example3').DataTable({
        processing: true,
        order: [[0, 'asc']],
        serverSide: true,
        dom: 'Bfrtip',
        lengthMenu: [
            [10, 25, 50, -1],
            ['10 rows', '25 rows', '50 rows', 'Show all']
        ],
        buttons: [
            {
                extend: 'pageLength',
                className: 'btn-sm'
            },
            {
                extend: 'copyHtml5',
                className: 'btn-sm',
                exportOptions: {
                    columns: ':visible'
                }
            },
            {
                extend: 'excelHtml5',
                className: 'btn-sm',
                exportOptions: {
                    columns: ':visible'
                }
            },
            {
                extend: 'csvHtml5',
                className: 'btn-sm',
                orientation: 'landscape',
                pageSize: 'LEGAL',
                exportOptions: {
                    columns: ':visible'
                }
            },
            {
                extend: 'pdfHtml5',
                className: 'btn-sm',
                orientation: 'landscape',
                pageSize: 'LEGAL',
                exportOptions: {
                    columns: ':visible'
                }
            },
            {
                extend: 'colvis',
                className: 'btn-sm'
            }
        ],
        columnDefs: [
            {
                targets: -1,
                visible: false
            }
        ],
        ajax: {
            url: 'data-tables/buyer-list-data-table.php',
            type: 'post',
            error: function () {
                $('.example-error').html('');
                $('#example9').css('display', 'none');
            }
        }
    });

    $('#status').change(function () {
        dataTable.ajax.reload();
    });
});

</script>


<script>
    function view(id) {
        alert('id: ' + id);
        window.location.href = 'seller_profile.php?id=' + id;
        
    }
    function edit(id) {
        alert('id: ' + id);
        window.location.href = 'seller_profile.php?id=' + id;
        
    }

</script>
<?php include('footer.php'); ?>

Zerion Mini Shell 1.0