1 [% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
4 <form method="post" action="controller.pl">
5 <div class="listtop">[% FORM.title %]</div>
7 [%- INCLUDE 'common/flash.html' %]
11 <td>[%- 'Description' | $T8 %]</td>
13 <input name="payment_term.description" value="[%- HTML.escape(SELF.payment_term.description) %]">
18 <td>[%- 'Long Description' | $T8 %]</td>
20 <input name="payment_term.description_long" value="[%- HTML.escape(SELF.payment_term.description_long) %]" size="60">
24 [%- FOREACH language = SELF.languages %]
26 <td>[%- HTML.escape(language.description) %] ([%- LxERP.t8('Translation') %])</td>
28 <input name="translation_[% language.id %]" value="[%- HTML.escape(SELF.payment_term.translated_attribute('description_long', language, 1)) %]" size="60">
34 <td>[%- 'Netto Terms' | $T8 %]</td>
36 <input name="payment_term.terms_netto_as_number" value="[%- HTML.escape(SELF.payment_term.terms_netto_as_number) %]" size="6">
41 <td>[%- 'Skonto Terms' | $T8 %]</td>
43 <input name="payment_term.terms_skonto_as_number" value="[%- HTML.escape(SELF.payment_term.terms_skonto_as_number) %]" size="6">
48 <td>[%- 'Skonto' | $T8 %]</td>
50 <input name="payment_term.percent_skonto_as_percent" value="[%- HTML.escape(SELF.payment_term.percent_skonto_as_percent) %]" size="6">%
56 <input type="hidden" name="id" value="[% SELF.payment_term.id %]">
57 <input type="hidden" name="action" value="PaymentTerm/dispatch">
58 <input type="submit" class="submit" name="action_[% IF SELF.payment_term.id %]update[% ELSE %]create[% END %]" value="[% 'Save' | $T8 %]">
59 [%- IF SELF.payment_term.id %]
60 <input type="submit" class="submit" name="action_destroy" value="[% 'Delete' | $T8 %]"
61 onclick="if (confirm('[% 'Are you sure you want to delete this payment term?' | $T8 %]')) return true; else return false;">
63 <a href="[% SELF.url_for(action => 'list') %]">[%- 'Abort' | $T8 %]</a>
68 <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 Lx-Office before they're output.") %]</p>
71 <tr class="listheading"><th>[%- LxERP.t8('Field') %]</th><th>[%- LxERP.t8('Description') %]</th></tr>
72 <tr><td><%payment_terms%></td><td>[% LxERP.t8("Payment description") %]</td></tr>
73 <tr><td><%payment_description%></td><td>[% LxERP.t8("Payment description detail") %]</td></tr>
74 <tr><td><%netto_date%></td><td>[% LxERP.t8("Date the payment is due in full") %]</td></tr>
75 <tr><td><%skonto_date%></td><td>[% LxERP.t8("Date the payment is due with discount") %]</td></tr>
76 <tr><td><%skonto_amount%></td><td>[% LxERP.t8("The deductible amount") %]</td></tr>
77 <tr><td><%skonto_in_percent%></td><td>[% LxERP.t8("The discount in percent") %]</td></tr>
78 <tr><td><%total%></td><td>[% LxERP.t8("Amount payable") %]</td></tr>
79 <tr><td><%total_wo_skonto%></td><td>[% LxERP.t8("Amount payable less discount") %]</td></tr>
80 <tr><td><%invtotal%></td><td>[% LxERP.t8("Invoice total") %]</td></tr>
81 <tr><td><%invtotal_wo_skonto%></td><td>[% LxERP.t8("Invoice total less discount") %]</td></tr>
82 <tr><td><%currency%></td><td>[% LxERP.t8("The selected currency") %]</td></tr>
83 <tr><td><%terms_netto%></td><td>[% LxERP.t8("The number of days for full payment") %]</td></tr>
84 <tr><td><%account_number%></td><td>[% LxERP.t8("Your account number") %]</td></tr>
85 <tr><td><%bank%></td><td>[% LxERP.t8("Your bank") %]</td></tr>
86 <tr><td><%bank_code%></td><td>[% LxERP.t8("Your bank code") %]</td></tr>