Unnötige Hiddens entfernen
[kivitendo-erp.git] / templates / webpages / client_config / form.html
1 [%- USE T8 %][%- USE L %][% USE LxERP %]
2
3 <h1>[% title | html %]</h1>
4
5 [% PROCESS 'common/flash.html' %]
6
7 <form action='controller.pl' method='POST'>
8
9 <table>
10
11  <tr class='listheading'>
12    <th colspan="3">[% 'Posting Configuration' | $T8 %]</th>
13  </tr>
14
15  <tr>
16    <td align="right">[% 'Sales invoices changeable' | $T8 %]</td>
17    <td>[% L.select_tag('is_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.is_changeable) %]</td>
18    <td>[% 'Should sales invoices be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
19  </tr>
20  <tr>
21    <td align="right">[% 'Purchase invoices changeable' | $T8 %]</td>
22    <td>[% L.select_tag('ir_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ir_changeable) %]</td>
23    <td>[% 'Should purchase invoices be and when should they be deleteable after posting?' | $T8 %]</td>
24  </tr>
25  <tr>
26    <td align="right">[% 'AR transactions changeable' | $T8 %]</td>
27    <td>[% L.select_tag('ar_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ar_changeable) %]</td>
28    <td>[% 'Should ar transactions be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
29  </tr>
30  <tr>
31    <td align="right">[% 'AP transactions changeable' | $T8 %]</td>
32    <td>[% L.select_tag('ap_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.ap_changeable) %]</td>
33    <td>[% 'Should ap transactions be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
34  </tr>
35  <tr>
36    <td align="right">[% 'GL transactions changeable' | $T8 %]</td>
37    <td>[% L.select_tag('gl_changeable', SELF.posting_options, value_key => 'value', title_key => 'title', default => SELF.gl_changeable) %]</td>
38    <td>[% 'Should gl transactions be and when should they be changeable or deleteable after posting?' | $T8 %]</td>
39  </tr>
40
41  <tr> </tr>
42  <tr> </tr>
43
44  <tr>
45    <td align="right">[% 'Payments Changeable' | $T8 %]</td>
46    <td>[% L.select_tag('payments_changeable', SELF.payment_options, value_key => 'value', title_key => 'title', default => SELF.payments_changeable) %]</td>
47    <td>[% 'Should payments be and when should they be changeable after posting?' | $T8 %]</td>
48  </tr>
49
50  <tr> </tr>
51  <tr> </tr>
52
53  <tr>
54    <td align="right">[% 'Show "mark as paid" in sales invoices' | $T8 %]</td>
55    <td>[% L.yes_no_tag('is_show_mark_as_paid', SELF.is_show_mark_as_paid) %]</td>
56    <td>[% 'Should the "mark as paid" button showed on sales invoices?' | $T8 %]</td>
57  </tr>
58  <tr>
59    <td align="right">[% 'Show "mark as paid" in purchase invoices' | $T8 %]</td>
60    <td>[% L.yes_no_tag('ir_show_mark_as_paid', SELF.ir_show_mark_as_paid) %]</td>
61    <td>[% 'Should the "mark as paid" button showed in purchase invoices?' | $T8 %]</td>
62  </tr>
63  <tr>
64    <td align="right">[% 'Show "mark as paid" in ar transactions' | $T8 %]</td>
65    <td>[% L.yes_no_tag('ar_show_mark_as_paid', SELF.ar_show_mark_as_paid) %]</td>
66    <td>[% 'Should the "mark as paid" button showed in ar transactions?' | $T8 %]</td>
67  </tr>
68  <tr>
69    <td align="right">[% 'Show "mark as paid" in ap transactions' | $T8 %]</td>
70    <td>[% L.yes_no_tag('ap_show_mark_as_paid', SELF.ap_show_mark_as_paid) %]</td>
71    <td>[% 'Should the "mark as paid" button showed in ap transactions?' | $T8 %]</td>
72  </tr>
73
74  <tr> </tr>
75  <tr> </tr>
76
77  <tr>
78    <td align="right">[% 'Accounting method' | $T8 %]</td>
79    <td>[% L.select_tag('accounting_method', SELF.accounting_options, value_key => 'value', title_key => 'title', default => SELF.accounting_method) %]</td>
80    <td>[% 'This option controls the posting and calculation behavior for the accounting method.' | $T8 %]</td>
81  </tr>
82  <tr>
83    <td align="right">[% 'Inventory system' | $T8 %]</td>
84    <td>[% L.select_tag('inventory_system', SELF.inventory_options, value_key => 'value', title_key => 'title', default => SELF.inventory_system) %]</td>
85    <td>
86      [% 'This option controls the inventory system.' | $T8 %]<br>
87      [% 'ATTENTION! You can not simply change it from periodic to perpetual once you started posting.' | $T8 %]
88    </td>
89  </tr>
90  <tr>
91    <td align="right">[% 'Profit determination' | $T8 %]</td>
92    <td>[% L.select_tag('profit_determination', SELF.profit_options, value_key => 'value', title_key => 'title', default => SELF.profit_determination) %]</td>
93    <td>[% 'This option controls the method used for profit determination.' | $T8 %]</td>
94  </tr>
95
96  <tr> </tr>
97  <tr> </tr>
98
99  <tr class='listheading'>
100    <th colspan="3">[% 'DATEV check configuration' | $T8 %]</th>
101  </tr>
102  <tr>
103    <td colspan="3">[% 'It is possible to make a quick DATEV export everytime you post a record to ensure things work nicely with their data requirements. This will result in a slight overhead though you can enable this for each type of record independantly.' | $T8 %]</td>
104  </tr>
105  <tr>
106    <td align="right">[% 'Check on sales invoice' | $T8 %]</td>
107    <td>[% L.yes_no_tag('datev_check_on_sales_invoice', SELF.datev_check_on_sales_invoice) %]</td>
108    <td>[% 'Perform check when a sales invoice or a payment for a sales invoice is posted?' | $T8 %]</td>
109  </tr>
110  <tr>
111    <td align="right">[% 'Check on purchase invoice' | $T8 %]</td>
112    <td>[% L.yes_no_tag('datev_check_on_purchase_invoice', SELF.datev_check_on_purchase_invoice) %]</td>
113    <td>[% 'Perform check when a purchase invoice or a payment for a purchase invoice is posted?' | $T8 %]</td>
114  </tr>
115  <tr>
116    <td align="right">[% 'Check on ar transaction' | $T8 %]</td>
117    <td>[% L.yes_no_tag('datev_check_on_ar_transaction', SELF.datev_check_on_ar_transaction) %]</td>
118    <td>[% 'Perform check when an ar transaction is posted?' | $T8 %]</td>
119  </tr>
120  <tr>
121    <td align="right">[% 'Check on ap transaction' | $T8 %]</td>
122    <td>[% L.yes_no_tag('datev_check_on_ap_transaction', SELF.datev_check_on_ap_transaction) %]</td>
123    <td>[% 'Perform check when an ap transaction is posted?' | $T8 %]</td>
124  </tr>
125  <tr>
126    <td align="right">[% 'Check on gl transaction' | $T8 %]</td>
127    <td>[% L.yes_no_tag('datev_check_on_gl_transaction', SELF.datev_check_on_gl_transaction) %]</td>
128    <td>[% 'Perform check when a gl transaction is posted?' | $T8 %]</td>
129  </tr>
130
131  <tr> </tr>
132  <tr> </tr>
133
134  <tr class='listheading'>
135    <th colspan="3">[% 'Orders / Delivery Orders deleteable' | $T8 %]</th>
136  </tr>
137  <tr>
138    <td align="right">[% 'Sales Orders deleteable' | $T8 %]</td>
139    <td>[% L.yes_no_tag('sales_order_show_delete', SELF.sales_order_show_delete) %]</td>
140    <td>[% 'Show delete button in sales orders?' | $T8 %]</td>
141  </tr>
142  <tr>
143    <td align="right">[% 'Purchase Orders deleteable' | $T8 %]</td>
144    <td>[% L.yes_no_tag('purchase_order_show_delete', SELF.purchase_order_show_delete) %]</td>
145    <td>[% 'Show delete button in purchase orders?' | $T8 %]</td>
146  </tr>
147  <tr>
148    <td align="right">[% 'Sales Delivery Orders deleteable' | $T8 %]</td>
149    <td>[% L.yes_no_tag('sales_delivery_order_show_delete', SELF.sales_delivery_order_show_delete) %]</td>
150    <td>[% 'Show delete button in sales delivery orders?' | $T8 %]</td>
151  </tr>
152  <tr>
153    <td align="right">[% 'Purchase Delivery Orders deleteable' | $T8 %]</td>
154    <td>[% L.yes_no_tag('purchase_delivery_order_show_delete', SELF.purchase_delivery_order_show_delete) %]</td>
155    <td>[% 'Show delete button in purchase delivery orders?' | $T8 %]</td>
156  </tr>
157
158  <tr> </tr>
159  <tr> </tr>
160
161  <tr class='listheading'>
162    <th colspan="3">[% 'Warehouse' | $T8 %]</th>
163  </tr>
164  <tr>
165    <td align="right">[% 'Show Bestbefore' | $T8 %]</td>
166    <td>
167      [% L.yes_no_tag('show_bestbefore', SELF.show_bestbefore) %]
168    </td>
169    <td>
170      [% 'Show fields used for the best before date?' | $T8 %]<br>
171      [% 'ATTENTION! If you enabled this feature you can not simply turn it off again without taking care that best_before fields are emptied in the database.' | $T8 %]<br>
172      [% 'This can be done with the following query:' | $T8 %]<br>
173      <br>
174      UPDATE inventory SET bestbefore = NULL; <br>
175      <br>
176      [% 'Any stock contents containing a best before date will be impossible to stock out otherwise.' | $T8 %]
177    </td>
178  </tr>
179
180  <tr class='listheading'>
181    <th colspan="3">[% 'Weight' | $T8 %]</th>
182  </tr>
183  <tr>
184    <td align="right">[% 'Show weights' | $T8 %]</td>
185    <td>
186      [% L.yes_no_tag('show_weight', SELF.show_weight) %]
187    </td>
188    <td>
189      [% 'Show the weights of articles and the total weight in orders, invoices and delivery notes?' | $T8 %]<br>
190    </td>
191  </tr>
192 </table>
193
194 <br>
195
196 [%- L.hidden_tag('action',  'ClientConfig/dispatch')  %]
197 [%- L.submit_tag('action_save',  LxERP.t8('Save'))  %]
198
199 <br><br>
200
201 </form>