Subversion Repositories SmartDukaan

Rev

Rev 33091 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<section class="wrapper">
    <div class="row">
        <div class="col-lg-12">
            <h3 class="page-header"><i class="icon_document_alt"></i>#springMessage("reportsofferpayoutdump.offerpayoutdumpreport")</h3>
            <ol class="breadcrumb">
                <li><i class="fa fa-home"></i><a href="${rc.contextPath}/dashboard">#springMessage("reportsofferpayoutdump.home")</a></li>
                <li><i class="icon_document_alt"></i>#springMessage("reportsofferpayoutdump.offerpayoutdumpreport")</li>
            </ol>
        </div>
    </div>
    <div class="row col-lg-12" style="float: right;">


        #springMessage("reportsofferpayoutdump.from") <input type="date" id="startDate-offer-payout-dump" placeholder="" name="" value="$startDate">

        #springMessage("reportsofferpayoutdump.to") <input type="date" id="endDate-offer-payout-dump" placeholder="" value="$endDate">

        <button type="submit" class="download-offer-payout-dump-report">#springMessage("reportsofferpayoutdump.downloadreport")</button>
        <button type="submit" class="offer-payout-fetch-report">#springMessage("reportsofferpayoutdump.fetchreport")</button>
    </div>

    <div class="col-lg-12">
        <table class="table table-border table-condensed table-bordered" id="offerPayoutDumpReportDtable"
               style="width:100%">

            <thead class="row htable" style="background:#F5F5F5;">
            <tr style="color:black;">



                <th>Model Name </th>
                <th>Model Number</th>
                <th>Brand</th>

                <th>Color</th>

                <th>Offer Id</th>

                <th>Name</th>
                <th>Type</th>
                <th>Serial Number</th>
                <th>Slab Amount</th>








                <th>Description</th>
                <th>Created Timestamp</th>
                <th>Rejected Timestamp</th>

            </tr>
            </thead>
            <tbody>
                #foreach($offerPayoutDumpReport in $offerPayoutDumpReports )
                <tr>



                    <td>$offerPayoutDumpReport.getModelName()</td>
                    <td>$offerPayoutDumpReport.getModelNumber()</td>
                    <td>$offerPayoutDumpReport.getBrand()</td>


                    <td>$offerPayoutDumpReport.getColor()</td>

                    <td>$offerPayoutDumpReport.getOfferId()</td>

                    <td>$offerPayoutDumpReport.getName()</td>


                    <td>$offerPayoutDumpReport.getType()</td>

                    #if($offerPayoutDumpReport.getSerialNumber())
                        <td> $offerPayoutDumpReport.getSerialNumber()</td>
                    #else

                        <td>--</td>
                    #end
                    <td>$offerPayoutDumpReport.getSlabAmount()</td>





                    #if($offerPayoutDumpReport.getDescription())
                        <td>$offerPayoutDumpReport.getDescription()</td>

                    #else
                        <td>--</td>
                    #end
                    <td>$offerPayoutDumpReport.getCreateTimestamp().format($datehiphenFormatter)</td>

                    #if($offerPayoutDumpReport.getRejectTimestamp())

                        <td>$offerPayoutDumpReport.getRejectTimestamp().format($datehiphenFormatter)</td>
                    #else
                        <td> --</td>
                    #end


                </tr>
                #end

            </tbody>

        </table>
    </div>

</section>


<script>


    var dtable = $('#offerPayoutDumpReportDtable').DataTable(
            {
                "scrollX": true,
                "bPaginate": true,
                "bLengthChange": true,
                "bFilter": true,
                "bInfo": false,
                "bAutoWidth": false,


            });


</script>