Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 618f7061

Von Werner Hahn vor etwa 6 Jahren hinzugefügt

  • ID 618f7061cc6a057ec172ae3f2a8e2006742238e0
  • Vorgänger 94ebf174
  • Nachfolger 3cf720a8

Kundenstatistik: Fehler beim Link zu Rechnungen behoben

Unterschiede anzeigen:

locale/de/all
1094 1094
  'Dunning overview'            => 'Mahnungsübersicht',
1095 1095
  'Dunning status'              => 'Mahnstatus',
1096 1096
  'Dunnings'                    => 'Mahnungen',
1097
  'Dunnings (Id -- Dunning Date --Dunning Level -- Dunning Fee)' => 'Mahnungen -- Mahndatum -- Mahnstufe -- Mahngebühr/Zinsen',
1097
  'Dunnings (Id -- Dunning Date --Dunning Level -- Dunning Fee)' => 'Mahnungen (Nummer -- Mahndatum -- Mahnstufe -- Mahngebühr/Zinsen)',
1098 1098
  'Dunningstatistic'            => 'Mahnstatistik',
1099 1099
  'Duplicate in CSV file'       => 'Duplikat in CSV-Datei',
1100 1100
  'Duplicate in database'       => 'Duplikat in Datenbank',
templates/webpages/customer_vendor_turnover/_list_open_items.html
8 8
    <caption class="listtop">[%- HTML.escape(title) %]</caption>
9 9
    <tbody>
10 10
      <tr>
11
        <td class="listheading">[% 'Type' | $T8 %]</td>
11 12
        <td class="listheading">[% 'Invoice Number' | $T8 %]</td>
12 13
        <td class="listheading">[% 'Invoice Date' | $T8 %]</td>
13 14
        <td class="listheading">[% 'Amount' | $T8 %]</td>
14 15
        <td class="listheading">[% 'Inv. Duedate' | $T8 %]</td>
15 16
        <td class="listheading">[% 'Paid' | $T8 %]</td>
16 17
        <td class="listheading">[% 'Open Amount' | $T8 %]</td>
17
        <td class="listheading">[% 'Dunnings (Id -- Dunning Date --Dunning Level -- Dunning Fee)' | $T8 %]</td>
18
        [% IF FORM.db == 'customer' %]
19
          <td class="listheading">[% 'Dunnings (Id -- Dunning Date --Dunning Level -- Dunning Fee)' | $T8 %]</td>
20
        [% END %]
18 21
      </tr>
19 22

  
20 23
      [%- FOREACH row = OPEN_ITEMS %]
21
      <tr class="listrow[% loop.count % 2 %]">
22
        <td><a href="[% IF row.type == 'invoice' || row.type == 'credit_note' %]is.pl[% ELSE %]ar.pl[% END %]?action=edit&id=[% row.id %]#ui-tabs-basic-data">[% row.invnumber | html %]</a></td>
23
        <td>[% row.transdate.to_kivitendo | html %]</td>
24
        <td>[%- LxERP.format_amount(row.amount, 2) %]</td>
25
        <td>[% row.duedate.to_kivitendo | html %]</td>
26
        <td>[%- LxERP.format_amount(row.paid, 2) %]</td>
27
        <td>[%- LxERP.format_amount(row.amount - row.paid,2) %]
28
        <td>
29
        [%- IF row.dunning_config_id != '' %]
30
          [%- FOREACH dun = row.dunnings %]
31
          [% dun.dunning_id | html %] -- [% dun.transdate.to_kivitendo | html %] -- [% dun.dunning_level | html %] -- [%- LxERP.format_amount(dun.fee, 2) %]<br>
24
        [% IF FORM.db == 'customer' %]
25
          [% IF row.type == 'invoice' %]
26
            [% SET type = 'Invoice (one letter abbreviation)' %]
27
            [% SET link = 'is.pl' %]
28
          [% ELSIF row.type == 'credit_note' %]
29
            [% SET type = 'Credit note (one letter abbreviation)' %]
30
            [% SET link = 'is.pl' %]
31
          [% ELSE %]
32
            [% SET type = 'AR Transaction (abbreviation)' %]
33
            [% SET link = 'ar.pl' %]
34
          [% END %]
35
        [% ELSE %]
36
          [% IF row.invoice %]
37
            [% SET type = 'Invoice (one letter abbreviation)' %]
38
            [% SET link = 'ir.pl' %]
39
          [% ELSE %]
40
            [% SET type = 'AP Transaction (abbreviation)' %]
