<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>Accounting Reports</title>
<script language="javascript" type="text/javascript">
function resize_headers() {
hdrrwOne = document.getElementById('hdrrwOne');
hdrrwTwo = document.getElementById('hdrrwTwo');
for (i=0;i<hdrrwOne.cells.length;i=i+1) {
hdrrwOne.cells[i].style.width=hdrrwTwo.cells[i].offsetWidth+5+'px';
}
}
window.onload=resize_headers;
window.onresize=resize_headers;
</script>
<table id="accounting_ledger" width="100%" cellpadding="3" cellspacing="0" border="0">
<tr id="hdrrwOne" name="hdrrwOne" class="bold_10pt_black" valign="bottom" style="position:fixed;" bgcolor="CCCCCC">
<td>Account</td>
<td>Decription</td>
<td>Type</td>
<cfset This_Month_Display = DateFormat("#this_month#/1/#this_year#","mmm") >
<td id="month_win_#this_month#" onmouseover="month_win_open('#this_month#','#This_Month_Display#');"><a href="month_end.cfm?this_month=#this_month#">#This_Month_Display#</a></td>
<cfset current_month = this_month>
<cfloop from="1" to="#(this_month - 1)#" index="x"><cfset current_month -= 1>
<cfset cur_month_displ = DateFormat("#current_month#/1/#this_year#","mmm")>
<td id="month_win_#current_month#" onmouseover="month_win_open('#current_month#','#cur_month_displ#');"><a href="month_end.cfm?this_month=#current_month#">#cur_month_displ#</a></td>
</cfloop>
<td>#this_year#</td>
<td>#last_year#</td>
</tr>
<tr id="hdrrwTwo" name="hdrrwTwo" class="bold_10pt_black" valign="bottom">
<td>Account</td>
<td>Decription</td>
<td>Type</td>
<td>#DateFormat("#this_month#/1/#this_year#","mmm")#</td>
<cfset current_month = this_month>
<cfloop from="1" to="#(this_month - 1)#" index="x"><cfset current_month -= 1>
<cfset cur_month_displ = DateFormat("#current_month#/1/#this_year#","mmm")>
<td>#cur_month_displ#</td>
</cfloop>
<td>#this_year#</td>
<td>#last_year#</td>
</tr>
<cfloop my accounting query here>
<tr for loop>
<td information containers></td>
</tr>
</cfloop>
</table>
|