<?xml version="1.0"?>
<interface>

  <menu id="FilePlaceholder3">
    <item>
      <attribute name="label" translatable="yes">_Print</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.FilePrintAction</attribute>
      <attribute name="accel">&lt;Primary&gt;p</attribute>
      <attribute name="tooltip" translatable="yes">Print the currently active page</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="EditPlaceholder1">
    <item>
      <attribute name="label" translatable="no">EditEditInvoiceAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.EditEditInvoiceAction</attribute>
      <attribute name="tooltip" translatable="yes">Edit this invoice</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="no">EditDuplicateInvoiceAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.EditDuplicateInvoiceAction</attribute>
      <attribute name="tooltip" translatable="yes">Create a new invoice as a duplicate of the current one</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="no">EditPostInvoiceAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.EditPostInvoiceAction</attribute>
      <attribute name="tooltip" translatable="yes">Post this invoice to your Chart of Accounts</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="no">EditUnpostInvoiceAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.EditUnpostInvoiceAction</attribute>
      <attribute name="tooltip" translatable="yes">Unpost this invoice and make it editable</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="EditPlaceholder3">
    <item>
      <attribute name="label" translatable="yes">_Find…</attribute>
      <attribute name="action">gnc-plugin-basic-commands-actions.EditFindTransactionsAction</attribute>
      <attribute name="accel">&lt;Primary&gt;f</attribute>
      <attribute name="tooltip" translatable="yes">Find transactions with a search</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="EditPlaceholder5">
    <item>
<!-- Translators: remember to reuse this translation in dialog-account.glade -->
      <attribute name="label" translatable="yes">Ta_x Report Options</attribute>
      <attribute name="action">GncPluginPageAccountTreeActions.EditTaxOptionsAction</attribute>