41
            [% SET link = 'ap.pl' %]
32 42
          [% END %]
33 43
        [% END %]
34
        </td>
35
      </tr>
44
        <tr class="listrow[% loop.count % 2 %]">
45
          <td>[% type | $T8 %]</td>
46
          <td><a href="[% link %]?action=edit&id=[% row.id %]">[% row.invnumber | html %]</a></td>
47
          <td>[% row.transdate.to_kivitendo | html %]</td>
48
          <td>[%- LxERP.format_amount(row.amount, 2) %]</td>
49
          <td>[% row.duedate.to_kivitendo | html %]</td>
50
          <td>[%- LxERP.format_amount(row.paid, 2) %]</td>
51
          <td>[%- LxERP.format_amount(row.amount - row.paid,2) %]
52
          [% IF FORM.db == 'customer' %]
53
            <td>
54
            [%- IF row.dunning_config_id != '' %]
55
              [%- FOREACH dun = row.dunnings %]
56
              [% dun.dunning_id | html %] -- [% dun.transdate.to_kivitendo | html %] -- [% dun.dunning_level | html %] -- [%- LxERP.format_amount(dun.fee, 2) %]<br>
57
              [% END %]
58
            [% END %]
59
            </td>
60
          [% END %]
61
        </tr>
36 62
      [% END %]
37 63
    </tbody>
38 64
  </table>
templates/webpages/customer_vendor_turnover/invoices_statistic.html
6 6
  <table width="100%">
7 7
    <tbody>
8 8
      <tr>
9
        <td class="listheading">[% 'Type' | $T8 %]</td>
9 10
        <td class="listheading">[% 'Invoice Number' | $T8 %]</td>
10 11
        <td class="listheading">[% 'Invoice Date' | $T8 %]</td>
11 12
        <td class="listheading">[% 'Amount' | $T8 %]</td>
......
15 16
      </tr>
16 17

  
17 18
      [%- FOREACH row = invoices %]
18
      <tr class="listrow[% loop.count % 2 %]">
19
        <td><a href="[% IF row.type == 'invoice' || row.type == 'credit_note' %]is.pl[% ELSE %]ar.pl[% END %]?action=edit&id=[% row.id %]#ui-tabs-basic-data">[% row.invnumber | html %]</a></td>
20
        <td>[% row.transdate.to_kivitendo | html %]</td>
21
        <td>[%- LxERP.format_amount(row.amount, 2) %]</td>
22
        <td>[% row.duedate.to_kivitendo | html %]</td>
23
        <td>[%- LxERP.format_amount(row.paid, 2) %]</td>
24
        <td>[%- LxERP.format_amount(row.amount - row.paid, 2) %]
25
      </tr>
19
        [% IF FORM.db == 'customer' %]
20
          [% IF row.type == 'invoice' %]
21
            [% SET type = 'Invoice (one letter abbreviation)' %]
22
            [% SET link = 'is.pl' %]
23
          [% ELSIF row.type == 'credit_note' %]
24
            [% SET type = 'Credit note (one letter abbreviation)' %]
25
            [% SET link = 'is.pl' %]
26
          [% ELSE %]
27
            [% SET type = 'AR Transaction (abbreviation)' %]
28
            [% SET link = 'ar.pl' %]
29
          [% END %]
30
        [% ELSE %]
31
          [% IF row.invoice %]
32
            [% SET type = 'Invoice (one letter abbreviation)' %]
33
            [% SET link = 'ir.pl' %]
34
          [% ELSE %]
35
            [% SET type = 'AP Transaction (abbreviation)' %]
36
            [% SET link = 'ap.pl' %]
37
          [% END %]
38
        [% END %]
39
        <tr class="listrow[% loop.count % 2 %]">
40
          <td>[% type | $T8 %]</td>
41
          <td><a href="[% link %]?action=edit&id=[% row.id %]">[% row.invnumber | html %]</a></td>
42
          <td>[% row.transdate.to_kivitendo | html %]</td>
43
          <td>[%- LxERP.format_amount(row.amount, 2) %]</td>
44
          <td>[% row.duedate.to_kivitendo | html %]</td>
45
          <td>[%- LxERP.format_amount(row.paid, 2) %]</td>
46
          <td>[%- LxERP.format_amount(row.amount - row.paid, 2) %]
47
        </tr>
26 48
      [% END %]
27 49
    </tbody>
28 50
  </table>

Auch abrufbar als: Unified diff