Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 275285ac

Von Hans Peter Schlaepfer vor mehr als 5 Jahren hinzugefügt

  • ID 275285ac0ab1507ecd2bc13fb1bca2b257eff5aa
  • Vorgänger 21d8fd43
  • Nachfolger 055f536e

Neues kivitendo Design restliche Aenderungen in templates/webpages/*

Dateien gobd/* order_items_search/* parts_price_history/* payment_term/*
presenter/* price_information/* taxzones/* todo/* vk/* webdav/*

Unterschiede anzeigen:

templates/webpages/gobd/filter.html
[%- USE HTML %]
[%- USE T8 %]
[%- USE L %]
[%- USE LxERP %]
[% USE HTML %]
[% USE T8 %]
[% USE L %]
[% USE LxERP %]
<h1>[% title | html %]</h1>
[%- INCLUDE 'common/flash.html' %]
<form id='filter_form'>
<div class="wrapper">
[% INCLUDE 'common/flash.html' %]
<p>[% 'This export will include all records in the given time range and all supplicant information from checked entities. You will receive a single zip file. Please extract this file onto the data medium requested by your auditor.' | $T8 %]</p>
<form id='filter_form'>
<table>
<tr>
<td>[% L.radio_button_tag('method', value='year', checked=1) %]
<td>[% 'Year' | $T8 %]</td>
<td>[% L.select_tag('year', SELF.available_years, default=current_year) %]</td>
</tr>
<tr>
<td>[% L.radio_button_tag('method') %]
<td>[% 'From Date' | $T8 %]</td>
<td>[% L.date_tag('from', SELF.from) %]</td>
<td>[% 'To Date' | $T8 %]</td>
<td>[% L.date_tag('to', SELF.to) %]</td>
</tr>
<table class="tbl-horizontal">
<tbody>
<tr>
<th>[% 'Year' | $T8 %]</th>
<td>[% L.radio_button_tag('method', value='year', checked=1) %]
<td>[% L.select_tag('year', SELF.available_years, default=current_year) %]</td>
</tr>
<tr>
<th>[% 'Period' | $T8 %]</th>
<td>[% L.radio_button_tag('method') %]
<!-- <td>[% 'From Date' | $T8 %]</td> -->
<td>[% L.date_tag('from', SELF.from) %] [% 'To Date' | $T8 %] [% L.date_tag('to', SELF.to) %]</td>
</tr>
</tbody>
</table>
</div>
</form>
templates/webpages/order_items_search/_order_item_list.html
[%- USE LxERP %]
[%- USE T8 %]
[%- USE L %]
[%- USE HTML %]
[%- USE P %]
[% USE LxERP %]
[% USE T8 %]
[% USE L %]
[% USE HTML %]
[% USE P %]
[% SET qty_round = 2 %]
<table cellpadding="3px">
<tr class="listheading">
<th>[%- LxERP.t8("Part") %]</th>
<th>[%- LxERP.t8("Customer") %]</th>
<th>[%- LxERP.t8("Order") %]</th>
<th>[%- LxERP.t8("Order Date") %]</th>
<th>[%- LxERP.t8("Qty") %]</th>
<th>[%- LxERP.t8("Delivered") %]</th>
<th>[%- LxERP.t8("Price") %]</th>
<th>[%- LxERP.t8("Discount") %] %</th>
<th>[%- LxERP.t8("Delivery Order") %]</th>
[% IF FORM.show_images %]
<th>[%- LxERP.t8("Image") %]</th>
[% END %]
</tr>
[% FOREACH order_item = SELF.orderitems %]
<tr id="tr_[% loop.count %]" class="listrow[% loop.count % 2 %]">
<td> [% order_item.part.presenter.part(no_link => 0) %]</td>
<td> [% order_item.order.customer.presenter.customer(no_link => 0) %]</td>
<td class="numeric"> [% order_item.order.presenter.sales_order(no_link => 0) %]</td>
<td> [% order_item.order.transdate.to_kivitendo %]</td>
<td class="numeric [% IF order_item.delivered_qty == order_item.qty %]shipped[% ELSE %]not_shipped[% END %]">
[% LxERP.format_amount(order_item.qty, qty_round) %] [% order_item.unit | html %]
</td>
<td class="numeric"> [% LxERP.format_amount(order_item.delivered_qty, qty_round) %] [% order_item.unit | html %] </td>
<td class="numeric"> [% order_item.sellprice_as_number %]</td>
<td class="numeric"> [% order_item.discount_as_percent %]</td>
<td> [% order_item.deliveryorders %]</td>
[% IF FORM.show_images %]
<td> [% IF order_item.part.image %]<a href="[% order_item.part.image | html %]" target="_blank"><img height="32" border="0" src="[% order_item.part.image | html %]"/></a>[% END %]</td>
[% END %]
</tr>
[% END %]
<table class="tbl-list wi-moderate">
<thead>
<tr>
<th>[% LxERP.t8("Part") %]</th>
<th>[% LxERP.t8("Customer") %]</th>
<th class="right">[% LxERP.t8("Order") %]</th>
<th>[% LxERP.t8("Order Date") %]</th>
<th class="right" colspan="2">[% LxERP.t8("Qty") ; "/" ;LxERP.t8("Unit") %]</th>
<th class="right" colspan="2">[% LxERP.t8("Delivered") ; "/" ;LxERP.t8("Unit") %]</th>
<th class="right">[% LxERP.t8("Price") %]</th>
<th class="right">[% LxERP.t8("Discount") %]%</th>
<th>[% LxERP.t8("Delivery Order") %]</th>
[% IF FORM.show_images %]
<th>[% LxERP.t8("Image") %]</th>
[% END %]
</tr>
</thead>
<tbody>
[% FOREACH order_item = SELF.orderitems %]
<tr id="tr_[% loop.count %]">
<td>[% order_item.part.presenter.part(no_link => 0) %]</td>
<td>[% order_item.order.customer.presenter.customer(no_link => 0) %]</td>
<td class="numeric">[% order_item.order.presenter.sales_order(no_link => 0) %]</td>
<td>[% order_item.order.transdate.to_kivitendo %]</td>
<td class="numeric[% IF order_item.delivered_qty == order_item.qty %] plus[% ELSE %] minus[% END %]">
[% LxERP.format_amount(order_item.qty, qty_round) %]
</td>
<td>[% order_item.unit | html %]</td>
<td class="numeric">[% LxERP.format_amount(order_item.delivered_qty, qty_round) %]</td>
<td>[% order_item.unit | html %]</td>
<td class="numeric">[% order_item.sellprice_as_number %]</td>
<td class="numeric">[% order_item.discount_as_percent %]</td>
<td>[% order_item.deliveryorders %]</td>
[% IF FORM.show_images %]
<td>[% IF order_item.part.image %]<a href="[% order_item.part.image | html %]" target="_blank"><img height="32" src="[% order_item.part.image | html %]"/></a>[% END %]</td>
[% END %]
</tr>
[% END %]
</tbody>
</table>
templates/webpages/order_items_search/order_items.html
[% USE HTML %]
[%- USE LxERP %]
[%- USE T8 %]
[%- USE L %]
[%- USE P %]
[% SET size=50 %]
[% USE LxERP %]
[% USE T8 %]
[% USE L %]
[% USE P %]
[% SET show_images=0 %]
<h1>[% title %]</h1>
<div style="padding-bottom: 15px">
[% 'Filter' | $T8 %]:
<div class="wrapper">
<form id="filter" name="filter" method="post" action="controller.pl">
<table>
</tr>
<td>[% 'Customer' | $T8 %]</td>
<td>[% P.customer_vendor.picker('filter.order.customer.id', FORM.customer_id, type='customer', class="filter", size=size) %]</td>
</tr>
<tr>
<td>[% 'Part' | $T8 %]</td>
<td>[% L.input_tag('filter.part.all:substr:multi::ilike', FORM.part, size = size, class="filter") %]</td>
</tr>
<tr>
<td>[% 'Order Number' | $T8 %]</td>
<td>[% L.input_tag('filter.order.ordnumber:substr::ilike', FORM.ordnumber, size = 10, class="filter") %]</td>
<tr>
<tr>
<td>[% 'Order Date' | $T8 %]</td>
<td>[% 'From' | $T8 %] [% L.date_tag("filter.order.transdate:date::ge", filter.order.transdate_date___ge, class="filter") %] [% 'Until' | $T8 %] [% L.date_tag('filter.order.transdate:date::le', filter.order.transdate_date__le, class="filter") %]</td>
<tr>
<tr>
<td>[% 'Description' | $T8 %]</td>
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, size = size, class="filter") %]</td>
</tr>
<tr>
<td>[% 'Long Description' | $T8 %]</td>
<td>[% L.input_tag('filter.longdescription:substr::ilike', filter.longdescription_substr__ilike, size = size, class="filter") %] </tr>
<tr>
<td>[% 'Show images' | $T8 %]</td>
<td>[% L.checkbox_tag('show_images', checked=show_images) %] </tr>
</tr>
</table>
[% L.button_tag("this.form.reset(); refresh_plot();", LxERP.t8("Reset")) %]
[% BLOCK filter_toggle_panel %]
<table class="tbl-horizontal text">
<tbody>
<tr>
<th>[% 'Customer' | $T8 %]</th>
<td class="wi-lightwide">[% P.customer_vendor.picker('filter.order.customer.id', FORM.customer_id, type='customer', class='filter wi-lightwide') %]</td>
</tr>
<tr>
<th>[% 'Part' | $T8 %]</th>
<td>[% L.input_tag('filter.part.all:substr:multi::ilike', FORM.part, class="filter wi-lightwide") %]</td>
</tr>
<tr>
<th>[% 'Order Number' | $T8 %]</th>
<td>[% L.input_tag('filter.order.ordnumber:substr::ilike', FORM.ordnumber, class="filter wi-lightwide") %]</td>
</tr>
<tr>
<th>[% 'Order Date' | $T8 %]</th>
<td>
[% #'From' | $T8 %]
[% L.date_tag("filter.order.transdate:date::ge", filter.order.transdate_date___ge, class="filter wi-date") %]
[% 'Until' | $T8 %] [% L.date_tag('filter.order.transdate:date::le', filter.order.transdate_date__le, class="filter wi-date") %]
</td>
</tr>
<tr>
<th>[% 'Description' | $T8 %]</th>
<td>[% L.input_tag('filter.description:substr::ilike', filter.description_substr__ilike, class="filter wi-lightwide") %]</td>
</tr>
<tr>
<th>[% 'Long Description' | $T8 %]</th>
<td>[% L.input_tag('filter.longdescription:substr::ilike', filter.longdescription_substr__ilike, class="filter wi-lightwide") %] </td>
</tr>
<tr>
<th>[% 'Show images' | $T8 %]</th>
<td>[% L.checkbox_tag('show_images', checked=show_images) %] </td>
</tr>
</tbody>
</table>
<div class="buttons">
[% L.button_tag("this.form.reset(); refresh_plot();", LxERP.t8("Reset")) %]
</div>
[% END #filter_toggle_panel %]
<div class="wrapper">
[% #SET display_status = 'open' %]
[% INCLUDE 'common/toggle_panel.html' %]
</div><!-- /.wrapper -->
</form>
<div id="orderitems" style="padding-top: 20px">
[% PROCESS 'order_items_search/_order_item_list.html' %]
<div id="orderitems">
[% PROCESS 'order_items_search/_order_item_list.html' %]
</div>
</div><!-- /.wrapper -->
<script type="text/javascript">
$(function() {
templates/webpages/parts_price_history/report_bottom.html
<p align=right>[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %]</p>
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %]
templates/webpages/payment_term/form.html
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %][%- USE P -%]
<h1>[% FORM.title %]</h1>
<form method="post" action="controller.pl" id="form">
[%- INCLUDE 'common/flash.html' %]
<table>
<tr class="listheading">
<th></th>
<th>[% LxERP.t8("General settings") %]</th>
</tr>
<tr>
<td>[%- 'Description' | $T8 %]</td>
<td>
[% P.input_tag("payment_term.description", SELF.payment_term.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]
</td>
</tr>
<tr>
<td>[% LxERP.t8("Calculate due date automatically") %]</td>
<td>[% L.yes_no_tag("payment_term.auto_calculation", SELF.payment_term.auto_calculation, "data-auto-calculation-toggle"="1") %]</td>
</tr>
<tr>
<td>[%- 'Netto Terms' | $T8 %]</td>
<td>
[% L.input_tag("payment_term.terms_netto_as_number", SELF.payment_term.terms_netto_as_number, size="6", disabled=(SELF.payment_term.auto_calculation ? '' : 1)) %]
</td>
</tr>
<tr>
<td>[%- 'Skonto Terms' | $T8 %]</td>
<td>
<input name="payment_term.terms_skonto_as_number" value="[%- HTML.escape(SELF.payment_term.terms_skonto_as_number) %]" size="6">
</td>
</tr>
<tr>
<td>[%- 'Skonto' | $T8 %]</td>
<td>
<input name="payment_term.percent_skonto_as_percent" value="[%- HTML.escape(SELF.payment_term.percent_skonto_as_percent) %]" size="6">%
</td>
</tr>
<form method="post" action="controller.pl" id="form">
[%- INCLUDE 'common/flash.html' %]
<div class="wrapper">
<table class="tbl-horizontal">
<caption> [% LxERP.t8("General settings") %] </caption>
<colgroup><col class="wi-mediumsmall"><col></colgroup>
<tbody>
<tr>
<th> </th>
<th> </th>
</tr>
<tr>
<td> [%- 'Description' | $T8 %] </td>
<td> [% P.input_tag("payment_term.description", SELF.payment_term.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %] </td>
</tr>
<tr>
<td> [% LxERP.t8("Calculate due date automatically") %] </td>
<td> [% L.yes_no_tag("payment_term.auto_calculation", SELF.payment_term.auto_calculation, "data-auto-calculation-toggle"="1") %] </td>
</tr>
<tr>
<td> [%- 'Netto Terms' | $T8 %] </td>
<td> [% L.input_tag("payment_term.terms_netto_as_number", SELF.payment_term.terms_netto_as_number, size="6", disabled=(SELF.payment_term.auto_calculation ? '' : 1)) %] </td>
</tr>
<tr>
<td> [%- 'Skonto Terms' | $T8 %] </td>
<td>
<input type="text" name="payment_term.terms_skonto_as_number" value="[%- HTML.escape(SELF.payment_term.terms_skonto_as_number) %]" size="6">
</td>
</tr>
<tr>
<td> [%- 'Skonto' | $T8 %] </td>
<td>
<input type="text" name="payment_term.percent_skonto_as_percent" value="[%- HTML.escape(SELF.payment_term.percent_skonto_as_percent) %]" size="6">
% </td>
</tr>
[% IF SELF.payment_term.id %]
<tr>
<td> [% 'Obsolete' | $T8 %] </td>
<td> [% L.checkbox_tag('payment_term.obsolete', checked = SELF.payment_term.obsolete, for_submit=1) %] </td>
</tr>
[% END %]
</tbody>
</table>
<table class="tbl-horizontal">
<caption> [%- 'Long Description' | $T8 %] </caption>
<tbody>
<tr>
<th> [% LxERP.t8("Texts for quotations & orders") %] </th>
<td> [% P.input_tag("payment_term.description_long", SELF.payment_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for quotations & orders")) %] </td>
</tr>
<tr>
<th> [% LxERP.t8("Texts for invoices") %] </th>
<td> [% P.input_tag("payment_term.description_long_invoice", SELF.payment_term.description_long_invoice, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for invoices")) %] </td>
</tr>
[%- FOREACH language = SELF.languages %]
<tr><th class="caption" colspan="2">[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</th></tr>
<tr>
<th> [% LxERP.t8("Texts for quotations & orders") %] </th>
<td>
<input type="text" name="translation_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long', language, 1)) %]" size="60">
</td>
</tr>
<tr>
<th> [% LxERP.t8("Texts for invoices") %] </th>
<td>
<input type="text" name="translation_invoice_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long_invoice', language, 1)) %]" size="60">
</td>
</tr>
[%- END %]
</tbody>
</table>
[% P.hidden_tag("id", SELF.payment_term.id) %]
</div>
[% IF SELF.payment_term.id %]
<tr>
<td>[% 'Obsolete' | $T8 %]</td>
<td>[% L.checkbox_tag('payment_term.obsolete', checked = SELF.payment_term.obsolete, for_submit=1) %]</td>
</tr>
</tr>
[% END %]
<tr class="listheading">
<th></th>
<th>[% LxERP.t8("Texts for quotations & orders") %]</th>
<th>[% LxERP.t8("Texts for invoices") %]</th>
</tr>
<tr>
<td>[%- 'Long Description' | $T8 %]</td>
<td>
[% P.input_tag("payment_term.description_long", SELF.payment_term.description_long, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for quotations & orders")) %]
</td>
<td>
[% P.input_tag("payment_term.description_long_invoice", SELF.payment_term.description_long_invoice, size="60", "data-validate"="required", "data-title"=LxERP.t8("Long Description for invoices")) %]
</td>
</tr>
<div class="instructions">
<p>[% LxERP.t8("You can use the following strings in the long description and all translations. They will be replaced by their actual values by kivitendo before they're output.") %]</p>
[%- FOREACH language = SELF.languages %]
<table class="tbl-list-plain">
<thead>
<tr>
<td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td>
<td>
<input name="translation_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long', language, 1)) %]" size="60">
</td>
<td>
<input name="translation_invoice_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long_invoice', language, 1)) %]" size="60">
</td>
<th> [%- LxERP.t8('Field') %] </th>
<th> [%- LxERP.t8('Description') %] </th>
</tr>
[%- END %]
</table>
[% P.hidden_tag("id", SELF.payment_term.id) %]
<hr size="3" noshade>
</thead>
<tbody>
<tr>
<td> &lt;%netto_date%&gt; </td>
<td> [% LxERP.t8("Date the payment is due in full") %] </td>
</tr>
<tr>
<td> &lt;%skonto_date%&gt; </td>
<td> [% LxERP.t8("Date the payment is due with discount") %] </td>
</tr>
<tr>
<td> &lt;%skonto_amount%&gt; </td>
<td> [% LxERP.t8("The deductible amount") %] </td>
</tr>
<tr>
<td> &lt;%skonto_in_percent%&gt; </td>
<td> [% LxERP.t8("The discount in percent") %] </td>
</tr>
<tr>
<td> &lt;%total%&gt; </td>
<td> [% LxERP.t8("Amount payable") %] </td>
</tr>
<tr>
<td> &lt;%total_wo_skonto%&gt; </td>
<td> [% LxERP.t8("Amount payable less discount") %] </td>
</tr>
<tr>
<td> &lt;%invtotal%&gt; </td>
<td> [% LxERP.t8("Invoice total") %] </td>
</tr>
<tr>
<td> &lt;%invtotal_wo_skonto%&gt; </td>
<td> [% LxERP.t8("Invoice total less discount") %] </td>
</tr>
<tr>
<td> &lt;%currency%&gt; </td>
<td> [% LxERP.t8("The selected currency") %] </td>
</tr>
<tr>
<td> &lt;%terms_netto%&gt; </td>
<td> [% LxERP.t8("The number of days for full payment") %] </td>
</tr>
<tr>
<td> &lt;%bank%&gt; </td>
<td> [% LxERP.t8("Customer's/vendor's bank") %] </td>
</tr>
<tr>
<td> &lt;%bic%&gt; </td>
<td> [% LxERP.t8("Customer's/vendor's BIC") %] </td>
</tr>
<tr>
<td> &lt;%iban%&gt; </td>
<td> [% LxERP.t8("Customer's/vendor's IBAN") %] </td>
</tr>
<tr>
<td> &lt;%mandator_id%&gt; </td>
<td> [% LxERP.t8("Customer's SEPA mandator ID") %] </td>
</tr>
<tr>
<td> &lt;%mandate_date_of_signature%&gt; </td>
<td> [% LxERP.t8("Customer's Mandate Date of Signature") %] </td>
</tr>
<tr>
<td> &lt;%account_number%&gt; </td>
<td> [% LxERP.t8("Customer's/vendor's account number") %] </td>
</tr>
<tr>
<td> &lt;%bank_code%&gt; </td>
<td> [% LxERP.t8("Customer's/vendor's bank code") %] </td>
</tr>
</tbody>
</table>
<p>[% LxERP.t8("You can use the following strings in the long description and all translations. They will be replaced by their actual values by kivitendo before they're output.") %]</p>
</div>
<table>
<tr class="listheading"><th>[%- LxERP.t8('Field') %]</th><th>[%- LxERP.t8('Description') %]</th></tr>
<tr><td>&lt;%netto_date%&gt;</td><td>[% LxERP.t8("Date the payment is due in full") %]</td></tr>
<tr><td>&lt;%skonto_date%&gt;</td><td>[% LxERP.t8("Date the payment is due with discount") %]</td></tr>
<tr><td>&lt;%skonto_amount%&gt;</td><td>[% LxERP.t8("The deductible amount") %]</td></tr>
<tr><td>&lt;%skonto_in_percent%&gt;</td><td>[% LxERP.t8("The discount in percent") %]</td></tr>
<tr><td>&lt;%total%&gt;</td><td>[% LxERP.t8("Amount payable") %]</td></tr>
<tr><td>&lt;%total_wo_skonto%&gt;</td><td>[% LxERP.t8("Amount payable less discount") %]</td></tr>
<tr><td>&lt;%invtotal%&gt;</td><td>[% LxERP.t8("Invoice total") %]</td></tr>
<tr><td>&lt;%invtotal_wo_skonto%&gt;</td><td>[% LxERP.t8("Invoice total less discount") %]</td></tr>
<tr><td>&lt;%currency%&gt;</td><td>[% LxERP.t8("The selected currency") %]</td></tr>
<tr><td>&lt;%terms_netto%&gt;</td><td>[% LxERP.t8("The number of days for full payment") %]</td></tr>
<tr><td>&lt;%bank%&gt;</td><td>[% LxERP.t8("Customer's/vendor's bank") %]</td></tr>
<tr><td>&lt;%bic%&gt;</td><td>[% LxERP.t8("Customer's/vendor's BIC") %]</td></tr>
<tr><td>&lt;%iban%&gt;</td><td>[% LxERP.t8("Customer's/vendor's IBAN") %]</td></tr>
<tr><td>&lt;%mandator_id%&gt;</td><td>[% LxERP.t8("Customer's SEPA mandator ID") %]</td></tr>
<tr><td>&lt;%mandate_date_of_signature%&gt;</td><td>[% LxERP.t8("Customer's Mandate Date of Signature") %]</td></tr>
<tr><td>&lt;%account_number%&gt;</td><td>[% LxERP.t8("Customer's/vendor's account number") %]</td></tr>
<tr><td>&lt;%bank_code%&gt;</td><td>[% LxERP.t8("Customer's/vendor's bank code") %]</td></tr>
</table>
</form>
</form>
templates/webpages/payment_term/list.html
[% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
<h1>[% FORM.title %]</h1>
<h1>[% FORM.title %]</h1>
[%- INCLUDE 'common/flash.html' %]
<form method="post" action="controller.pl">
[% IF !PAYMENT_TERMS.size %]
<p>
<form method="post" action="controller.pl">
[% IF !PAYMENT_TERMS.size %]
<p>
[%- 'No payment term has been created yet.' | $T8 %]
</p>
</p>
[%- ELSE %]
<table id="payment_term_list">
<thead>
<tr class="listheading">
<th align="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
<th>[%- 'Description' | $T8 %]</th>
<th>[%- 'Long Description (quotations & orders)' | $T8 %]</th>
<th>[%- 'Long Description (invoices)' | $T8 %]</th>
<th>[% 'Automatic date calculation' | $T8 %]</th>
<th align="right">[%- 'Netto Terms' | $T8 %]</th>
<th align="right">[%- 'Skonto Terms' | $T8 %]</th>
<th align="right">[%- 'Skonto' | $T8 %]</th>
<th align="right">[%- 'Obsolete' | $T8 %]</th>
[%- ELSE %]
<div class="wrapper">
<table id="payment_term_list" class="tbl-list wi-moderate">
<colgroup>
<col class="wi-smallest">
<col class="wi-wide">
<col class="wi-wide">
<col class="wi-wide">
<col class="wi-small">
<col class="wi-small">
<col class="wi-small">
<col class="wi-verysmall">
<col class="wi-verysmall">
</colgroup>
<thead>
<tr>
<th> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </th>
<th> [%- 'Description' | $T8 %] </th>
<th> [%- 'Long Description (quotations & orders)' | $T8 %] </th>
<th> [%- 'Long Description (invoices)' | $T8 %] </th>
<th class="center"> [% 'Automatic date calculation' | $T8 %] </th>
<th class="center"> [%- 'Netto Terms' | $T8 %] </th>
<th class="center"> [%- 'Skonto Terms' | $T8 %] </th>
<th class="center"> [%- 'Skonto' | $T8 %] </th>
<th class="center"> [%- 'Obsolete' | $T8 %] </th>
</tr>
</thead>
<tbody>
[%- FOREACH payment_term = PAYMENT_TERMS %]
<tr class="listrow[% loop.count % 2 %]" id="payment_term_id_[% payment_term.id %]">
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
<td>
<a href="[% SELF.url_for(action => 'edit', id => payment_term.id) %]">
[%- HTML.escape(payment_term.description) %]
</a>
</td>
<td>[%- HTML.escape(payment_term.description_long) %]</td>
<td>[%- HTML.escape(payment_term.description_long_invoice) %]</td>
<td>[% IF payment_term.auto_calculation %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %]</td>
<td align="right">[%- HTML.escape(payment_term.terms_netto_as_number) %]</td>
<td align="right">[%- HTML.escape(payment_term.terms_skonto_as_number) %]</td>
<td align="right">[%- HTML.escape(payment_term.percent_skonto_as_percent) %] %</td>
<td align="right">[%- HTML.escape(payment_term.obsolete) %]</td>
</thead>
<tbody>
[%- FOREACH payment_term = PAYMENT_TERMS %]
<tr id="payment_term_id_[% payment_term.id %]">
<td class="dragdrop"> <img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"> </td>
<td> <a href="[% SELF.url_for(action => 'edit', id => payment_term.id) %]"> [%- HTML.escape(payment_term.description) %] </a> </td>
<td> [%- HTML.escape(payment_term.description_long) %] </td>
<td> [%- HTML.escape(payment_term.description_long_invoice) %] </td>
<td class="center"> [% IF payment_term.auto_calculation %][% LxERP.t8("yes") %][% ELSE %][% LxERP.t8("no") %][% END %] </td>
<td class="center"> [%- HTML.escape(payment_term.terms_netto_as_number) %] </td>
<td class="center"> [%- HTML.escape(payment_term.terms_skonto_as_number) %] </td>
<td class="center"> [%- HTML.escape(payment_term.percent_skonto_as_percent) %] % </td>
<td class="center"> [%- HTML.escape(payment_term.obsolete) %] </td>
</tr>
[%- END %]
</tbody>
</table>
[%- END %]
</form>
[%- END %]
</tbody>
</table>
</div>
[%- END %]
</form>
[% L.sortable_element('#payment_term_list tbody', url => 'controller.pl?action=PaymentTerm/reorder', with => 'payment_term_id') %]
templates/webpages/presenter/record/grouped_record_list.html
[%- USE LxERP -%][%- USE L -%][%- USE HTML -%][%- USE JavaScript -%]
<div id="record_links_list">
[%- IF output %]
[% output %]
[%- ELSE %]
<p class="message_hint">[% LxERP.t8('No data was found.') %]</p>
[%- END %]
[%- IF edit_record_links %]
<div>
[% L.button_tag('record_links_add()', LxERP.t8('Add links')) %]
[% IF output %]
[% L.button_tag('record_links_delete()', LxERP.t8('Delete links')) %]
[%- END %]
</div>
<script type="text/javascript">
<!--
function record_links_add() {
kivi.popup_dialog({ url: 'controller.pl',
data: { action: 'RecordLinks/ajax_add_filter',
object_model: '[% JavaScript.escape(object_model) %]',
object_id: '[% JavaScript.escape(object_id) %]'
},
id: 'record_links_add',
dialog: { title: kivi.t8("Add linked record") } });
return true;
}
function record_links_delete() {
var checkboxes = $('.record_links_delete').filter(function () { return $(this).prop('checked'); });
if ((checkboxes.size() == 0) || !confirm('[% LxERP.t8('Do you really want to delete the selected links?') %]'))
[% USE LxERP %]
[% USE L %]
[% USE HTML %]
[% USE JavaScript %]
<div id="record_links_list" class="wrapper">
[% IF output %]
[% output %]
[% ELSE %]
<p class="message message_hint">[% LxERP.t8('No data was found.') %]</p>
[% END %]
[% IF edit_record_links %]
<div class="buttons">
[% L.button_tag('record_links_add()', LxERP.t8('Add links')) %]
[% IF output %]
[% L.button_tag('record_links_delete()', LxERP.t8('Delete links')) %]
[% END %]
</div>
<script type="text/javascript"><!--
function record_links_add() {
kivi.popup_dialog({ url: 'controller.pl',
data: { action: 'RecordLinks/ajax_add_filter',
object_model: '[% JavaScript.escape(object_model) %]',
object_id: '[% JavaScript.escape(object_id) %]'
},
id: 'record_links_add',
dialog: { title: kivi.t8("Add linked record") } });
return true;
}
function record_links_delete() {
var checkboxes = $('.record_links_delete').filter(function () { return $(this).prop('checked'); });
if ((checkboxes.size() == 0) || !confirm('[% LxERP.t8('Do you really want to delete the selected links?') %]'))
return false;
var data = {
action: 'RecordLinks/ajax_delete',
object_model: '[% JavaScript.escape(object_model) %]',
object_id: '[% JavaScript.escape(object_id) %]'
};
$.ajax({
url: "controller.pl?" + checkboxes.serialize(),
data: data,
success: function(new_data) { $('#record_links_list').replaceWith(new_data); }
});
return false;
}
var data = {
action: 'RecordLinks/ajax_delete',
object_model: '[% JavaScript.escape(object_model) %]',
object_id: '[% JavaScript.escape(object_id) %]'
};
$.ajax({
url: "controller.pl?" + checkboxes.serialize(),
data: data,
success: function(new_data) { $('#record_links_list').replaceWith(new_data); }
});
return false;
}
-->
</script>
[%- END %]
</div>
--></script>
[% END %]
</div><!-- /#record_links_list /.wrapper -->
templates/webpages/presenter/record/record_list.html
[% USE L %][% USE LxERP %][%- USE P -%]
<h1>[%- P.escape(title) %]</h1>
[% USE L %]
[% USE LxERP %]
[% USE P %]
<div style="padding-bottom: 15px">
<table style="width: 100%" id="record_list_[% type %]">
<thead>
<tr>
[%- IF edit_record_links %]
<th class="listheading">[% L.checkbox_tag('record_links_delete_checkall_' _ type) %]</th>
[%- END %]
[%- FOREACH column = TABLE_HEADER %]
<th class="listheading"[% IF column.alignment %] align="[% column.alignment %]"[% END %]>[%- P.escape(column.value) %]</th>
[%- END %]
</tr>
</thead>
<tbody>
[%- FOREACH row = TABLE_ROWS %]
<tr class="listrow[% loop.count % 2 %]">
[%- IF edit_record_links %]
<td>[%- L.checkbox_tag('record_links_delete[]', 'value'=row.record_link.from_table _ '__' _ row.record_link.from_id _ '__' _ row.record_link.to_table _ '__' _ row.record_link.to_id, 'class'='record_links_delete') %]</td>
[%- END %]
[%- FOREACH column = row.columns %]
<td[% IF column.alignment %] align="[% column.alignment %]"[% END %]>
[%- IF column.link %]<a href="[% column.link %]">[%- END %]
[%- P.escape(column.value) %]
[%- IF column.link %]</a>[%- END %]
</td>
[%- END %]
</tr>
[%- END %]
</tbody>
</table>
<div class="wrapper">
<table class="tbl-list wi-moderate" id="record_list_[% type %]">
<caption>[% P.escape(title) %]</caption>
<thead>
<tr>
[% IF edit_record_links %]
<th>[% L.checkbox_tag('record_links_delete_checkall_' _ type) %]</th>
[% END %]
[% FOREACH column = TABLE_HEADER %]
<th[% IF column.alignment %] class="[% column.alignment %]"[% END %]>[% P.escape(column.value) %]</th>
[% END %]
</tr>
</thead>
<tbody>
[% FOREACH row = TABLE_ROWS %]
<tr class="listrow[% loop.count % 2 %]">
[% IF edit_record_links %]
<td>[% L.checkbox_tag('record_links_delete[]', 'value'=row.record_link.from_table _ '__' _ row.record_link.from_id _ '__' _ row.record_link.to_table _ '__' _ row.record_link.to_id, 'class'='record_links_delete') %]</td>
[% END %]
[% FOREACH column = row.columns %]
<td[% IF column.alignment %] class="[% column.alignment %]"[% END %]>
[% IF column.link %]<a href="[% column.link %]">[% END %]
[% P.escape(column.value) %]
[% IF column.link %]</a>[% END %]
</td>
[% END %]
</tr>
[% END %]
</tbody>
</table>
</div>
[% IF edit_record_links %]
<script type="text/javascript">
$('#record_links_delete_checkall_[% type %]').checkall("#record_list_[% type %] tbody :checkbox");
</script>
[%- END %]
<script type="text/javascript">
$('#record_links_delete_checkall_[% type %]').checkall("#record_list_[% type %] tbody :checkbox");
</script>
[% END %]
templates/webpages/price_information/report_bottom.html
<p align=right>[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %]</p>
[% PROCESS 'common/paginate.html' pages=SELF.pages, base_url=SELF.self_url %]
templates/webpages/taxzones/form.html
[%- USE HTML -%][%- USE LxERP -%][%- USE L -%][%- USE P -%][%- USE T8 -%]<h1>[% HTML.escape(title) %]</h1>
[% SET style="width: 400px" %]
[% USE HTML %]
[% USE LxERP %]
[% USE L %]
[% USE P %]
[% USE T8 %]
<h1>[% HTML.escape(title) %]</h1>
<form action="controller.pl" method="post" id="form">
[%- L.hidden_tag("id", SELF.config.id) %]
[% L.hidden_tag("id", SELF.config.id) %]
<div class="wrapper">
<table>
<tr>
<th align="right">[% 'Description' | $T8 %]</th>
<td>[%- L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
</tr>
[%- FOREACH bg = BUCHUNGSGRUPPEN %]
<tr>
<th align="right">[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %]</th>
[%- IF NOT SELF.config.id %]
<td>[% P.chart.picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %]</td>
[%- ELSIF SELF.config.id AND SELF.config.orphaned %]
<td>[% P.chart.picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', style=style) %]</td>
[%- ELSE %]
<td>[% CHARTLIST.${bg.id}.income_accno_description %]</td>
[%- END %]
</tr>
<tr>
<th align="right">[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %]</th>
[%- IF NOT SELF.config.id %]
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %]</td>
[%- ELSIF SELF.config.id AND SELF.config.orphaned %]
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', style=style) %]</td>
[%- ELSE %]
<td>[% CHARTLIST.${bg.id}.expense_accno_description %]</td>
[%- END %]
</tr>
[%- END %]
<table class="tbl-horizontal">
<tbody>
<tr>
<th>[% 'Description' | $T8 %]</th>
<td>[% L.input_tag("config.description", SELF.config.description, "data-validate"="required", "data-title"=LxERP.t8("Description")) %]</td>
</tr>
[% FOREACH bg = BUCHUNGSGRUPPEN %]
<tr>
<th>[% 'Revenue' | $T8 %] [% HTML.escape(bg.description) %]</th>
[% IF NOT SELF.config.id %]
<td>[% P.chart.picker('income_accno_id_' _ bg.id, SELF.defaults.income_accno_id, choose=1, type='IC_income,IC_sale', class='wi-wide') %]</td>
[% ELSIF SELF.config.id AND SELF.config.orphaned %]
<td>[% P.chart.picker('income_accno_id_' _ bg.id, CHARTLIST.${bg.id}.income_accno_id, choose=1, type='IC_income,IC_sale', class='wi-wide') %]</td>
[% ELSE %]
<td>[% CHARTLIST.${bg.id}.income_accno_description %]</td>
[% END %]
</tr>
<tr>
<th>[% 'Expense' | $T8 %] [% HTML.escape(bg.description) %]</th>
[% IF NOT SELF.config.id %]
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, SELF.defaults.expense_accno_id, choose=1, type='IC_expense,IC_cogs', class='wi-wide') %]</td>
[% ELSIF SELF.config.id AND SELF.config.orphaned %]
<td>[% P.chart.picker('expense_accno_id_' _ bg.id, CHARTLIST.${bg.id}.expense_accno_id, choose=1, type='IC_expense,IC_cogs', class='wi-wide') %]</td>
[% ELSE %]
<td>[% CHARTLIST.${bg.id}.expense_accno_description %]</td>
[% END %]
</tr>
[% END %]
<tr>
<th><i>[% LxERP.t8('Obsolete') %]</i></th>
<td>[% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]</td>
</tr>
</tbody>
</table>
[% LxERP.t8('Obsolete') %]: [% L.checkbox_tag('config.obsolete', checked = SELF.config.obsolete, for_submit=1) %]
</div><!-- /.wrapper -->
</form>
templates/webpages/taxzones/list.html
<h1>[% title %]</h1>
<p>
<table width="100%" id="taxzone_list">
<div class="wrapper">
<table class="tbl-list" id="taxzone_list">
<thead>
<tr class="listheading">
<th align="center" width="1%"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
<th>[% 'Description' | $T8 %]</th>
</tr>
<tr>
<th class="center"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></th>
<th>[% 'Description' | $T8 %]</th>
</tr>
</thead>
<tbody>
[%- FOREACH tz = TAXZONES %]
<tr class="listrow" id="tzone_id_[% tz.id %]">
<td align="center" class="dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
<td><a href="[% SELF.url_for(action='edit', id=tz.id) %]">[% HTML.escape(tz.description) %]</a></td>
[%- FOREACH tz = TAXZONES %]
<tr id="tzone_id_[% tz.id %]">
<td class="center dragdrop"><img src="image/updown.png" alt="[%- LxERP.t8('reorder item') %]"></td>
<td><a href="[% SELF.url_for(action='edit', id=tz.id) %]">[% HTML.escape(tz.description) %]</a></td>
</tr>
[%- END %]
[%- END %]
</tbody>
</table>
</p>
</table>
[% L.sortable_element('#taxzone_list tbody', url=SELF.url_for(action='reorder'), with='tzone_id') %]
</div>
templates/webpages/todo/show_todo_list.html
[%- USE T8 %]
[%- USE HTML %]
<h1>[% 'Your TODO list' | $T8 %]</h1>
[%- IF !todo_list %]
<p>
[% 'There are no items on your TODO list at the moment.' | $T8 %]
</p>
[%- ELSE %]
[% USE T8 %]
[% USE HTML %]
[%- todo_list %]
[%- END %]
<h1>[% 'Your TODO list' | $T8 %]</h1>
[% IF !todo_list %]
<p>[% 'There are no items on your TODO list at the moment.' | $T8 %]</p>
[% ELSE %]
[% todo_list %]
[% END %]
templates/webpages/vk/search_invoice.html
[%- USE T8 %][%- USE L %][%- USE P -%]
[%- SET style="width: 250px" %]
[% USE T8 %]
[% USE L %]
[% USE P %]
[% SET style="width: 250px" %]
<h1>[% title %]</h1>
<form method=post name="search_invoice" action=[% script %]>
<input type="hidden" name="sort" value="transdate">
<input type=hidden name=nextsub value=[% nextsub %]>
<div class="wrapper">
<input type="hidden" name="sort" value="transdate">
<input type=hidden name=nextsub value=[% nextsub %]>
<table>
<div class="col">
<table class="tbl-horizontal">
<caption>[% 'Sorting' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-small"><col class="wi-mediumsmall"> </colgroup>
<tbody>
<tr>
<td align="right">[% 'Main sorting' | $T8 %]</td>
<th>[% 'Main sorting' | $T8 %]</th>
<td>
<select name="mainsort" id="mainsort">
<option value="description">[% 'Part' | $T8 %]</option>
......
<option value="month">[% 'Month' | $T8 %]</option>
</select>
</td>
<td align=left><input name="l_headers_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
<td align=left><input name="l_subtotal_mainsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
<td>
<input name="l_headers_mainsort" id="l_headers_mainsort" type=checkbox value=Y checked><label for="l_headers_mainsort">[% 'Heading' | $T8 %]</label><br>
<input name="l_subtotal_mainsort" id="l_subtotal_mainsort" type=checkbox value=Y checked><label for="l_subtotal_mainsort">[% 'Subtotal' | $T8 %]</label>
</td>
</tr>
<tr>
<td align="right">[% 'Secondary sorting' | $T8 %]</td>
<th>[% 'Secondary sorting' | $T8 %]</th>
<td>
<select name="subsort" id="subsort">
<option value="description">[% 'Part' | $T8 %]</option>
......
<option value="month" selected="selected">[% 'Month' | $T8 %]</option>
</select>
</td>
<td align=left><input name="l_headers_subsort" class=checkbox type=checkbox value=Y checked> [% 'Heading' | $T8 %]</td>
<td align=left><input name="l_subtotal_subsort" class=checkbox type=checkbox value=Y checked> [% 'Subtotal' | $T8 %]</td>
<td>
<input name="l_headers_subsort" id="l_headers_subsort" type=checkbox value=Y checked><label for="l_headers_subsort">[% 'Heading' | $T8 %]</label><br>
<input name="l_subtotal_subsort" id="l_subtotal_subsort" type=checkbox value=Y checked><label for="l_subtotal_subsort">[% 'Subtotal' | $T8 %]</label>
</td>
</tr>
</tbody>
</table>
<table class="tbl-horizontal">
<caption>[% 'Item & Sums' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
<tbody>
<tr>
<th align="right">[% 'Item mode' | $T8 %]</th>
<td colspan="3" align=left><input name="l_parts" class=checkbox type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %]) </td>
<th>[% 'Item mode' | $T8 %]</th>
<td><input name="l_parts" type=checkbox value=Y> ([%'Show items from invoices individually' | $T8 %])</td>
</tr>
<tr>
<th align="right">[% 'Total sum' | $T8 %]</th>
<td colspan="1" align=left><input name="l_total" class=checkbox type=checkbox value=Y checked></td>
<td align="right" nowrap>[% 'Decimalplaces' | $T8 %]: </td>
<td colspan="2"><input name="decimalplaces" size="2" value="2"></td>
<th>[% 'Total sum' | $T8 %]</th>
<td><input name="l_total" type=checkbox value=Y checked> [% 'Decimalplaces' | $T8 %]: <input type="text" name="decimalplaces" size="2" value="2"></td>
</tr>
</tbody>
</table>
<table class="tbl-horizontal">
<caption>[% 'Parts' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
<tbody>
<tr>
<td></td>
<td colspan="7">
<hr size="1" noshade="">
</td>
<th>[% 'Part Number' | $T8 %]</th>
<td>[% P.input_tag("partnumber", "", class='wi-small') %]</td>
</tr>
<tr>
<th>[% 'Part Description' | $T8 %]</th>
<td>[% P.input_tag("description", "", class='wi-wide') %]</td>
</tr>
<tr>
<th align=right>[% 'Customer' | $T8 %]</th>
<td>[% P.input_tag("customer", "", class="initial_focus", style=style) %]</td>
<th align="right" nowrap>[% 'Customer Number' | $T8 %]</th>
<td>[% P.input_tag("customernumber", "", style=style) %]</td>
<th>[% 'Partsgroup' | $T8 %]</th>
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, class='wi-wide') %]</td>
</tr>
</tbody>
</table>
<table class="tbl-horizontal">
<caption>[% 'Invoices' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-wide"> </colgroup>
<tbody>
<tr>
<th align=right nowrap>[% 'Department' | $T8 %]</th>
<td>
[%- L.select_tag('department_id',
ALL_DEPARTMENTS,
title_key = 'description',
with_empty = 1,
style = style)
-%]
</td>
<th align="right">[% 'Project Number' | $T8 %]</th>
<td>[% P.project.picker("project_id", "", style=style) %]</td>
<th>[% 'Invoice Date' | $T8 %]</th>
<td><span class="wi-date">
[% #'From' | $T8 %]
[% L.date_tag('transdatefrom') %]
[% 'Bis' | $T8 %]
[% L.date_tag('transdateto') %]
</span></td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
<div class="col">
<table class="tbl-horizontal">
<caption>[% 'Customers' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
<tbody>
<tr>
<th align="right" nowrap>[% 'Part Number' | $T8 %]</th>
<td>[% P.input_tag("partnumber", "", style=style) %]</td>
<th>[% 'Customer' | $T8 %]</th>
<td>[% P.input_tag( "customer", "", class="initial_focus", class='wi-wide' ) %]</td>
</tr>
<tr>
<th align="right" nowrap>[% 'Part Description' | $T8 %]</th>
<td>[% P.input_tag("description", "", style=style) %]</td>
<th>[% 'Customer Number' | $T8 %]</th>
<td>[% P.input_tag( "customernumber", "", class='wi-small' ) %]</td>
</tr>
<tr>
<th align="right">[% 'Partsgroup' | $T8 %]</th>
<td>[% P.select_tag("partsgroup_id", ALL_PARTSGROUPS, title_key="partsgroup", with_empty=1, style=style) %]</td>
<td align="right" nowrap>[% 'Country' | $T8 %]</td>
<td>[% P.input_tag("country", "", style=style) %]</td>
<th>[% 'Customer type' | $T8 %]</th>
<td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, class='wi-wide') %]</td>
</tr>
</tbody>
</table>
<table class="tbl-horizontal">
<caption>[% 'Handling' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
<tbody>
<tr>
<th align="right">[% 'Employee' | $T8 %]</th>
<td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td>
<th align="right">[% 'Salesman' | $T8 %]</th>
<td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, style=style) %]</td>
<th>[% 'Employee' | $T8 %]</th>
<td>[% L.select_tag("employee_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
</tr>
<tr>
<th align="right">[% 'Customer type' | $T8 %]</th>
<td>[% L.select_tag("business_id", ALL_BUSINESS_TYPES, title_key="description", with_empty=1, style=style) %]</td>
<th>[% 'Salesman' | $T8 %]</th>
<td>[% L.select_tag("salesman_id", ALL_EMPLOYEES, title_key="safe_name", with_empty=1, class='wi-wide') %]</td>
</tr>
<tr>
<th align=right nowrap>[% 'Invoice Date' | $T8 %] [% 'From' | $T8 %]</th>
<td>
[% L.date_tag('transdatefrom') %]
[% 'Bis' | $T8 %]
[% L.date_tag('transdateto') %]
</td>
<th>[% 'Department' | $T8 %]</th>
<td>[% L.select_tag( 'department_id', ALL_DEPARTMENTS, title_key='description', with_empty = 1, class='wi-wide' ) %]</td>
</tr>
<tr>
<td></td>
<th colspan="4" align="left">
[% 'Filter for customer variables' | $T8 %]
</th>
<th>[% 'Project Number' | $T8 %]</th>
<td>[% P.project.picker("project_id", "", class='wi-small') %]</td>
</tr>
[% CUSTOM_VARIABLES_FILTER_CODE_CT %]
<tr>
<th>[% 'Country' | $T8 %]</th>
<td>[% P.input_tag("country", "", class='wi-wide') %]</td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
<div class="col">
<table class="tbl-horizontal">
<caption>[% 'Filter for customer variables' | $T8 %]</caption>
<colgroup> <col class="wi-small"><col class="wi-lightwide"> </colgroup>
<tbody>
[% CUSTOM_VARIABLES_FILTER_CODE_CT %]
<tr>
<td></td>
<th colspan="4" align="left">
[% 'Filter for item variables' | $T8 %]
</th>
<th class="caption" colspan="2">[% 'Filter for item variables' | $T8 %]</th>
</tr>
[% CUSTOM_VARIABLES_FILTER_CODE_IC %]
</tbody>
</table>
</div>
</div><!-- /.wrapper -->
<div class="buttons">
<input type=submit name=action value="[% 'Continue' | $T8 %]">
</div>
<div class="wrapper form-addition control-panel">
<h3>[% 'Include in Report' | $T8 %]</h3>
<table class="tbl-plain clear">
<colgroup><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-mediumsmall"><col class="wi-verywide"></colgroup>
<tbody>
<tr>
<th colspan="4"><h4>[% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):</h4></th>
</tr>
<tr>
<td><input name="l_sellprice_total" id="l_sellprice_total" type=checkbox value=Y checked><label for="l_sellprice_total">[% 'Sales price total' | $T8 %]</label></td>
<td><input name="l_lastcost_total" id="l_lastcost_total" type=checkbox value=Y checked><label for="l_lastcost_total">[% 'Purchase price total' | $T8 %]</label></td>
<td><input name="l_marge_total" id="l_marge_total" type=checkbox value=Y checked><label for="l_marge_total">[% 'Margetotal' | $T8 %]</label></td>
<td class="long-desc">([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])</td>
</tr>
<tr>
<td><input name="l_sellprice" id="l_sellprice" type=checkbox value=Y checked><label for="l_sellprice">[% 'Sales price' | $T8 %]</label></td>
<td><input name="l_lastcost" id="l_lastcost" type=checkbox value=Y checked><label for="l_lastcost">[% 'Purchase price' | $T8 %]</label></td>
<td><input name="l_marge_percent" id="l_marge_percent" type=checkbox value=Y checked><label for="l_marge_percent">[% 'Margepercent' | $T8 %]</label></td>
<td class="long-desc">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
</tr>
<tr>
<td><input name="l_qty" id="l_qty" type=checkbox value=Y checked><label for="l_qty">[% 'Quantity' | $T8 %]</label></td>
<td><input name="l_discount" id="l_discount" type=checkbox value=Y><label for="l_discount">[% 'Discount' | $T8 %]</label></td>
<td></td>
<td colspan="7">
<hr size="1" noshade="">
</td>
<td class="long-desc">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
</tr>
<tr>
<td><input name="l_weight" id="l_weight" type=checkbox value=Y><label for="l_weight">[% 'Weight' | $T8 %]</label></td>
<td></td>
<td></td>
<td></td>
</tr>
<tr>
<th align=right nowrap>[% 'Include in Report' | $T8 %]</th>
<td colspan="3">
<table>
<tr>
<td colspan="4">
[% 'Cumulated or averaged values' | $T8 %] ([% 'invoice mode or item mode' | $T8 %]):
</td>
</tr>
<tr>
<td align=left><input name="l_sellprice_total" class=checkbox type=checkbox value=Y checked>[% 'Sales price total' | $T8 %]</td>
<td align=left><input name="l_lastcost_total" class=checkbox type=checkbox value=Y checked>[% 'Purchase price total' | $T8 %]</td>
<td align=left><input name="l_marge_total" class=checkbox type=checkbox value=Y checked>[% 'Margetotal' | $T8 %]</td>
<td colspan="4"> ([% 'Single values in item mode, cumulated values in invoice mode' | $T8 %])
</tr>
<tr>
<td align=left><input name="l_sellprice" class=checkbox type=checkbox value=Y checked>[% 'Sales price' | $T8 %]</td>
<td align=left><input name="l_lastcost" class=checkbox type=checkbox value=Y checked>[% 'Purchase price' | $T8 %]</td>
<td align=left><input name="l_marge_percent" class=checkbox type=checkbox value=Y checked>[% 'Margepercent' | $T8 %]</td>
<td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
</tr>
<tr>
<td align=left><input name="l_qty" class=checkbox type=checkbox value=Y checked>[% 'Quantity' | $T8 %]</td>
<td align=left><input name="l_discount" class=checkbox type=checkbox value=Y>[% 'Discount' | $T8 %]</td>
<td></td>
<td colspan="4">([% 'averaged values, in invoice mode only useful when filtered by a part' | $T8 %])</td>
</tr>
<tr>
<td align=left><input name="l_weight" class=checkbox type=checkbox value=Y>[% 'Weight' | $T8 %]</td>
</tr>
<tr>
<td colspan="7">&nbsp;</td>
</tr>
<tr>
<td colspan="4" align="left">
[% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
</td>
</tr>
<tr>
<td align=left><input name="l_description" class=checkbox type=checkbox value=Y checked>[% 'Description' | $T8 %]</td>
<td align=left><input name="l_partnumber" class=checkbox type=checkbox value=Y>[% 'Part Number' | $T8 %]</td>
<td align=left><input name="l_invnumber" class=checkbox type=checkbox value=Y>[% 'Invnumber' | $T8 %]</td>
<td align=left><input name="l_transdate" class=checkbox type=checkbox value=Y>[% 'Invdate' | $T8 %]</td>
</tr>
<tr>
<td align=left><input name="l_parts_unit" class=checkbox type=checkbox value=Y>[% 'Base unit' | $T8 %]</td>
<td align=left><input name="l_partsgroup" class=checkbox type=checkbox value=Y>[% 'Partsgroup' | $T8 %]</td>
<td align=left><input name="l_salesman" class=checkbox type=checkbox value=Y>[% 'Salesperson' | $T8 %]</td>
<td align=left><input name="l_employee" class=checkbox type=checkbox value=Y>[% 'Employee' | $T8 %]</td>
</tr>
<tr>
<td align=left><input name="l_customernumber" class=checkbox type=checkbox value=Y>[% 'Customer Number' | $T8 %]</td>
<td align=left><input name="l_customername" class=checkbox type=checkbox value=Y>[% 'Customer Name' | $T8 %]</td>
<td align=left><input name="l_country" class=checkbox type=checkbox value=Y>[% 'Country' | $T8 %]</td>
<td align=left><input name="l_business" class=checkbox type=checkbox value=Y>[% 'Customer type' | $T8 %]</td>
</tr>
<tr>
<th colspan="4" align="left">
[% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
</th>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
<tr>
<th colspan="4" align="left">
[% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])
</th>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
</table>
</td>
<th colspan="4"><h4>[% 'Item values' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th>
</tr>
<tr>
<td><input name="l_description" id="l_description" type=checkbox value=Y checked><label for="l_description">[% 'Description' | $T8 %]</label></td>
<td><input name="l_partnumber" id="l_partnumber" type=checkbox value=Y><label for="l_partnumber">[% 'Part Number' | $T8 %]</label></td>
<td><input name="l_invnumber" id="l_invnumber" type=checkbox value=Y><label for="l_invnumber">[% 'Invnumber' | $T8 %]</label></td>
<td><input name="l_transdate" id="l_transdate" type=checkbox value=Y><label for="l_transdate">[% 'Invdate' | $T8 %]</label></td>
</tr>
<tr>
<td><input name="l_parts_unit" id="l_parts_unit" type=checkbox value=Y><label for="l_parts_unit">[% 'Base unit' | $T8 %]</label></td>
<td><input name="l_partsgroup" id="l_partsgroup" type=checkbox value=Y><label for="l_partsgroup">[% 'Partsgroup' | $T8 %]</label></td>
<td><input name="l_salesman" id="l_salesman" type=checkbox value=Y><label for="l_salesman">[% 'Salesperson' | $T8 %]</label></td>
<td><input name="l_employee" id="l_employee" type=checkbox value=Y><label for="l_employee">[% 'Employee' | $T8 %]</label></td>
</tr>
<tr>
<td><input name="l_customernumber" id="l_customernumber" type=checkbox value=Y><label for="l_customernumber">[% 'Customer Number' | $T8 %]</label></td>
<td><input name="l_customername" id="l_customername" type=checkbox value=Y><label for="l_customername">[% 'Customer Name' | $T8 %]</label></td>
<td><input name="l_country" id="l_country" type=checkbox value=Y><label for="l_country">[% 'Country' | $T8 %]</label></td>
<td><input name="l_business" id="l_business" type=checkbox value=Y><label for="l_business">[% 'Customer type' | $T8 %]</label></td>
</tr>
</tbody>
</table>
<hr size="3" noshade="">
<input class=submit type=submit name=action value="[% 'Continue' | $T8 %]">
<table class="tbl-plain clear">
<tbody>
<tr>
<th colspan="4"><h4>[% 'Customer variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE_CT %]
</tbody>
</table>
<br><br>
<table class="tbl-plain clear">
<tbody>
<tr>
<th colspan="4"><h4>[% 'Item variables' | $T8 %] ([% 'Only shown in item mode' | $T8 %])</h4></th>
</tr>
[% CUSTOM_VARIABLES_INCLUSION_CODE_IC %]
</tbody>
</table>
</div>
</form>
<script type="text/javascript">
<!--
$(document).ready(function(){
$('customer').focus();
})
//-->
</script>
<script type="text/javascript"><!--
$(document).ready(function(){
$('customer').focus();
})
//--></script>
templates/webpages/webdav/_list.html
[% USE HTML %][% USE T8 %][%- USE LxERP -%]
[% USE HTML %]
[% USE T8 %]
[% USE LxERP %]
[%- IF INSTANCE_CONF.get_webdav %]
<div id="ui-tabs-webdav">
<div class="listtop">[%- 'Documents in the WebDAV repository' | $T8 %]</div>
[% IF INSTANCE_CONF.get_webdav %]
<div id="ui-tabs-webdav" class="ui-tabs-panel" style="display:none;">
[% IF WEBDAV && WEBDAV.size %]
<table>
<thead>
<tr class="listheading">
<th>[% 'File name' | $T8 %]</th>
<th>[% 'WebDAV link' | $T8 %]</th>
</tr>
</thead>
<div class="wrapper">
<tbody>
[%- FOREACH file = WEBDAV %]
<tr class="listrow">
<td>[% HTML.escape(file.name) %]</td>
<td><a href="[% HTML.escape(file.link) %]">[% HTML.escape(file.type) %]</a></td>
</tr>
[%- END %]
</tbody>
</table>
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff