Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 35868508

Von Bernd Bleßmann vor mehr als 1 Jahr hinzugefügt

  • ID 35868508d76c571a921487bb7c914f45f9d028e6
  • Vorgänger b607df3e
  • Nachfolger 33144478

design40: Auftrags-/Reklamations-Controller: Pos-Tabelle richtig ausrichten, …

… je nachdem, ob Kunden-/Lieferanten-Artikelnummern angezeigt werden.

Unterschiede anzeigen:

templates/design40_webpages/order/tabs/_tax_row.html
8 8
[% ELSE %]
9 9
  [% SET n_col = 11 %]
10 10
[% END %]
11

  
11
[% IF SELF.search_cvpartnumber %]
12
  [% SET n_col = n_col + 1 %]
13
[% END %]
12 14
<tr class="tax_row">
13 15
  <td colspan="[%- n_col %]"></td>
14 16
  [%- IF SELF.show_update_button -%]
templates/design40_webpages/order/tabs/basic_data.html
381 381
    [% ELSE %]
382 382
      [% SET add_col = 1 %]
383 383
    [% END %]
384
    [% IF SELF.search_cvpartnumber %]
385
      [% SET add_col = add_col + 1 %]
386
    [% END %]
384 387
    <tr id="subtotal_row_id">
385 388
      <td colspan="[%- 10 + add_col %]"></td>
386 389
      [%- IF SELF.show_update_button -%]
templates/design40_webpages/reclamation/tabs/basic_data.html
395 395
                title=LxERP.t8('Apply to selected rows'),
396 396
          ) %]
397 397
        </th>
398
        <th colspan="7"></th>
398
        <th colspan="[% (SELF.search_cvpartnumber ? 8 : 7) %]"></th>
399 399
      </tr>
400 400
    </thead>
401 401

  
......
405 405

  
406 406
    <tfoot>
407 407
      <tr id="subtotal_row_id">
408
        <td colspan="14"></td>
408
        <td colspan="[% (SELF.search_cvpartnumber ? 15 : 14) %]"></td>
409 409
        [%- IF SELF.show_update_button -%]
410 410
        <td></td>
411 411
        [%- END -%]
......
416 416
        [%- PROCESS reclamation/tabs/basic_data/_tax_row.html TAX=tax TAXINCLUDED=SELF.reclamation.taxincluded %]
417 417
      [%- END %]
418 418
      <tr id="amount_row_id">
419
        <td colspan="14"></td>
419
        <td colspan="[% (SELF.search_cvpartnumber ? 15 : 14) %]"></td>
420 420
        [%- IF SELF.show_update_button -%]
421 421
        <td></td>
422 422
        [%- END -%]
templates/design40_webpages/reclamation/tabs/basic_data/_tax_row.html
3 3
[%- USE LxERP %]
4 4
[%- USE L %]
5 5

  
6
[% SET n_col = (SELF.search_cvpartnumber ? 15 : 14) %]
6 7
<tr class="tax_row">
7
  <td colspan="14"></td>
8
  <td colspan="[% n_col %]"></td>
8 9
  [%- IF SELF.show_update_button -%]
9 10
  <td></td>
10 11
  [%- END -%]
......
13 14
</tr>
14 15
[%- IF TAXINCLUDED %]
15 16
<tr class="tax_row">
16
  <td colspan="14"></td>
17
  <td colspan="[% n_col %]"></td>
17 18
  [%- IF SELF.show_update_button -%]
18 19
  <td></td>
19 20
  [%- END -%]

Auch abrufbar als: Unified diff