Subversion Repositories SmartDukaan

Rev

Rev 34133 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<script>
    $(document).ready(function () {
        $('#upselling-report-table').DataTable(
                {
                    "bPaginate": true,
                    "bLengthChange": true,
                    "bFilter": true,
                    "bInfo": false,
                    "bAutoWidth": false
                }
        );

    });
</script>
<table class="table table-border table-condensed table-bordered" style="width:100%" id="upselling-report-table">
    <thead>
    <tr>
        <td>Agent Email</td>
        <td>Partner Name</td>
        <td>Partner Mobile Number</td>
        <td>Partner State</td>
        <td>Order Id</td>
        <td>Customer Mobile</td>
        <td>Calling Date</td>
        <td>Disposition</td>
        <td>Remark</td>
        <td>Payment Status</td>
        <td>Insurance Status</td>
        <td>Policy Sold Amount</td>
        <td>Invoice Number</td>
        <td>Serial Number</td>
    </tr>
    </thead>
    <tbody>
        #if($upsellingReportModels)
            #foreach($report in $upsellingReportModels)
            <tr>
                <td>$report.getAgentEmail()</td>
                <td>$report.getPartnerName()</td>
                <td>$report.getPartnerMobile()</td>
                <td>$report.getState()</td>
                <td>$report.getOrderId()</td>
                <td>$report.getCustomerNumber()</td>
                <td>$report.getCallingDate()</td>
                <td>$report.getDisposition()</td>
                <td>$report.getRemark()</td>
                <td>$report.getPaymentStatus()</td>
                <td>$report.getInsuranceStatus()</td>
                <td>$report.getPolicySoldAmount()</td>
                <td>$report.getInvoiceNumber()</td>
                <td>$report.getSerialNumber()</td>
            </tr>
            #end

        #else
        <tr>
            <td colspan="9"> No data found</td>
        </tr>
        #end
    </tbody>
</table>