<!---
Name:        Print2.cfm
Author:      Ben Forta
Description: Data driven printable output
Created:     01/10/05
--->

<!--- Get budget data --->
<cfinvoke component="ChartData"
          method="GetBudgetData"
          returnvariable="BudgetData">

<!--- Generate document --->
<cfdocument format="pdf">

<!--- Header --->
<table align="center">
 <tr>
<td>
 <img src="../images/logo_c.gif"
      alt="Orange Whip Studios">
</td>
<td align="center">
<font size="+2">Orange Whip Studios<br>Movies</font>
</td>
 </tr>
</table>

<!--- Title --->
<div align="center">
<h2>Budget Data</h2>
</div>

<!--- Details --->
<table>
 <tr>
  <th>Movie</th>
  <th>Budget</th>
 </tr>
 <cfoutput query="BudgetData">
  <tr>
   <td><strong>#MovieTitle#</strong></td>
   <td>#LSCurrencyFormat(AmountBudgeted)#</td>
  </tr>
 </cfoutput>
</table>

</cfdocument>
