Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision aa52fad3

Von Jan Büren vor mehr als 1 Jahr hinzugefügt

  • ID aa52fad3fa717a0e8716340da8a59452e72622a7
  • Vorgänger 1ee9865b
  • Nachfolger a61fbb73

Unscharfes Skonto verbuchen konfigurierbar in Mandantenkonfig

Unterschiede anzeigen:

SL/DB/MetaSetup/Default.pm
111 111
  feature_experimental_assortment           => { type => 'boolean', default => 'true', not_null => 1 },
112 112
  feature_experimental_order                => { type => 'boolean', default => 'true', not_null => 1 },
113 113
  feature_ustva                             => { type => 'boolean', default => 'true', not_null => 1 },
114
  fuzzy_skonto                              => { type => 'boolean', default => 'true' },
115
  fuzzy_skonto_percentage                   => { type => 'float', default => '0.5', precision => 4, scale => 4 },
114 116
  fxgain_accno_id                           => { type => 'integer' },
115 117
  fxloss_accno_id                           => { type => 'integer' },
116 118
  gl_add_doc                                => { type => 'boolean', default => 'false', not_null => 1 },
sql/Pg-upgrade2/defaults_fuzzy_skonto.sql
1
-- @tag: defaults_fuzzy_skonto
2
-- @description: Einstellung, ob unscharfes Skonto erlaubt und wen ja mit welcher prozentualen Abweichung
3
-- @depends: release_3_8_0
4

  
5
ALTER TABLE defaults ADD COLUMN fuzzy_skonto boolean DEFAULT TRUE;
6
ALTER TABLE defaults ADD COLUMN fuzzy_skonto_percentage real DEFAULT 0.5;
templates/design40_webpages/client_config/_posting_configuration.html
151 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
    <tr>
155
      <th>[% LxERP.t8('Allow fuzzy skonto for payment bookings') %]</th>
156
      <td>[% L.yes_no_tag('defaults.fuzzy_skonto', SELF.defaults.fuzzy_skonto) %]</td>
157
      <td>[% LxERP.t8("If set to yes a percentage deviation will be allowed for otherwise strict skonto bookings. The deviation will booked to the skonto chart and the allowed deviation is also configurable.") %]</td>
158
    </tr>
159
    <tr>
160
      <th>[% LxERP.t8('Allowed skonto percentage deviation') %]</th>
161
      <td>[% L.input_tag('defaults.fuzzy_skonto_percentage_as_number', SELF.defaults.fuzzy_skonto_percentage_as_number, size=5, class="numeric") %]%</td>
162
      <td>[% LxERP.t8("The allowed Skonto Percentage Deivation defaults to 0.5% of the invoice amount") %]</td>
163
    </tr>
154 164
  </tbody>
155 165
</table>
156 166

  
templates/webpages/client_config/_posting_configuration.html
133 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
  <tr>
137
   <td align="right">[% LxERP.t8('Allow fuzzy skonto for payment bookings') %]</td>
138
   <td>[% L.yes_no_tag('defaults.fuzzy_skonto', SELF.defaults.fuzzy_skonto) %]</td>
139
   <td>[% LxERP.t8("If set to yes a percentage deviation will be allowed for otherwise strict skonto bookings. The deviation will booked to the skonto chart and the allowed deviation is also configurable.") %]</td>
140
  </tr>
141
  <tr>
142
   <td align="right">[% LxERP.t8('Allowed skonto percentage deviation') %]</td>
143
   <td>[% L.input_tag('defaults.fuzzy_skonto_percentage_as_number', SELF.defaults.fuzzy_skonto_percentage_as_number, size=5, class="numeric") %]%</td>
144
   <td>[% LxERP.t8("The allowed Skonto Percentage Deivation defaults to 0.5% of the invoice amount") %]</td>
145
  </tr>
146

  
136 147
 </table>
137 148
</div>

Auch abrufbar als: Unified diff