<!-- BEGIN DYNAMIC BLOCK: uninvoicedEntriesHelp -->
<div style='font-size:11px;padding-bottom:5px;padding-top:20px;'>[l]These items are services that have not been included as part of an invoice.  You will be given the option to create a new invoice from the selected item(s) or add item(s) to an existing invoice[/l]</div>
<!-- END DYNAMIC BLOCK: uninvoicedEntriesHelp -->

<!-- BEGIN DYNAMIC BLOCK: activeinvoiceinfo -->
<div style='padding-bottom:5px;'>
  <div class="cornersGray">
     <div class="tlGray">
       <div class="trGray">
          <div class="blGray">
              <div class="brGray">
                <div style='color: #666;padding-left:5px;padding-top:5px;'>
                    <div style='float:left;padding-right:7px; font-size: 17px; font-weight:bolder;'>[l]Invoice Summary[/l]:</div>                   
                    <div style='float:right;padding-right:4px;'><a href='javascript:CloseInvoiceDetails();'><img src='templates/{TEMPLATE}/images/notes_close.gif' border='0' /></a></div>
                    <div style='color: #999;' class='newline'></div>
 					<div style='float:left; font-size: 11px'><b style='font-size: 12px;'>[l]Invoice[/l]</b>: </div> <div style='padding-top:1px;font-size: 11px;float:left;'> {ACTIVEINVOICENUMBER}</div>
                    <div style='color: #999;' class='newline'></div>
 					<div style='float:left;padding-right:5px;'><b style='font-size: 11px;'>[l]Sent[/l]</b>: {INVOICEDATESENT}</div>
 					<div style='float:left;padding-right:5px;'><b style='font-size: 11px;'>[l]Paid[/l]</b>: {INVOICEDATEPAID}</div>	
                    <!-- BEGIN DYNAMIC BLOCK: activeinvoiceinfo_appliesto -->
                    <div style='color: #999;' class='newline'></div>                    
 					<div style='float:left;padding-right:5px;'><b style='font-size: 11px;'>[l]Applies To[/l]</b>: {INVOICEAPPLIESTOINFO}</div>	
                    <!-- END DYNAMIC BLOCK: activeinvoiceinfo_appliesto -->
                    <div style='color: #999;padding-bottom:5px;' class='newline'></div>                                                     
                </div>
              </div>
           </div>
       </div>
     </div>
   </div>
</div>
<!-- END DYNAMIC BLOCK: activeinvoiceinfo -->       

<form name="workitems">

<!-- Header -->
<table width='100%' cellpadding=0 border=0 cellspacing=0>
<tr>
<td class="snapshot-header-left"></td>
<td class="snapshot-header" nowrap><font class=snapshot-header-text>{INVOICEENTRIESHEADERTEXT}</font></td>
<td class="snapshot-header" align=right></td>
<td class="snapshot-header-right"></td>
</tr>
</table>


