Lieferbedingungen analog zu Zahlungsbedingungen eingeführt.
[kivitendo-erp.git] / templates / webpages / delivery_term / form.html
1 [% USE HTML %][% USE T8 %][% USE L %][% USE LxERP %]
2
3  <form method="post" action="controller.pl">
4   <div class="listtop">[% FORM.title %]</div>
5
6 [%- INCLUDE 'common/flash.html' %]
7
8   <table>
9    <tr>
10     <td>[%- 'Description' | $T8 %]</td>
11     <td>
12      <input name="delivery_term.description" value="[%- HTML.escape(SELF.delivery_term.description) %]">
13     </td>
14    </tr>
15
16    <tr>
17     <td>[%- 'Long Description' | $T8 %]</td>
18     <td>
19      <input name="delivery_term.description_long" value="[%- HTML.escape(SELF.delivery_term.description_long) %]" size="60">
20     </td>
21    </tr>
22
23   <p>
24    <input type="hidden" name="id" value="[% SELF.delivery_term.id %]">
25    <input type="hidden" name="action" value="DeliveryTerm/dispatch">
26    <input type="submit" class="submit" name="action_[% IF SELF.delivery_term.id %]update[% ELSE %]create[% END %]" value="[% 'Save' | $T8 %]">
27    [%- IF SELF.delivery_term.id %]
28     <input type="submit" class="submit" name="action_destroy" value="[% 'Delete' | $T8 %]"
29            onclick="if (confirm('[% 'Are you sure you want to delete this delivery term?' | $T8 %]')) return true; else return false;">
30    [%- END %]
31    <a href="[% SELF.url_for(action => 'list') %]">[%- 'Abort' | $T8 %]</a>
32   </p>
33
34  </form>
35