<!--
****************************************************************************  
*  Description: Layout for recurring overview                              *
*  Created: 12/25/2007                                                     *
*  Updated: 07/04/2008 - updated for merger into client                    *
****************************************************************************
-->
<table width="100%">
    <tr>
        <td width="50%">
            <a href="javascript:void(0);" onmouseover="return overlib('{RECURRINGOVERVIEWDESCRIPTION}',FIXY,_mousePosY+5,FIXX,_mousePosX+13,DELAY,310,BGCOLOR, '#FFCC99', FGCOLOR, '#FFFFCC',BORDER,1,TEXTCOLOR,'#000000');" onmouseout="return nd();" ><h5>[l]Next Recurring Charges[/l]</h5></a>
        </td>

        <!-- BEGIN DYNAMIC BLOCK: multicurrencyoptions -->
        <script language="javascript">
            function RedirectFilter(value){
                this.location = "index.php?fuse=clients&view=ShowCustomerData&CustomerTab=NextRecurringCharges&price="+value;
            }
        </script>
        
        <td width="50%">
            [l]Price:[/l]&nbsp;&nbsp;
            <select class="body" id="price" name="price" onchange="RedirectFilter(this.value)">
                <option value="0" {PRICE0SELECTED}>[l]Real Price[/l]&nbsp;&nbsp;&nbsp;&nbsp;</option>
                <option value="1" {PRICE1SELECTED}>[l]Customer's Price Estimation[/l]&nbsp;&nbsp;&nbsp;&nbsp;</option>
            </select>
        </td>
        <!-- END DYNAMIC BLOCK: multicurrencyoptions -->
    </tr>
</table>

<!-- BEGIN DYNAMIC BLOCK: multicurrencynotice -->
<div id="divdetails" class="table-summary" style="margin-bottom: 10px; margin-top: 10px;">
    <h2>
        <font color=red>[l]Notice[/l]:</font>
    </h2>
    [l]You are using the Customer's Price Estimation, so all the values below are approximated values depending on the currencies rates.[/l]
</div>
<!-- END DYNAMIC BLOCK: multicurrencynotice -->


<table width='100%' cellpadding='2' cellspacing='2' border='0'>
    <tr>
        <th align="center"><h3>[l]Next Date[/l]</h3></th>
        <th><h3>[l]Description[/l]</h3></th>
        <th align="center"><h3>[l]Price[/l]</h3></th>
        <th align="center"><h3>[l]Remove[/l]</h3></th>
    </tr>
<!-- BEGIN DYNAMIC BLOCK: nextrecurringcharge -->  
    <!-- BEGIN DYNAMIC BLOCK: nextrecurringcharge_row -->
    <tr>
        <td class="formLabel" style="background-color: {bgColor1}" align="center" nowrap="nowrap" width="100">{NEXTINVOICEDATE}&nbsp;&nbsp;</td>
        <!--<td class="formField" align="right" width="75"><b>{NEXTINVOICEBILLINGCYCLE}</b>&nbsp;</td>-->
        <td class="{className1}">{NEXTINVOICESUBJECTLINK}</td>
        <td class="{className1}" align="right" nowrap="nowrap" width="100">{NEXTINVOICEDATEPRICE}</td>
        <!-- BEGIN DYNAMIC BLOCK: nextrecurringcharge_row_removecol -->
        <td class="formLabel" style="background-color: {bgColor1}" align="center" nowrap="nowrap" width="100">{NEXTINVOICEDATEREMOVELINK}</td>
        <!-- END DYNAMIC BLOCK: nextrecurringcharge_row_removecol -->
    </tr>
    <!-- END DYNAMIC BLOCK: nextrecurringcharge_row -->    
<!-- END DYNAMIC BLOCK: nextrecurringcharge -->      

<!-- BEGIN DYNAMIC BLOCK: queuedcharges -->  
    <!-- BEGIN DYNAMIC BLOCK: queuedcharges_row -->
    <tr>        
        <td class="formLabel" style="background-color: {bgColor1}" nowrap align="center"  width="100">[l]One Time[/l]</td>
        <!--<td class="formField" align="right" width="75"><b>[l]One Time[/l]</b>&nbsp;</td>-->
        <td class="{className1}" nowrap>{QUEUEDCHARGESUBJECTLINK}</td>
        <td width="100" class="{className1}" nowrap align="right">{QUEUEDCHARGEPRICE}</td>
        <!-- BEGIN DYNAMIC BLOCK: queuedcharges_row_removecol -->
        <td width="100" class="formLabel" style="background-color: {bgColor1}" nowrap align="center">{QUEUEDCHARGEREMOVELINK}</td>
        <!-- END DYNAMIC BLOCK: queuedcharges_row_removecol -->
    </tr>
    <!-- END DYNAMIC BLOCK: queuedcharges_row -->
<!-- END DYNAMIC BLOCK: queuedcharges -->
</table>

<!-- BEGIN DYNAMIC BLOCK: norecurringcharges -->
<div style="text-align:center">
<br/><font class="body7green">[l]There are no recurring charges assigned to this customer[/l]</font><br/>
</div>
<br/>
<!-- END DYNAMIC BLOCK: norecurringcharges -->

<!-- BEGIN DYNAMIC BLOCK: createinvoicebutton -->
    <input type="button" class="button" style="position:relative;top:3px;" value='[l]Add Invoice Entry[/l]' onclick="window.location='index.php?fuse=clients&view=ViewInvoiceEntry'">
<!-- END DYNAMIC BLOCK: createinvoicebutton -->
<br/><br/>