generateInvoice3.jsp
<%@ page contentType="text/html; charset=euc-jp" %>
<%@ page errorPage="errors.jsp" %>
<html>
<jsp:useBean
id="invoiceBean" scope="application"
class="com.allaire.samples.invoice.InvoiceBean2">
</jsp:useBean>
<jsp:setProperty name="invoiceBean" property="clientCompany" />
<jsp:setProperty name="invoiceBean" property="weekEnding" />
<% invoiceBean.initialize(); %>
<head>
<title>
PSG 請求書: 週:
<jsp:getProperty name="invoiceBean" property="weekEnding" />
</title>
</head>
<body>
<center>
<p>
<%@ include file="psgHeader.html" %>
<p>
<table border=1 cellspacing=3 cellpadding=5>
<tr>
<th align="right">請求書発効日:</th>
<td><inv:getInvoiceDate /></td>
</tr>
<tr>
<th align="right">コンサルティング サービス発注元:</th>
<td><inv:getClientCompany /></td>
</tr>
<tr>
<th align="right">住所: </th>
<td><inv:getClientAddress /></td>
</tr>
<tr>
<th align="right">発注番号:</th>
<td><inv:getClientPO /></td>
</tr>
<tr>
<th align="right">週:</th>
<td><inv:getWeekEnding /></td>
</tr>
<tr>
<th align="right">開発者:</th>
<td><inv:getDeveloperName /></td>
</tr>
<tr>
<th align="right">レート:</th>
<td><inv:getDeveloperRate /></td>
</tr>
</table>
<p> 実働時間:
<table border=1 cellspacing=3 cellpadding=5>
<inv:foreachDay>
<tr>
<th align="right"><inv:getNextDayName />: </th>
<td><inv:getDayHours /></td>
</tr>
</inv:foreachDay>
<tr>
<th align="right">合計時間: </th>
<td><inv:getTotalHours /></td>
</tr>
<tr><th></th><td></td></tr>
<tr>
<th align="right">合計額: </th>
<td><inv:getBalanceDue /></td>
</tr>
</table>
</center>
</body>
</html>