source: timingandestimationplugin/branches/trac0.10/timingandestimationplugin/templates/billing.cs

Last change on this file was 2390, checked in by Russ Tyndall, 16 years ago

TimingAndEstimationPlugin:

closes #1737

Applied Colin Guthrie's patch to make managing custom reports easier.

Thanks for the patch!

File size: 3.5 KB
Line 
1<?cs include "header.cs"?>
2<?cs include "macros.cs"?>
3
4<form method="post" action="<?cs var:billing_info.href ?>" >
5<div id="content" class="billing">
6  <a href="<?cs var:billing_info.usermanual_href ?>" ><?cs var:billing_info.usermanual_title ?></a>
7  <div id="messages" >
8    <?cs each:item = billing_info.messages ?>
9      <div class="message" ><?cs var:item ?></div>
10    <?cs /each ?>
11  </div>
12
13  <table border="0" cellspacing="0" cellpadding="0" class="minorsection">
14    <tr>
15      <td colspan="2" >
16            <div class="minorsection">
17        <div class="label" >Billing Status:</div>
18              <label for="billable">Billable: </label>
19              <input id="billable" name="billable" type="checkbox" checked="true" /> 
20
21            &nbsp;&nbsp;|&nbsp;&nbsp;
22              <label for="unbillable">Not Billable: </label>
23              <input id="unbillable" name="unbillable" type="checkbox"  /> 
24            </div>
25            <div class="minorsection">
26        <div class="label" >Status:</div>
27              <label for="new">New: </label>
28              <input id="new" name="new" type="checkbox" checked="true" /> 
29            &nbsp;&nbsp;|&nbsp;&nbsp;
30              <label for="assigned">Assigned: </label>
31              <input id="assigned" name="assigned" type="checkbox" checked="true" /> 
32            &nbsp;&nbsp;|&nbsp;&nbsp;
33              <label for="reopened">Reopened: </label>
34              <input id="reopened" name="reopened" type="checkbox" checked="true" /> 
35            &nbsp;&nbsp;|&nbsp;&nbsp;
36              <label for="closed">Closed: </label>
37              <input id="closed" name="closed" type="checkbox" checked="true" /> 
38            </div>
39
40      </td>
41    </tr><tr class="minorsection">
42      <td class="minorsectionleft" valign="top"><label for="startdate" >Start Date:</label></td>
43      <td class="minorsectionright"><input id="startdate" name="startdate" type="text" /> or:<br />
44          <label for="startbilling" >Choose an old billing date:</label><br />
45          <select id="startbilling" name="startbilling" >
46            <option value="" ></option>
47              <?cs each:item = billing_info.billdates ?>
48                <option value="<?cs var:item.value ?>" ><?cs var:item.text ?></option>
49              <?cs /each ?>
50          </select>
51      </td>
52    </tr><tr class="minorsection">
53      <td class="minorsectionleft" valign="top"><label for="enddate" >End Date:</label>
54      </td>
55      <td class="minorsectionright">
56          <input id="enddate" name="enddate" type="text" /> or:<br />
57          <label for="endbilling" >Choose an old billing date:</label><br />
58          <select id="endbilling" name="endbilling" >
59            <option value="" ></option>
60              <?cs each:item = billing_info.billdates ?>
61                <option value="<?cs var:item.value ?>" ><?cs var:item.text ?></option>
62              <?cs /each ?>
63          </select>
64      </td>
65    </tr>
66  </table>
67  <ul id="reportlinks">
68  <?cs each:report_group = billing_info.reports ?>
69    <li><?cs var:report_group.title ?>
70      <ul>
71        <?cs each:report = report_group.reports ?>
72          <li><a href="" onmouseover="linkify(this, '<?cs var:billing_info.report_base_href ?>/<?cs var:report.id ?>')"  >
73            <?cs var:report.title ?>
74          </a></li>     
75       <?cs /each ?>
76      </ul>
77    </li>
78  <?cs /each ?>
79  </ul>
80  <input type="submit" name="setbillingtime" value="Set Billing Time" onclick="return confirm('Are you sure that you want to create a billed date?')" />&nbsp;
81
82</div>
83</form>
84<?cs include "footer.cs"?>
Note: See TracBrowser for help on using the repository browser.