Revision 5f40467f
Von Tamino Steinert vor mehr als 2 Jahren hinzugefügt
SL/DB/MetaSetup/Default.pm | ||
---|---|---|
129 | 129 |
order_warn_duplicate_parts => { type => 'boolean', default => 'true' }, |
130 | 130 |
order_warn_no_cusordnumber => { type => 'boolean', default => 'false' }, |
131 | 131 |
order_warn_no_deliverydate => { type => 'boolean', default => 'true' }, |
132 |
p_reclamation_record_number => { type => 'text', default => '0', not_null => 1 }, |
|
132 | 133 |
parts_image_css => { type => 'text', default => 'border:0;float:left;max-width:250px;margin-top:20px:margin-right:10px;margin-left:10px;' }, |
133 | 134 |
parts_listing_image => { type => 'boolean', default => 'true' }, |
134 | 135 |
parts_show_image => { type => 'boolean', default => 'true' }, |
... | ... | |
148 | 149 |
purchase_delivery_order_check_stocked => { type => 'boolean', default => 'false' }, |
149 | 150 |
purchase_delivery_order_show_delete => { type => 'boolean', default => 'true' }, |
150 | 151 |
purchase_order_show_delete => { type => 'boolean', default => 'true' }, |
152 |
purchase_reclamation_show_delete => { type => 'boolean', default => 'true', not_null => 1 }, |
|
151 | 153 |
quick_search_modules => { type => 'array' }, |
152 | 154 |
rdonumber => { type => 'text' }, |
155 |
reclamation_warn_duplicate_parts => { type => 'boolean', default => 'true', not_null => 1 }, |
|
156 |
reclamation_warn_no_reqdate => { type => 'boolean', default => 'true', not_null => 1 }, |
|
153 | 157 |
reqdate_interval => { type => 'integer', default => '0' }, |
154 | 158 |
reqdate_on => { type => 'boolean', default => 'true' }, |
155 | 159 |
require_transaction_description_ps => { type => 'boolean', default => 'false', not_null => 1 }, |
... | ... | |
159 | 163 |
rmanumber => { type => 'text' }, |
160 | 164 |
rndgain_accno_id => { type => 'integer' }, |
161 | 165 |
rndloss_accno_id => { type => 'integer' }, |
166 |
s_reclamation_record_number => { type => 'text', default => '0', not_null => 1 }, |
|
162 | 167 |
sales_delivery_order_check_service => { type => 'boolean', default => 'true' }, |
163 | 168 |
sales_delivery_order_check_stocked => { type => 'boolean', default => 'false' }, |
164 | 169 |
sales_delivery_order_show_delete => { type => 'boolean', default => 'true' }, |
165 | 170 |
sales_order_show_delete => { type => 'boolean', default => 'true' }, |
166 | 171 |
sales_purchase_order_ship_missing_column => { type => 'boolean', default => 'false' }, |
167 | 172 |
sales_purchase_record_numbers_changeable => { type => 'boolean', default => 'false', not_null => 1 }, |
173 |
sales_reclamation_show_delete => { type => 'boolean', default => 'true', not_null => 1 }, |
|
168 | 174 |
sales_serial_eq_charge => { type => 'boolean', default => 'false', not_null => 1 }, |
169 | 175 |
sdonumber => { type => 'text' }, |
170 | 176 |
sepa_creditor_id => { type => 'text' }, |
sql/Pg-upgrade2/defaults_add_reclamation.sql | ||
---|---|---|
1 |
-- @tag: defaults_add_reclamations |
|
2 |
-- @description: Add defaults show_delete, always_project, warn_no_reqdate and warn_duplicate_parts for reclamations |
|
3 |
-- @depends: reclamations |
|
4 |
|
|
5 |
--show_delete |
|
6 |
ALTER TABLE defaults ADD COLUMN sales_reclamation_show_delete boolean NOT NULL DEFAULT TRUE; |
|
7 |
ALTER TABLE defaults ADD COLUMN purchase_reclamation_show_delete boolean NOT NULL DEFAULT TRUE; |
|
8 |
|
|
9 |
--warn |
|
10 |
ALTER TABLE defaults ADD COLUMN reclamation_warn_no_reqdate boolean NOT NULL DEFAULT TRUE; |
|
11 |
ALTER TABLE defaults ADD COLUMN reclamation_warn_duplicate_parts boolean NOT NULL DEFAULT TRUE; |
templates/webpages/client_config/_features.html | ||
---|---|---|
274 | 274 |
<td>[% L.yes_no_tag("defaults.warn_no_delivery_order_for_invoice", SELF.defaults.warn_no_delivery_order_for_invoice ) %]</td> |
275 | 275 |
<td>[% LxERP.t8("If enabled a warning will be shown if a sales invoices is created without having a sales delivery order as a predecessor.") %]</td> |
276 | 276 |
</tr> |
277 |
|
|
278 |
<tr> |
|
279 |
<td align="right">[% LxERP.t8("Warn before saving reclamations with duplicate parts") %]</td> |
|
280 |
<td>[% L.yes_no_tag("defaults.reclamation_warn_duplicate_parts", SELF.defaults.reclamation_warn_duplicate_parts) %]</td> |
|
281 |
<td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase reclamations if there are two or more positions of the same part.") %]</td> |
|
282 |
</tr> |
|
283 |
<tr> |
|
284 |
<td align="right">[% LxERP.t8("Warn before saving reclamations without a due date") %]</td> |
|
285 |
<td>[% L.yes_no_tag("defaults.reclamation_warn_no_reqdate", SELF.defaults.reclamation_warn_no_reqdate) %]</td> |
|
286 |
<td>[% LxERP.t8("If enabled a warning will be shown in sales and purchase reclamations if there the due date is empty.") %]</td> |
|
287 |
</tr> |
|
288 |
|
|
277 | 289 |
<tr> |
278 | 290 |
<td align="right">[% LxERP.t8("Create sales invoices with Factur-X/ZUGFeRD data") %]</td> |
279 | 291 |
<td>[% L.select_tag("defaults.create_zugferd_invoices", SELF.zugferd_settings, default=SELF.defaults.create_zugferd_invoices) %]</td> |
templates/webpages/client_config/_orders_deleteable.html | ||
---|---|---|
21 | 21 |
<td>[% L.yes_no_tag('defaults.purchase_delivery_order_show_delete', SELF.defaults.purchase_delivery_order_show_delete) %]</td> |
22 | 22 |
<td>[% LxERP.t8('Show delete button in purchase delivery orders?') %]</td> |
23 | 23 |
</tr> |
24 |
|
|
25 |
<tr> |
|
26 |
<td align="right">[% LxERP.t8('Sales Reclamations deleteable') %]</td> |
|
27 |
<td>[% L.yes_no_tag('defaults.sales_reclamation_show_delete', SELF.defaults.sales_reclamation_show_delete) %]</td> |
|
28 |
<td>[% LxERP.t8('Show delete button in sales reclamations?') %]</td> |
|
29 |
</tr> |
|
30 |
<tr> |
|
31 |
<td align="right">[% LxERP.t8('Purchase Reclamations deleteable') %]</td> |
|
32 |
<td>[% L.yes_no_tag('defaults.purchase_reclamation_show_delete', SELF.defaults.purchase_reclamation_show_delete) %]</td> |
|
33 |
<td>[% LxERP.t8('Show delete button in purchase reclamations?') %]</td> |
|
34 |
</tr> |
|
24 | 35 |
</table> |
25 | 36 |
</div> |
templates/webpages/client_config/_ranges_of_numbers.html | ||
---|---|---|
6 | 6 |
<td>[% L.input_tag("defaults.invnumber", SELF.defaults.invnumber, size="15") %]</td> |
7 | 7 |
<td align="right" nowrap>[% LxERP.t8('Last Customer Number') %]</td> |
8 | 8 |
<td>[% L.input_tag("defaults.customernumber", SELF.defaults.customernumber, size="15") %]</td> |
9 |
<td align="right" nowrap>[% LxERP.t8('Last Sales Reclamation Number') %]</td> |
|
10 |
<td>[% L.input_tag("defaults.s_reclamation_record_number", SELF.defaults.s_reclamation_record_number, size="15") %]</td> |
|
9 | 11 |
</tr> |
10 | 12 |
|
11 | 13 |
<tr> |
... | ... | |
13 | 15 |
<td>[% L.input_tag("defaults.cnnumber", SELF.defaults.cnnumber, size="15") %]</td> |
14 | 16 |
<td align="right" nowrap>[% LxERP.t8('Last Vendor Number') %]</td> |
15 | 17 |
<td>[% L.input_tag("defaults.vendornumber", SELF.defaults.vendornumber, size="15") %]</td> |
18 |
<td align="right" nowrap>[% LxERP.t8('Last Purchase Reclamation Number') %]</td> |
|
19 |
<td>[% L.input_tag("defaults.p_reclamation_record_number", SELF.defaults.p_reclamation_record_number, size="15") %]</td> |
|
16 | 20 |
</tr> |
17 | 21 |
|
18 | 22 |
<tr> |
Auch abrufbar als: Unified diff
Reclamation: add default settings