Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision f24cf1f5

Von Moritz Bunkus vor mehr als 3 Jahren hinzugefügt

  • ID f24cf1f5ab8428ced545a382d0f0179ae6f40a81
  • Vorgänger ec4cffa8
  • Nachfolger ba40069b

Factur-X/ZUGFeRD: neues Feld »Unsere Leitweg-ID beim Kunden« in Kundenstammdaten

Wird für XRechnungs-Profil von ZUGFeRD benötigt.

Unterschiede anzeigen:

SL/DB/Helper/FlattenToForm.pm
39 39
                               department_1 department_2 discount email fax gln greeting homepage iban language name
40 40
                               natural_person phone street taxnumber ustid zipcode),
41 41
                            "${vc}number",
42
                            ($vc eq 'customer')? 'c_vendor_id': 'v_customer_id');
42
                            ($vc eq 'customer')? qw(c_vendor_id c_vendor_routing_id): 'v_customer_id');
43 43
  my @vc_prefixed_fields = qw(email fax notes number phone);
44 44

  
45 45
  _copy($self,                          $form, '',              '', 1, qw(amount netamount marge_total marge_percent container_remaining_weight container_remaining_volume paid exchangerate));
SL/DB/MetaSetup/Customer.pm
16 16
  bic                       => { type => 'text' },
17 17
  business_id               => { type => 'integer' },
18 18
  c_vendor_id               => { type => 'text' },
19
  c_vendor_routing_id       => { type => 'text' },
19 20
  cc                        => { type => 'text' },
20 21
  city                      => { type => 'text' },
21 22
  commercial_court          => { type => 'text' },
locale/de/all
2253 2253
  'Others'                      => 'Andere',
2254 2254
  'Otherwise the variable is only available for printing.' => 'Andernfalls steht die Variable nur beim Ausdruck zur Verfügung.',
2255 2255
  'Otherwise you can simply check create warehouse and bins and define a name for the warehouse (Bins will be created automatically) and then continue' => 'Andernfalls einfach <b>"Automatisches Zuweisen der Lagerplätze"</b>  anhaken und einen Namen für das Lager vergeben, bzw. per Auswahl auswählen (Lagerplätze werden dann automatisch hinzugefügt) danach auf weiter',
2256
  'Our routing id at customer'  => 'Unsere Leitweg-ID beim Kunden',
2256 2257
  'Out of balance transaction!' => 'Buchung ist nicht ausgeglichen!',
2257 2258
  'Out of balance!'             => 'Summen stimmen nicht überein!',
2258 2259
  'Output Number Format'        => 'Zahlenformat (Ausgabe)',
sql/Pg-upgrade2/customer_vendor_routing_id.sql
1
-- @tag: customer_vendor_routing_id
2
-- @description: Kundenstammdaten: Feld »Unsere Leitweg-ID beim Kunden«
3
-- @depends: release_3_5_6
4
ALTER TABLE customer
5
ADD COLUMN c_vendor_routing_id TEXT;
templates/webpages/customer_vendor/tabs/billing.html
242 242
    </tr>
243 243

  
244 244
    <tr>
245
      [% IF ( SELF.all_currencies.size ) %]
246
        <th align="right">[% 'Currency' | $T8 %]</th>
247
        <td>
248
          [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %]
249
        </td>
250
      [% END %]
251

  
245 252
      <th align="right">[% 'Tax Number / SSN' | $T8 %]</th>
246 253

  
247 254
      <td>
......
255 262
      <td>
256 263
        [% L.input_tag('cv.ustid', SELF.cv.ustid, size = 20 ) %]
257 264
      </td>
265
    </tr>
258 266

  
259

  
260
      [%- IF ( SELF.is_vendor() ) %]
261
        <th align="right">[% 'Customer Number' | $T8 %]</th>
267
    <tr>
268
      [% IF ( SELF.is_customer() ) %]
269
        <th align="right">[% 'Commercial court' | $T8 %]</th>
262 270
        <td>
263
          [% L.input_tag('cv.v_customer_id', SELF.cv.v_customer_id, size = 10) %]
271
          [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
264 272
        </td>
265
      [%- ELSE %]
273

  
266 274
        <th align="right">[% 'our vendor number at customer' | $T8 %]</th>
267 275
        <td>
268
          [% L.input_tag('cv.c_vendor_id', SELF.cv.c_vendor_id, size = 10) %]
276
          [% L.input_tag('cv.c_vendor_id', SELF.cv.c_vendor_id, size = 20) %]
269 277
        </td>
270
      [%- END %]
271
    </tr>
272 278

  
273
    <tr>
274
      [% IF ( SELF.is_customer() ) %]
275
        <th align="right">[% 'Commercial court' | $T8 %]</th>
279
        <th align="right">[% 'Our routing id at customer' | $T8 %]</th>
276 280
        <td>
277
          [% L.input_tag('cv.commercial_court', SELF.cv.commercial_court, size = 20) %]
281
          [% L.input_tag('cv.c_vendor_routing_id', SELF.cv.c_vendor_routing_id, size = 20) %]
278 282
        </td>
279
      [% END %]
280
      [% IF ( SELF.all_currencies.size ) %]
281
        <th align="right">[% 'Currency' | $T8 %]</th>
283

  
284
      [%- ELSE %]
285
        <th align="right">[% 'Customer Number' | $T8 %]</th>
282 286
        <td>
283
          [% L.select_tag('cv.currency_id', SELF.all_currencies, title_key = 'name', value_key = 'id', default = SELF.cv.currency_id) %]
287
          [% L.input_tag('cv.v_customer_id', SELF.cv.v_customer_id, size = 20) %]
284 288
        </td>
285
      [% END %]
289
      [%- END %]
286 290
    </tr>
287 291
    <tr>
288 292
      [% IF ( !INSTANCE_CONF.get_vertreter ) %]

Auch abrufbar als: Unified diff