Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 517816b2

Von Bernd Bleßmann vor fast 2 Jahren hinzugefügt

  • ID 517816b2465d5640bd1929ef41510191b506f76e
  • Vorgänger ed6ac955
  • Nachfolger 8af7cdf0

Mandantenkonfig.: numerische Werte richtig parsen (as_number-Attribut nehmen).

Vorher wurden die mit format_amount formatiert, aber im Backend nicht geparsed.
Wenn man niun Integer-Werte über 1000 eingab und diese durch das Zahlenformat
mit Tausender-Punkt formatiert wurden, kam es zu einem DB-Fehler.

Unterschiede anzeigen:

templates/design40_webpages/client_config/_features.html
</tr>
<tr>
<th>[% 'Execution Date Buffer' | $T8 %]</th>
<td>[% L.input_tag('defaults.sepa_set_skonto_date_buffer_in_days', LxERP.format_amount(SELF.defaults.sepa_set_skonto_date_buffer_in_days, 0), size=10, class='wi-small' ) %]</td>
<td>[% L.input_tag('defaults.sepa_set_skonto_date_buffer_in_days_as_number', SELF.defaults.sepa_set_skonto_date_buffer_in_days_as_number, size=10, class='wi-small' ) %]</td>
<td class="long-desc">[% LxERP.t8('In addition to the above date functions, subtract the following amount of days from the calculated date as a buffer.') %]</td>
</tr>
templates/design40_webpages/client_config/_posting_configuration.html
</tr>
<tr>
<th>[% LxERP.t8('Sales Quotation valid interval') %]</th>
<td>[% L.input_tag('defaults.reqdate_interval', LxERP.format_amount(SELF.defaults.reqdate_interval, 0), class='wi-verysmall') %]</td>
<td>[% L.input_tag('defaults.reqdate_interval_as_number', SELF.defaults.reqdate_interval_as_number, class='wi-verysmall') %]</td>
<td class="longdesc">[% LxERP.t8('Usually the sales quotation is valid until the next working day. If a value is set here then the quotation will be valid for at least that many days. The resulting date will be adjusted to the next working day if it ends up on a weekend.') %]</td>
</tr>
<tr>
......
</tr>
<tr>
<th>[% LxERP.t8('Sales Order delivery date interval') %]</th>
<td>[% L.input_tag('defaults.delivery_date_interval', LxERP.format_amount(SELF.defaults.delivery_date_interval, 0), class='wi-verysmall') %]</td>
<td>[% L.input_tag('defaults.delivery_date_interval_as_number', SELF.defaults.delivery_date_interval_as_number, class='wi-verysmall') %]</td>
<td class="longdesc">[% LxERP.t8('Usually the delivery date of an order is the next working day. If a value is set here this value will be added to the delivery date of the sales order. The resulting date will be adjusted to the next working day if it ends up on a weekend.') %]</td>
</tr>
</tbody>
templates/design40_webpages/client_config/_warehouse.html
</tr>
<tr>
<th>[% LxERP.t8('Undo Transfer Interval') %]</th>
<td>[% L.input_tag('defaults.undo_transfer_interval', LxERP.format_amount(SELF.defaults.undo_transfer_interval, 0), class='wi-verysmall') %]</td>
<td>[% L.input_tag('defaults.undo_transfer_interval_as_number', SELF.defaults.undo_transfer_interval_as_number, class='wi-verysmall') %]</td>
<td class="long-desc">[% LxERP.t8('Defines the interval where undoing transfers from a delivery order are allowed.') %]</td>
</tr>
<tr><th class="caption" colspan="3"> [% 'Best Before' | $T8 %] </th></tr>
templates/webpages/client_config/_features.html
</tr>
<tr>
<td align="right">[% LxERP.t8('In addition to the above date functions, subtract the following amount of days from the calculated date as a buffer.') %]</td>
<td>[% L.input_tag('defaults.sepa_set_skonto_date_buffer_in_days', LxERP.format_amount(SELF.defaults.sepa_set_skonto_date_buffer_in_days, 0), style=style) %]</td>
<td>[% L.input_tag('defaults.sepa_set_skonto_date_buffer_in_days_as_number', SELF.defaults.sepa_set_skonto_date_buffer_in_days_as_number, style=style) %]</td>
</tr>
<tr><td class="listheading" colspan="4">[% LxERP.t8("Experimental Features") %]</td></tr>
<tr>
templates/webpages/client_config/_posting_configuration.html
</tr>
<tr>
<td align="right">[% LxERP.t8('Sales Quotation valid interval') %]</td>
<td>[% L.input_tag('defaults.reqdate_interval', LxERP.format_amount(SELF.defaults.reqdate_interval, 0), style=style) %]</td>
<td>[% L.input_tag('defaults.reqdate_interval_as_number', SELF.defaults.reqdate_interval_as_number, style=style) %]</td>
<td>[% LxERP.t8('Usually the sales quotation is valid until the next working day. If a value is set here then the quotation will be valid for at least that many days. The resulting date will be adjusted to the next working day if it ends up on a weekend.') %]</td>
</tr>
<tr>
......
</tr>
<tr>
<td align="right">[% LxERP.t8('Sales Order delivery date interval') %]</td>
<td>[% L.input_tag('defaults.delivery_date_interval', LxERP.format_amount(SELF.defaults.delivery_date_interval, 0), style=style) %]</td>
<td>[% L.input_tag('defaults.delivery_date_interval_as_number', SELF.defaults.delivery_date_interval_as_number, style=style) %]</td>
<td>[% LxERP.t8('Usually the delivery date of an order is the next working day. If a value is set here this value will be added to the delivery date of the sales order. The resulting date will be adjusted to the next working day if it ends up on a weekend.') %]</td>
</tr>
</table>
templates/webpages/client_config/_warehouse.html
</tr>
<tr>
<td align="right">[% LxERP.t8('Undo Transfer Interval') %]</td>
<td>[% L.input_tag('defaults.undo_transfer_interval', LxERP.format_amount(SELF.defaults.undo_transfer_interval, 0), style=style) %]</td>
<td>[% L.input_tag('defaults.undo_transfer_interval_as_number', SELF.defaults.undo_transfer_interval_as_number, style=style) %]</td>
<td>[% LxERP.t8('Defines the interval where undoing transfers from a delivery order are allowed.') %]</td>
</tr>
<tr><td class="listheading" colspan="4">[% LxERP.t8("Produce Assembly Configuration") %]</td></tr>

Auch abrufbar als: Unified diff