<!-- BEGIN DYNAMIC BLOCK: uninvoicedEntriesHeader -->
<table cellpadding="0">
    <tr>
        <td>
            <div id="statusContainer" class="statusContainer" style="display:none">
                <span class="statusMsg" id="statusMsg" />
            </div>
        </td>
    </tr>
</table>
<!-- END DYNAMIC BLOCK: uninvoicedEntriesHeader -->

<!-- BEGIN DYNAMIC BLOCK: activeinvoiceinfo -->
<div class="invoice_summary">
    <a href="javascript:CloseInvoiceDetails();"><img src="templates/{TEMPLATE}/images/close.gif" width="13" height="13" alt="close" class="is_close" /></a>
    <h2>[l]Invoice Summary[/l]</h2>
    <span class="ib w100"><b>[l]Invoice[/l]:</b></span><span class="ib w350">{ACTIVEINVOICENUMBER}</span>
    <span class="ib w100"><b>[l]Sent[/l]:</b></span><span class="ib w350">{INVOICEDATESENT}</span>
    <span class="ib w100"><b>[l]Paid[/l]:</b></span><span class="ib w350">{INVOICEDATEPAID}</span>
    <!-- BEGIN DYNAMIC BLOCK: activeinvoiceinfo_appliesto -->
    <span class="ib w100"><b>[l]Applies To[/l]:</b></span><span class="ib w350">{INVOICEAPPLIESTOINFO}</span>
    <!-- END DYNAMIC BLOCK: activeinvoiceinfo_appliesto -->
</div>
<!-- END DYNAMIC BLOCK: activeinvoiceinfo -->       
<div class="ts table5">
    <form name="workitems">
        <table width="100%">
            <tr class="caption">
                <td>[l]Due Date[/l]</td>
                <td>[l]Description[/l]</td>
                <td>[l]Billing Type[/l]</td>
                <td>[l]Amount[/l]</td>
                <!-- BEGIN DYNAMIC BLOCK: taxcolumnheader -->
                <td>[l]Tax[/l] ({TAXRATE})</td>
                <!-- END DYNAMIC BLOCK: taxcolumnheader -->   
            </tr>
            <!-- BEGIN DYNAMIC BLOCK: ierow -->
            <tr>
                <td>&nbsp;{COL2DATA}</td>
                <td>&nbsp;{COL3DATA}</td>
                <td>&nbsp;{COL4DATA}</td>
                <td>&nbsp;{COL5DATA}</td>
                <!-- BEGIN DYNAMIC BLOCK: taxcolumndata -->
                <td>&nbsp;{COL6DATA}</td>
                <!-- END DYNAMIC BLOCK: taxcolumndata -->
            </tr>
            <!-- END DYNAMIC BLOCK: ierow -->

            <!-- BEGIN DYNAMIC BLOCK: tax -->   
            <tr>
                <td colspan="2"></td>
                <td align="right" bgcolor="#F5F5DC">[l]Subtotal[/l] </td>
                <td align="right" bgcolor="#F5F5DC">{SUBTOTAL}</td>
                <td align="right" bgcolor="#F5F5DC">{TOTALTAXED}</td>
            </tr>
            <tr>
                <td colspan="2"></td>
                <td align="right" bgcolor="#F5F5DC"><b style='font-size:10px;'>[l]Total[/l]</b></td>
                <td align="right" bgcolor="#F5F5DC"><b style='font-size:10px;'>{TOTAL}</b></td>
                <td></td>
            </tr>
            <!-- END DYNAMIC BLOCK: tax -->
        </table>
    </form>
</div>
