Subversion Repositories SmartDukaan

Rev

Blame | Last modification | View Log | RSS feed

#if(!$irnResetOrderModelList.isEmpty())
<table class="table-bordered table" id="eligible-irn-order">
    <thead>
    <tr>
        <th>Partner</th>
        <th>Warehouse</th>
        <th>Invoice Number</th>
        <th>Timestamp</th>
        <th>Total Order Value</th>
    </tr>
    </thead>
    <tbody>
        #foreach($irnResetOrderModel in $irnResetOrderModelList)
        <tr>
            <td>$irnResetOrderModel.getName()</td>
            <td>$irnResetOrderModel.getWarehouseId()</td>
            <td>$irnResetOrderModel.getInvoiceNumber()</td>
            <td>$irnResetOrderModel.getInvoiceDate()</td>
            <td>$irnResetOrderModel.getTotalOrderValue()</td>
        </tr>
        #end
    </tbody>
</table>
<div id="reset-irn-button-container" style="float: right">
    <button class="btn btn-primary" id="reset-irn-button" type="button">Reset All</button>
</div>
#end
#if(!$notEligibleInvoiceNumbers.isEmpty())
<h5 style="color: darkred;margin-top: 4%">Please be advised that the following invoice numbers:
    ($notEligibleInvoiceNumbers), are not
    eligible for an IRN reset. These invoices are older than five days.</h5>
#end