Location: PHPKode > projects > Neobill > NeoBill0.5.6/manager/templates/manager_DeleteInvoicePage.tpl
{dbo_assign dbo="invoice_dbo" var="invoice_id" field="id"}

<p class="message">
  {echo phrase="DELETE_INVOICE"}
</p>

<h2> {echo phrase="INVOICE"} #{$invoice_id}</h2>

{form name="delete_invoice"}
  <div class="properties">
    <table>
      <tr>
        <th> {echo phrase="ACCOUNT"}: </th>
        <td> {dbo_echo dbo="invoice_dbo" field="accountname"} (ID: {dbo_echo dbo="invoice_dbo" field="accountid"})</td>
      </tr>
      <tr>
        <th> {echo phrase="PERIOD"}: </th>
        <td> 
          {dbo_echo|datetime:date dbo="invoice_dbo" field="periodbegin"} -
          {dbo_echo|datetime:date dbo="invoice_dbo" field="periodend"}
        </td>
      </tr>
      <tr>
       <th> {echo phrase="AMOUNT_DUE"}: </th>
        <td> {dbo_echo|currency dbo="invoice_dbo" field="balance"} </td>
      </tr>
      <tr>
        <th> {echo phrase="INVOICE_DATE"}: </th>
        <td> {dbo_echo|datetime:date dbo="invoice_dbo" field="date"} </td>
     </tr>
      <tr>
        <th> {echo phrase="INVOICE_TOTAL"}: </th>
        <td> {dbo_echo|currency dbo="invoice_dbo" field="total"} </td>
      </tr>
      <tr>
        <th> {echo phrase="NOTE_TO_CUSTOMER"}: </th>
        <td> {dbo_echo dbo="invoice_dbo" field="note"} </td>
      </tr>
      <tr class="footer">
        <td colspan="2">
          {form_element field="delete"}
          {form_element field="cancel"}
        </td>
      </tr>
    </table>
  </div>
{/form}

{form name="delete_invoice_items"}
  <div class="table">
    {form_table field="items"}

      {form_table_column columnid="text" header="[ITEM]"}
        {$items.text}
      {/form_table_column}

      {form_table_column columnid="unitamount" header="[UNIT_PRICE]"}
        {$items.unitamount|currency}
      {/form_table_column}

      {form_table_column columnid="quantity" header="[QUANTITY]"}
        {$items.quantity}
      {/form_table_column}

      {form_table_column columnid="total" header="[TOTAL]"}
        {$items.amount|currency}
      {/form_table_column}

    {/form_table}
  </div>
{/form}
Return current item: Neobill