<table id="ie" cellSpacing=1 cellPadding=4 width="100%" border=0>
<tbody>
    <!-- Invoice Entry Columns -->
    <tr class=header>
      <td class=headerSelected align=middle width=20><img height=1 alt="" src="images/spacer.gif" width="20" /></td>
 	  <td id=col_1 noWrap width="90">&nbsp;[l]Due Date[/l]&nbsp;&nbsp;</td>
 	  <td id=col_2 noWrap align="left">&nbsp;[l]Description[/l]</td>
 	  <td id=col_3 noWrap width="170" align="right">[l]Billing Type[/l]</td>
      <td id=col_4 noWrap width="70" align="right">&nbsp;{LANGUAGEAMOUNT}</td>
      <!-- BEGIN DYNAMIC BLOCK: taxcolumnheader -->
      <td id=col_5 noWrap width="70" align="right">[l]Tax ({TAXRATE})[/l]</td>
      <!-- END DYNAMIC BLOCK: taxcolumnheader -->   
    </tr>

    <!-- Invoice Entry Rows -->
    <!-- BEGIN DYNAMIC BLOCK: ierow -->
        <tr id="row_ie_{ROWID}" class="{ROWCLASS}" style="{ROWSTYLE}">
            <td style='height:25px;'><INPUT type=checkbox value="{ROWID}" id="{ROWID}" name=entry style="{COL1STYLE}"></td>
            <td>{COL2DATA}</td>
            <td>{COL3DATA}</td>
            <td align="right">{COL4DATA}</td>
            <td align="right">{COL5DATA}</td>
            <!-- BEGIN DYNAMIC BLOCK: taxcolumndata -->
            <td align="right">{COL6DATA}</td>
            <!-- END DYNAMIC BLOCK: taxcolumndata -->
        </tr>
    <!-- END DYNAMIC BLOCK: ierow -->

    <!-- BEGIN DYNAMIC BLOCK: noinvoiceentriesrow -->
        <tr>
 	      	<td colspan="5" align=center><span style='font-size:11px;'>[l]There are currently no invoice entries[/l]</span></td>
        </tr>
    <!-- END DYNAMIC BLOCK: noinvoiceentriesrow -->

    <!-- Tax Information -->    
    <!-- BEGIN DYNAMIC BLOCK: tax -->   
    <tr>
 		<td colspan=3></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=3></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 -->
</tbody>
</table>
</form>


<!-- Buttons and Action Dropdown list -->
<!-- BEGIN DYNAMIC BLOCK: iebutton -->
    <div style="float:left;padding-right:4px;">
        <form name={IEBUTTONFORMNAME} method=post action=index.php?fuse={IEBUTTONFUSE}&action={IEBUTTONACTION}>
        <input type=hidden name=selectedworks>
        <input type=hidden name=billdetailid value="{IEBUTTONINVOICEID}">
        <input type=button name=button class="{IEBUTTONSIZE}" value='{IEBUTTONVALUE}' onclick="if (itemSelected()) {IEBUTTONJSFUNCTION};return false;">
        </form>
    </div>       
<!-- END DYNAMIC BLOCK: iebutton -->    

<!-- BEGIN DYNAMIC BLOCK: mergedropdown -->
<div style="float:right;padding-right:4px;">
    <form name=invoicemove action=index.php?fuse={DROPDOWNFUSE}&action={DROPDOWNACTION} method=post>
    <input type=hidden id=invoicemove_selectedworks name=selectedworks>
    <input type=hidden id=invoicemove_billdetailid name=billdetailid value='{MOVEENTRYFROMINVOICEID}'>
    <select id=invoicemove_invoiceid name=invoiceid onchange="if (itemSelected()) submitMoveEntries(form,{SHOWMERGEALLWARNING});return false;" class=body>
 	<option value='' selected>[l]select invoice[/l]</option>
    <!-- BEGIN DYNAMIC BLOCK: dropdownitem -->
        <option value={MOVEOPTIONINVOICE}>{LANGUAGEINVOICE}</option>
    <!-- END DYNAMIC BLOCK: dropdownitem -->
    </select>&nbsp;&nbsp;{DROPDOWNACTIONDESCRIPTION}
    </form>
</div>
<!-- END DYNAMIC BLOCK: mergedropdown -->   



<br />
<!-- BEGIN DYNAMIC BLOCK: transactions -->
<font class=largetext><br />[l]Transactions for invoice[/l]:
{IEBUTTONINVOICEID}
</font><br />-------------------------------<br />
    <!-- BEGIN DYNAMIC BLOCK: transactions_rows -->
        &nbsp;<img src="images/box.gif" />&nbsp;&nbsp;
        <b>{TRANSACTIONDATE}</b> - Transaction: {TRANSACTIONID} -
        <font class="{CLASSREPONSE}">{TRANSACTIONRESPONSE}</font>
        <br />
    <!-- END DYNAMIC BLOCK: transactions_rows -->
    <!-- BEGIN DYNAMIC BLOCK: notransactions -->
 		<font class=red>[l]There are no recorded transactions for this invoice[/l]</font>
    <!-- END DYNAMIC BLOCK: notransactions -->
<!-- END DYNAMIC BLOCK: transactions -->
