Revision 091321b1
Von Jan Büren vor etwa 2 Jahren hinzugefügt
SL/Controller/ClientConfig.pm | ||
---|---|---|
76 | 76 |
$existing_currency->name($new_name); |
77 | 77 |
} |
78 | 78 |
} |
79 |
|
|
80 | 79 |
if ($::form->{new_currency} && $new_currency_names{ $::form->{new_currency} }) { |
81 | 80 |
$errors_idx{1} = t8('Currency names must be unique.'); |
82 | 81 |
} |
83 | 82 |
|
84 | 83 |
my @errors = map { $errors_idx{$_} } sort keys %errors_idx; |
85 | 84 |
|
85 |
# check valid mail adresses |
|
86 |
foreach (qw(email_sender_sales_quotation email_sender_request_quotation email_sender_sales_order |
|
87 |
email_sender_purchase_order email_sender_sales_delivery_order email_sender_purchase_delivery_order |
|
88 |
email_sender_invoice email_sender_purchase_invoice email_sender_letter email_sender_dunning |
|
89 |
global_bcc)) { |
|
90 |
next unless $defaults->{$_}; |
|
91 |
next if $defaults->{$_} =~ /^[a-z0-9.]+\@[a-z0-9.-]+$/; |
|
92 |
push @errors, t8('The email entry for #1 looks invalid', $_); |
|
93 |
} |
|
86 | 94 |
# Check templates |
87 | 95 |
$::form->{new_templates} =~ s:/::g; |
88 | 96 |
$::form->{new_master_templates} =~ s:/::g; |
templates/design40_webpages/client_config/_features.html | ||
---|---|---|
134 | 134 |
<tr> |
135 | 135 |
<th>[% LxERP.t8('Email journal') %]</th> |
136 | 136 |
<td colspan="2"> [% L.select_tag('defaults.email_journal', [ [ 0, LxERP.t8('No Journal') ],[ 1, LxERP.t8('Without Attachments') ],[ 2, LxERP.t8('With Attachments') ] ], default=SELF.defaults.email_journal, class="wi-wide") %] <div class="description">[% 'Sent emails can be optionally stored in the database with or without their attachments.' | $T8 %]</div></td> |
137 |
|
|
138 | 137 |
</tr> |
139 | 138 |
<tr> |
139 |
<th>[% LxERP.t8('Email Sender Sales Quotation') %]</th> |
|
140 |
<td colspan="2"> |
|
141 |
[% L.input_tag('defaults.email_sender_sales_quotation', SELF.defaults.email_sender_sales_quotation, class='wi-wide') %] |
|
142 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
143 |
</tr> |
|
144 |
<tr> |
|
145 |
<th>[% LxERP.t8('Email Sender Request Quotation') %]</th> |
|
146 |
<td colspan="2"> |
|
147 |
[% L.input_tag('defaults.email_sender_request_quotation', SELF.defaults.email_sender_request_quotation, class='wi-wide') %] |
|
148 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
149 |
</tr> |
|
150 |
<tr> |
|
151 |
<th>[% LxERP.t8('Email Sender Sales Order') %]</th> |
|
152 |
<td colspan="2"> |
|
153 |
[% L.input_tag('defaults.email_sender_sales_order', SELF.defaults.email_sender_sales_order, class='wi-wide') %] |
|
154 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
155 |
</tr> |
|
156 |
<tr> |
|
157 |
<th>[% LxERP.t8('Email Sender Purchase Order') %]</th> |
|
158 |
<td colspan="2"> |
|
159 |
[% L.input_tag('defaults.email_sender_purchase_order', SELF.defaults.email_sender_purchase_order, class='wi-wide') %] |
|
160 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
161 |
</tr> |
|
162 |
<tr> |
|
163 |
<th>[% LxERP.t8('Email Sender Sales Delivery Order') %]</th> |
|
164 |
<td colspan="2"> |
|
165 |
[% L.input_tag('defaults.email_sender_sales_delivery_order', SELF.defaults.email_sender_sales_delivery_order, class='wi-wide') %] |
|
166 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
167 |
</tr> |
|
168 |
<tr> |
|
169 |
<th>[% LxERP.t8('Email Sender Purchase Delivery Order') %]</th> |
|
170 |
<td colspan="2"> |
|
171 |
[% L.input_tag('defaults.email_sender_purchase_delivery_order', SELF.defaults.email_sender_purchase_delivery_order, class='wi-wide') %] |
|
172 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
173 |
</tr> |
|
174 |
<tr> |
|
175 |
<th>[% LxERP.t8('Email Sender Sales Invoice') %]</th> |
|
176 |
<td colspan="2"> |
|
177 |
[% L.input_tag('defaults.email_sender_invoice', SELF.defaults.email_sender_invoice, class='wi-wide') %] |
|
178 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
179 |
</tr> |
|
180 |
<tr> |
|
181 |
<th>[% LxERP.t8('Email Sender Sales Purchase Invoice') %]</th> |
|
182 |
<td colspan="2"> |
|
183 |
[% L.input_tag('defaults.email_sender_purchase_invoice', SELF.defaults.email_sender_purchase_invoice, class='wi-wide') %] |
|
184 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
185 |
</tr> |
|
186 |
<tr> |
|
187 |
<th>[% LxERP.t8('Email Sender Letter') %]</th> |
|
188 |
<td colspan="2"> |
|
189 |
[% L.input_tag('defaults.email_sender_letter', SELF.defaults.email_sender_letter, class='wi-wide') %] |
|
190 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
191 |
</tr> |
|
192 |
<tr> |
|
193 |
<th>[% LxERP.t8('Email Sender Dunning') %]</th> |
|
194 |
<td colspan="2"> |
|
195 |
[% L.input_tag('defaults.email_sender_dunning', SELF.defaults.email_sender_dunning, class='wi-wide') %] |
|
196 |
<div class ="description">[% 'Generic email send address for this record type.' | $T8 %]</div></td> |
|
197 |
</tr> |
|
198 |
<tr> |
|
140 | 199 |
<th class="caption" colspan="3">[% LxERP.t8("SEPA") %]</th> |
141 | 200 |
</tr> |
142 | 201 |
<tr> |
templates/webpages/client_config/_features.html | ||
---|---|---|
333 | 333 |
</td> |
334 | 334 |
<td>[% 'The invoice recipient can either be a selected contact person (default) or the email adress set in the master data of the customer. Additionally a contact persons mail and the company\'s invoicing mail can be combined.' | $T8 %]</td> |
335 | 335 |
</tr> |
336 |
|
|
336 |
<tr> |
|
337 |
<td align="right">[% LxERP.t8('Email Sender Sales Quotation') %]</td> |
|
338 |
<td> |
|
339 |
[% L.input_tag('defaults.email_sender_sales_quotation', SELF.defaults.email_sender_sales_quotation, style=style) %] |
|
340 |
</td> |
|
341 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
342 |
</tr> |
|
343 |
<tr> |
|
344 |
<td align="right">[% LxERP.t8('Email Sender Request Quotation') %]</td> |
|
345 |
<td> |
|
346 |
[% L.input_tag('defaults.email_sender_request_quotation', SELF.defaults.email_sender_request_quotation, style=style) %] |
|
347 |
</td> |
|
348 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
349 |
</tr> |
|
350 |
<tr> |
|
351 |
<td align="right">[% LxERP.t8('Email Sender Sales Order') %]</td> |
|
352 |
<td> |
|
353 |
[% L.input_tag('defaults.email_sender_sales_order', SELF.defaults.email_sender_sales_order, style=style) %] |
|
354 |
</td> |
|
355 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
356 |
</tr> |
|
357 |
<tr> |
|
358 |
<td align="right">[% LxERP.t8('Email Sender Purchase Order') %]</td> |
|
359 |
<td> |
|
360 |
[% L.input_tag('defaults.email_sender_purchase_order', SELF.defaults.email_sender_purchase_order, style=style) %] |
|
361 |
</td> |
|
362 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
363 |
</tr> |
|
364 |
<tr> |
|
365 |
<td align="right">[% LxERP.t8('Email Sender Sales Delivery Order') %]</td> |
|
366 |
<td> |
|
367 |
[% L.input_tag('defaults.email_sender_sales_delivery_order', SELF.defaults.email_sender_sales_delivery_order, style=style) %] |
|
368 |
</td> |
|
369 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
370 |
</tr> |
|
371 |
<tr> |
|
372 |
<td align="right">[% LxERP.t8('Email Sender Purchase Delivery Order') %]</td> |
|
373 |
<td> |
|
374 |
[% L.input_tag('defaults.email_sender_purchase_delivery_order', SELF.defaults.email_sender_purchase_delivery_order, style=style) %] |
|
375 |
</td> |
|
376 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
377 |
</tr> |
|
378 |
<tr> |
|
379 |
<td align="right">[% LxERP.t8('Email Sender Sales Invoice') %]</td> |
|
380 |
<td> |
|
381 |
[% L.input_tag('defaults.email_sender_invoice', SELF.defaults.email_sender_invoice, style=style) %] |
|
382 |
</td> |
|
383 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
384 |
</tr> |
|
385 |
<tr> |
|
386 |
<td align="right">[% LxERP.t8('Email Sender Sales Purchase Invoice') %]</td> |
|
387 |
<td> |
|
388 |
[% L.input_tag('defaults.email_sender_purchase_invoice', SELF.defaults.email_sender_purchase_invoice, style=style) %] |
|
389 |
</td> |
|
390 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
391 |
</tr> |
|
392 |
<tr> |
|
393 |
<td align="right">[% LxERP.t8('Email Sender Letter') %]</td> |
|
394 |
<td> |
|
395 |
[% L.input_tag('defaults.email_sender_letter', SELF.defaults.email_sender_letter, style=style) %] |
|
396 |
</td> |
|
397 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
398 |
</tr> |
|
399 |
<tr> |
|
400 |
<td align="right">[% LxERP.t8('Email Sender Dunning') %]</td> |
|
401 |
<td> |
|
402 |
[% L.input_tag('defaults.email_sender_dunning', SELF.defaults.email_sender_dunning, style=style) %] |
|
403 |
</td> |
|
404 |
<td>[% 'Generic email send address for this record type.' | $T8 %]</td> |
|
405 |
</tr> |
|
337 | 406 |
<tr><td class="listheading" colspan="4">[% LxERP.t8("Requirement Specs") %]</td></tr> |
338 | 407 |
<tr> |
339 | 408 |
<td align="right">[% LxERP.t8('Default article for converting into quotations and orders') %]</td> |
Auch abrufbar als: Unified diff
Mandantenkonfig für Belegweise Absender-E-Mail-Adressen