2 function confirm_deleting_entries() {
3 var dropdown = document.getElementById("delete_invoice_entries");
4 if (1 == dropdown.value) {
5 // User selected deleting values. Ask to confirm.
6 return confirm("{$i18n.form.invoice.confirm_deleting_entries}");
12 {$forms.invoiceDeleteForm.open}
13 <table cellspacing="4" cellpadding="7" border="0">
16 <table cellspacing="0" cellpadding="2" border="0">
18 <td>{$i18n.form.invoice.invoice_to_delete}:</td>
19 <th>{$invoice_to_delete|escape}</th>
22 <td>{$i18n.form.invoice.invoice_entries}:</td>
23 <td>{$forms.invoiceDeleteForm.delete_invoice_entries.control}</td>
25 <tr><td colspan="2" align="center"> </td></tr>
27 <td align="right">{$forms.invoiceDeleteForm.btn_delete.control} </td>
28 <td align="left"> {$forms.invoiceDeleteForm.btn_cancel.control}</td>
34 {$forms.invoiceDeleteForm.close}