<!-- Translators: currently implemented are, US: income tax and DE: VAT, So adjust this string -->
      <attribute name="tooltip" translatable="yes">Setup relevant accounts for tax reports, e.g. US income tax</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="ViewPlaceholder1">
    <item>
      <attribute name="label" translatable="no">ViewSaveLayoutAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.ViewSaveLayoutAction</attribute>
      <attribute name="tooltip" translatable="yes">Use the current layout as default for all customer invoices and credit notes</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="no">ViewResetLayoutAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.ViewResetLayoutAction</attribute>
      <attribute name="tooltip" translatable="yes">Reset default layout for all customer invoices and credit notes back to built-in defaults and update the current page accordingly</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="ViewPlaceholder2">
    <submenu>
      <attribute name="label" translatable="yes">Sort _Order</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.SortOrderAction</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
      <section>
        <item>
          <attribute name="label" translatable="yes">_Standard</attribute>
          <attribute name="action">GncPluginPageInvoiceActions.SortOrderRadioAction</attribute>
          <attribute name="target" type="i">0</attribute>
          <attribute name="tempx" translatable="no">yes</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Date</attribute>
          <attribute name="action">GncPluginPageInvoiceActions.SortOrderRadioAction</attribute>
          <attribute name="target" type="i">1</attribute>
          <attribute name="tempx" translatable="no">yes</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Date of _Entry</attribute>
          <attribute name="action">GncPluginPageInvoiceActions.SortOrderRadioAction</attribute>
          <attribute name="target" type="i">2</attribute>
          <attribute name="tempx" translatable="no">yes</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Quantity</attribute>
          <attribute name="action">GncPluginPageInvoiceActions.SortOrderRadioAction</attribute>
          <attribute name="target" type="i">4</attribute>
          <attribute name="tempx" translatable="no">yes</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">_Price</attribute>
          <attribute name="action">GncPluginPageInvoiceActions.SortOrderRadioAction</attribute>
          <attribute name="target" type="i">5</attribute>
          <attribute name="tempx" translatable="no">yes</attribute>
        </item>
        <item>
          <attribute name="label" translatable="yes">Descri_ption</attribute>
          <attribute name="action">GncPluginPageInvoiceActions.SortOrderRadioAction</attribute>
          <attribute name="target" type="i">3</attribute>
          <attribute name="tempx" translatable="no">yes</attribute>
        </item>
      </section>
    </submenu>
  </menu>

  <menu id="ViewPlaceholder4">
    <item>
      <attribute name="label" translatable="yes">_Refresh</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.ViewRefreshAction</attribute>
      <attribute name="accel">&lt;Primary&gt;r</attribute>
      <attribute name="tooltip" translatable="yes">Refresh this window</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="ActionsPlaceholder4">
    <item>
      <attribute name="label" translatable="yes">_Enter</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.RecordEntryAction</attribute>
      <attribute name="tooltip" translatable="yes">Record the current entry</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="yes">_Cancel</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.CancelEntryAction</attribute>
      <attribute name="tooltip" translatable="yes">Cancel the current entry</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="yes">_Delete</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.DeleteEntryAction</attribute>
      <attribute name="tooltip" translatable="yes">Delete the current entry</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="yes">_Blank</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.BlankEntryAction</attribute>
      <attribute name="tooltip" translatable="yes">Move to the blank entry at the bottom</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="ActionsPlaceholder5">
    <item>
      <attribute name="label" translatable="yes">Dup_licate Entry</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.DuplicateEntryAction</attribute>
      <attribute name="tooltip" translatable="yes">Make a copy of the current entry</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="yes">Move Entry _Up</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.EntryUpAction</attribute>
      <attribute name="tooltip" translatable="yes">Move the current entry one row upwards</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="yes">Move Entry Do_wn</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.EntryDownAction</attribute>
      <attribute name="tooltip" translatable="yes">Move the current entry one row downwards</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="BusinessPlaceholder2">
    <item>
      <attribute name="label" translatable="no">BusinessLinkAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.BusinessLinkAction</attribute>
      <attribute name="tooltip" translatable="yes">Manage link of an external document to this item</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
    <item>
      <attribute name="label" translatable="no">BusinessLinkOpenAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.BusinessLinkOpenAction</attribute>
      <attribute name="tooltip" translatable="yes">Open the linked document</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="BusinessPlaceholder3">
    <item>
      <attribute name="label" translatable="no">ToolsProcessPaymentAction</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.ToolsProcessPaymentAction</attribute>
      <attribute name="tooltip" translatable="yes">Enter a payment for the owner of this invoice</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>

  <menu id="ReportsPlaceholder1">
    <item>
      <attribute name="label" translatable="yes">_Company Report</attribute>
      <attribute name="action">GncPluginPageInvoiceActions.ReportsCompanyReportAction</attribute>
      <attribute name="tooltip" translatable="yes">Open a company report window for the owner of this invoice</attribute>
      <attribute name="temp" translatable="no">yes</attribute>
    </item>
  </menu>


  <menu id="mainwin-popup">
    <section>
      <item>
        <attribute name="label" translatable="yes">Re_name Page</attribute>
        <attribute name="action">mainwin.ActionsRenamePageAction</attribute>
        <attribute name="tooltip" translatable="yes">Rename this page</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">_Enter</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.RecordEntryAction</attribute>
        <attribute name="tooltip" translatable="yes">Record the current entry</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Cancel</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.CancelEntryAction</attribute>
        <attribute name="tooltip" translatable="yes">Cancel the current entry</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Delete</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.DeleteEntryAction</attribute>
        <attribute name="tooltip" translatable="yes">Delete the current entry</attribute>
      </item>
    </section>
    <section>
      <item>
        <attribute name="label" translatable="yes">Dup_licate Entry</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.DuplicateEntryAction</attribute>
        <attribute name="tooltip" translatable="yes">Make a copy of the current entry</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Move Entry _Up</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.EntryUpAction</attribute>
        <attribute name="tooltip" translatable="yes">Move the current entry one row upwards</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">Move Entry Do_wn</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.EntryDownAction</attribute>
        <attribute name="tooltip" translatable="yes">Move the current entry one row downwards</attribute>
      </item>
      <item>
        <attribute name="label" translatable="yes">_Blank</attribute>
        <attribute name="action">GncPluginPageInvoiceActions.BlankEntryAction</attribute>
        <attribute name="tooltip" translatable="yes">Move to the blank entry at the bottom of the Invoice</attribute>
      </item>
    </section>
  </menu>


  <object class="GtkToolbar" id="mainwin-toolbar">
    <property name="visible">True</property>
    <property name="can-focus">False</property>
    <child>
      <object class="GtkToolButton" id="but1">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Save</property>
        <property name="action-name">gnc-plugin-basic-commands-actions.FileSaveAction</property>
        <property name="tooltip-text" translatable="yes">Save the current file</property>
        <property name="use-underline">True</property>
        <property name="icon-name">document-save</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but2">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Print Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.FilePrintAction</property>
        <property name="tooltip-text" translatable="yes">Make a printable invoice</property>
        <property name="use-underline">True</property>
        <property name="icon-name">document-print</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but3">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Close</property>
        <property name="action-name">mainwin.FileCloseAction</property>
        <property name="tooltip-text" translatable="yes">Close the currently active page</property>
        <property name="use-underline">True</property>
        <property name="icon-name">window-close</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkSeparatorToolItem">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but4">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">New _Invoice…</property>
        <property name="action-name">gnc-plugin-business-actions.ToolbarNewInvoiceAction</property>
        <property name="tooltip-text" translatable="yes">Open the New Invoice dialog</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-new</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkSeparatorToolItem" id="extra_separator">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but5">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">New _Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.BusinessNewInvoiceAction</property>
        <property name="tooltip-text" translatable="yes">Create a new invoice for the same owner as the current one</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-new</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but6">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Edit Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.EditEditInvoiceAction</property>
        <property name="tooltip-text" translatable="yes">Edit this invoice</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-edit</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but7">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Duplicate Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.EditDuplicateInvoiceAction</property>
        <property name="tooltip-text" translatable="yes">Create a new invoice as a duplicate of the current one</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-duplicate</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkSeparatorToolItem">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but8">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Enter</property>
        <property name="action-name">GncPluginPageInvoiceActions.RecordEntryAction</property>
        <property name="tooltip-text" translatable="yes">Record the current entry</property>
        <property name="use-underline">True</property>
        <property name="icon-name">list-add</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but9">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Cancel</property>
        <property name="action-name">GncPluginPageInvoiceActions.CancelEntryAction</property>
        <property name="tooltip-text" translatable="yes">Cancel the current entry</property>
        <property name="use-underline">True</property>
        <property name="icon-name">process-stop</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but10">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Delete</property>
        <property name="action-name">GncPluginPageInvoiceActions.DeleteEntryAction</property>
        <property name="tooltip-text" translatable="yes">Delete the current entry</property>
        <property name="use-underline">True</property>
        <property name="icon-name">edit-delete</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but11">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">Dup_licate Entry</property>
        <property name="action-name">GncPluginPageInvoiceActions.DuplicateEntryAction</property>
        <property name="tooltip-text" translatable="yes">Make a copy of the current entry</property>
        <property name="use-underline">True</property>
        <property name="icon-name">edit-copy</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but12">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">Move Entry _Up</property>
        <property name="action-name">GncPluginPageInvoiceActions.EntryUpAction</property>
        <property name="tooltip-text" translatable="yes">Move the current entry one row upwards</property>
        <property name="use-underline">True</property>
        <property name="icon-name">pan-up-symbolic</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but13">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">Move Entry Do_wn</property>
        <property name="action-name">GncPluginPageInvoiceActions.EntryDownAction</property>
        <property name="tooltip-text" translatable="yes">Move the current entry one row downwards</property>
        <property name="use-underline">True</property>
        <property name="icon-name">pan-down-symbolic</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but14">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Blank</property>
        <property name="action-name">GncPluginPageInvoiceActions.BlankEntryAction</property>
        <property name="tooltip-text" translatable="yes">Move to the blank entry at the bottom of the Invoice</property>
        <property name="use-underline">True</property>
        <property name="icon-name">go-jump</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkSeparatorToolItem">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but15">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Post Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.EditPostInvoiceAction</property>
        <property name="tooltip-text" translatable="yes">Post this invoice to your Chart of Accounts</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-post</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but16">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Unpost Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.EditUnpostInvoiceAction</property>
        <property name="tooltip-text" translatable="yes">Unpost this invoice and make it editable</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-unpost</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
    <child>
      <object class="GtkToolButton" id="but17">
        <property name="visible">True</property>
        <property name="can-focus">False</property>
        <property name="label" translatable="yes">_Pay Invoice</property>
        <property name="action-name">GncPluginPageInvoiceActions.ToolsProcessPaymentAction</property>
        <property name="tooltip-text" translatable="yes">Enter a payment for the owner of this invoice</property>
        <property name="use-underline">True</property>
        <property name="icon-name">gnc-invoice-pay</property>
      </object>
      <packing>
        <property name="expand">False</property>
        <property name="homogeneous">True</property>
      </packing>
    </child>
  </object>

</interface>

