Added conditional display of show approvers.
[timetracker.git] / WEB-INF / templates / client_add.tpl
1 {$forms.clientForm.open}
2 <table cellspacing="4" cellpadding="7" border="0">
3   <tr>
4     <td>
5       <table cellspacing="1" cellpadding="2" border="0">
6         <tr>
7           <td align="right">{$i18n.label.client_name} (*):</td>
8           <td>{$forms.clientForm.name.control}</td>
9         </tr>
10         <tr>
11           <td align="right">{$i18n.label.client_address}:</td>
12           <td>{$forms.clientForm.address.control}</td>
13         </tr>
14         <tr>
15           <td align="right">{$i18n.label.tax}, %:</td>
16           <td>{$forms.clientForm.tax.control}&nbsp;(0{$user->getDecimalMark()}00)</td>
17         </tr>
18         <tr>
19           <td height="40"></td>
20           <td>{$i18n.label.required_fields}</td>
21         </tr>
22         <tr><td>&nbsp;</td></tr>
23 {if $show_projects}
24         <tr>
25           <td align="right">{$i18n.label.projects}:</td>
26           <td>{$forms.clientForm.projects.control}</td>
27         </tr>
28         <tr><td>&nbsp;</td></tr>
29 {/if}
30         <tr>
31           <td colspan="2" align="center" height="50">{$forms.clientForm.btn_submit.control}</td>
32         </tr>
33       </table>
34     </td>
35   </tr>
36 </table>
37 {$forms.clientForm.close}