invoice2-generate.jsp

<%@ page contentType="text/html; charset=euc-jp" %>
<!-- 
  Copyright 2001, Pajato Systems Group
  Copyright 2001, Allaire Corporation
-->

<jsp:setProperty name="invoiceBean" property="weekEnding" />

<center>

  <p>

  <!-- Use a static include directive to provide the standard -->
  <!-- PSG boilerplate.                                       -->
  <%@ include file="psgHeader.html" %>

  <table border=1 cellspacing=3 cellpadding=5>
    <tr>
      <th align="right">請求書発効日:</th>
      <td><jsp:getProperty name="invoiceBean" property="invoiceDate" /></td>
    </tr>
    <tr>
      <th align="right">コンサルティング サービス発注元:</th>
      <td><jsp:getProperty name="invoiceBean" property="clientCompany" /></td>
    </tr>
    <tr>
      <th align="right">住所: </th>
      <td><jsp:getProperty name="invoiceBean" property="clientAddress" /></td>
    </tr>
    <tr>
      <th align="right">発注番号:</th>
      <td><jsp:getProperty name="invoiceBean" property="clientPO" /></td>
    </tr>
    <tr>
      <th align="right">週:</th>
      <td><jsp:getProperty name="invoiceBean" property="weekEnding" /></td>
    </tr>
    <tr>
      <th align="right">開発者:</th>
      <td><jsp:getProperty name="invoiceBean" property="developerName" /></td>
    </tr>
    <tr>
      <th align="right">レート:</th>
      <td><jsp:getProperty name="invoiceBean" property="developerRate" /></td>
    </tr>
  </table>

  <p> 実働時間:

  <table border=1 cellspacing=3 cellpadding=5>

    <jrun:foreach 
      item="day"
      type="String"
      group="<%= invoiceBean.getDays() %>">
      <jsp:setProperty
        name="invoiceBean" property="dayName" value="<%= day %>" />
      <tr>
        <th align="right">
          <jsp:getProperty name="invoiceBean" property="dayName" />: 
        </th>
        <td><jsp:getProperty name="invoiceBean" property="dayHours" /></td>
      </tr>
    </jrun:foreach>

    <tr>
      <th align="right">合計時間: </th>
      <td><jsp:getProperty name="invoiceBean" property="totalHours" /></td>
    </tr>

    <tr><th></th><td></td></tr>
    <tr>
      <th align="right">合計額: </th>
      <td><jsp:getProperty name="invoiceBean" property="balanceDue" /></td>
    </tr>

  </table>

  <p>
  <input
    type="submit" name="reselect" value="リセット"
    onClick="invoiceForm.operation.value='SETUP';this.form.submit()">
  </input>

</center>