1 {$forms.predefinedExpensesForm.open}
2 <table cellspacing="0" cellpadding="7" border="0" width="720">
5 {if $user->can('manage_advanced_settings')}
6 <table cellspacing="1" cellpadding="3" border="0" width="100%">
8 <td class="tableHeader">{$i18n.label.thing_name}</td>
9 <td class="tableHeader">{$i18n.label.cost}</td>
10 <td class="tableHeader">{$i18n.label.edit}</td>
11 <td class="tableHeader">{$i18n.label.delete}</td>
13 {if $predefined_expenses}
14 {foreach $predefined_expenses as $predefined_expense}
15 <tr bgcolor="{cycle values="#f5f5f5,#ffffff"}">
16 <td>{$predefined_expense['name']|escape}</td>
17 <td>{$predefined_expense['cost']|escape}</td>
18 <td><a href="predefined_expense_edit.php?id={$predefined_expense['id']}">{$i18n.label.edit}</a></td>
19 <td><a href="predefined_expense_delete.php?id={$predefined_expense['id']}">{$i18n.label.delete}</a></td>
26 <tr><td align="center"><br>{$forms.predefinedExpensesForm.btn_add.control}</td></tr>
32 {$forms.predefinedExpensesForm.close}