Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 517816b2

Von Bernd Bleßmann vor mehr als 1 Jahr 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
215 215
      </tr>
216 216
      <tr>
217 217
        <th>[% 'Execution Date Buffer' | $T8 %]</th>
218
        <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>
218
        <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>
219 219
        <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>
220 220
      </tr>
221 221

  
templates/design40_webpages/client_config/_posting_configuration.html
138 138
     </tr>
139 139
    <tr>
140 140
      <th>[% LxERP.t8('Sales Quotation valid interval') %]</th>
141
      <td>[% L.input_tag('defaults.reqdate_interval', LxERP.format_amount(SELF.defaults.reqdate_interval, 0), class='wi-verysmall') %]</td>
141
      <td>[% L.input_tag('defaults.reqdate_interval_as_number', SELF.defaults.reqdate_interval_as_number, class='wi-verysmall') %]</td>
142 142
      <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>
143 143
    </tr>
144 144
    <tr>
......
148 148
    </tr>
149 149
    <tr>
150 150
      <th>[% LxERP.t8('Sales Order delivery date interval') %]</th>
151
      <td>[% L.input_tag('defaults.delivery_date_interval', LxERP.format_amount(SELF.defaults.delivery_date_interval, 0), class='wi-verysmall') %]</td>
151
      <td>[% L.input_tag('defaults.delivery_date_interval_as_number', SELF.defaults.delivery_date_interval_as_number, class='wi-verysmall') %]</td>
152 152
      <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>
153 153
    </tr>
154 154
  </tbody>
templates/design40_webpages/client_config/_warehouse.html
70 70
    </tr>
71 71
    <tr>
72 72
      <th>[% LxERP.t8('Undo Transfer Interval') %]</th>
73
      <td>[% L.input_tag('defaults.undo_transfer_interval', LxERP.format_amount(SELF.defaults.undo_transfer_interval, 0), class='wi-verysmall') %]</td>
73
      <td>[% L.input_tag('defaults.undo_transfer_interval_as_number', SELF.defaults.undo_transfer_interval_as_number, class='wi-verysmall') %]</td>
74 74
      <td class="long-desc">[% LxERP.t8('Defines the interval where undoing transfers from a delivery order are allowed.') %]</td>
75 75
    </tr>
76 76
    <tr><th class="caption" colspan="3"> [% 'Best Before' | $T8 %] </th></tr>
templates/webpages/client_config/_features.html
489 489
  </tr>
490 490
  <tr>
491 491
   <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>
492
   <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>
492
   <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>
493 493
  </tr>
494 494
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Experimental Features") %]</td></tr>
495 495
  <tr>
templates/webpages/client_config/_posting_configuration.html
120 120
  </tr>
121 121
  <tr>
122 122
   <td align="right">[% LxERP.t8('Sales Quotation valid interval') %]</td>
123
   <td>[% L.input_tag('defaults.reqdate_interval', LxERP.format_amount(SELF.defaults.reqdate_interval, 0), style=style) %]</td>
123
   <td>[% L.input_tag('defaults.reqdate_interval_as_number', SELF.defaults.reqdate_interval_as_number, style=style) %]</td>
124 124
   <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>
125 125
  </tr>
126 126
  <tr>
......
130 130
  </tr>
131 131
  <tr>
132 132
   <td align="right">[% LxERP.t8('Sales Order delivery date interval') %]</td>
133
   <td>[% L.input_tag('defaults.delivery_date_interval', LxERP.format_amount(SELF.defaults.delivery_date_interval, 0), style=style) %]</td>
133
   <td>[% L.input_tag('defaults.delivery_date_interval_as_number', SELF.defaults.delivery_date_interval_as_number, style=style) %]</td>
134 134
   <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>
135 135
  </tr>
136 136
 </table>
templates/webpages/client_config/_warehouse.html
108 108
  </tr>
109 109
  <tr>
110 110
   <td align="right">[% LxERP.t8('Undo Transfer Interval') %]</td>
111
   <td>[% L.input_tag('defaults.undo_transfer_interval', LxERP.format_amount(SELF.defaults.undo_transfer_interval, 0), style=style) %]</td>
111
   <td>[% L.input_tag('defaults.undo_transfer_interval_as_number', SELF.defaults.undo_transfer_interval_as_number, style=style) %]</td>
112 112
   <td>[% LxERP.t8('Defines the interval where undoing transfers from a delivery order are allowed.') %]</td>
113 113
  </tr>
114 114
  <tr><td class="listheading" colspan="4">[% LxERP.t8("Produce Assembly Configuration") %]</td></tr>

Auch abrufbar als: Unified diff