Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 64bd0b7a

Von Hans P. Schlaepfer vor fast 5 Jahren hinzugefügt

  • ID 64bd0b7af54cc102214c4727099483e05c1430f7
  • Vorgänger 16741a55
  • Nachfolger b1434b45

Neues Design 2019 Standard-Code templates/webpages/acctranscorrections/analyze_overview.html

Unterschiede anzeigen:

templates/webpages/acctranscorrections/analyze_overview.html
6 6

  
7 7
 <p>
8 8
  [% 'Period' | $T8 %]:
9
  [%- IF transdate_from || transdate_to %]
10
   [%- IF transdate_from %]
9
  [% IF transdate_from || transdate_to %]
10
   [% IF transdate_from %]
11 11
   [% 'from (time)' | $T8 %] [% transdate_from %]
12
   [%- END %]
13
   [%- IF transdate_to %]
12
   [% END %]
13
   [% IF transdate_to %]
14 14
   [% 'to (time)' | $T8 %] [% transdate_to %]
15
   [%- END %]
16
  [%- ELSE %]
15
   [% END %]
16
  [% ELSE %]
17 17
  [% 'all entries' | $T8 %]
18
  [%- END %]
18
  [% END %]
19 19
 </p>
20 20

  
21
 <p>
22 21
  <table width="100%">
23 22
   <tr>
24
    <th class="listheading">[% 'Transaction' | $T8 %]</th>
25
    <th class="listheading">[% 'Problem' | $T8 %]</th>
26
    <th class="listheading">[% 'Solution' | $T8 %]</th>
23
    <th>[% 'Transaction' | $T8 %]</th>
24
    <th>[% 'Problem' | $T8 %]</th>
25
    <th>[% 'Solution' | $T8 %]</th>
27 26
   </tr>
28 27

  
29
   [%- FOREACH problem = PROBLEMS %]
28
   [% FOREACH problem = PROBLEMS %]
30 29
   <tr class="listrow[% loop.count % 2 %]">
31
    <td valign="top">
32
     [%- IF problem.type == 'ap_ar_wrong_taxkeys' %]
33
      [%- IF problem.ap_problems.size %]
30
    <td>
31
     [% IF problem.type == 'ap_ar_wrong_taxkeys' %]
32
      [% IF problem.ap_problems.size %]
34 33
       [% 'AP Transactions' | $T8 %]
35
       [%- FOREACH ap = problem.ap_problems %]
36
        [%- UNLESS loop.first %], [%- END %]
34
       [% FOREACH ap = problem.ap_problems %]
35
        [% UNLESS loop.first %], [% END %]
37 36
        <a href="[% ap.link %]">[% HTML.escape(ap.data.reference) %]</a>
38
       [%- END %]
39
      [%- END %]
37
       [% END %]
38
      [% END %]
40 39

  
41
      [%- IF problem.ar_problems.size %]
42
       [%- IF problem.ap_problems.size %]; [%- END %]
40
      [% IF problem.ar_problems.size %]
41
       [% IF problem.ap_problems.size %]; [% END %]
43 42
       [% 'AR Transactions' | $T8 %]
44
       [%- FOREACH ar = problem.ar_problems %]
45
        [%- UNLESS loop.first %], [%- END %]
43
       [% FOREACH ar = problem.ar_problems %]
44
        [% UNLESS loop.first %], [% END %]
46 45
        <a href="[% ar.link %]">[% HTML.escape(ar.data.reference) %]</a>
47
       [%- END %]
48
      [%- END %]
46
       [% END %]
47
      [% END %]
49 48

  
50 49

  
51
     [%- ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
52
      [%- IF problem.ar_problems.size %]
50
     [% ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
51
      [% IF problem.ar_problems.size %]
53 52
       [% 'Sales invoices' | $T8 %]
54
       [%- FOREACH subproblem = problem.ar_problems %]
55
        [%- UNLESS loop.first %], [%- END %]
53
       [% FOREACH subproblem = problem.ar_problems %]
54
        [% UNLESS loop.first %], [% END %]
56 55
        <a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
57
       [%- END %]
58
      [%- END %]
56
       [% END %]
57
      [% END %]
59 58

  
60
      [%- IF problem.ap_problems.size %]
61
       [%- IF problem.ar_problems.size %]; [%- END %]
59
      [% IF problem.ap_problems.size %]
60
       [% IF problem.ar_problems.size %]; [% END %]
62 61
       [% 'Purchase invoices' | $T8 %]
63
       [%- FOREACH subproblem = problem.ap_problems %]
64
        [%- UNLESS loop.first %], [%- END %]
62
       [% FOREACH subproblem = problem.ap_problems %]
63
        [% UNLESS loop.first %], [% END %]
65 64
        <a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
66
       [%- END %]
67
      [%- END %]
65
       [% END %]
66
      [% END %]
68 67

  
69
     [%- ELSIF problem.type == 'missing_taxkeys_in_invoices' %]
70
      [%- IF problem.ar_problems.size %]
68
     [% ELSIF problem.type == 'missing_taxkeys_in_invoices' %]
69
      [% IF problem.ar_problems.size %]
71 70
       [% 'Sales invoices' | $T8 %]
72
       [%- FOREACH subproblem = problem.ar_problems %]
73
        [%- UNLESS loop.first %], [%- END %]
71
       [% FOREACH subproblem = problem.ar_problems %]
72
        [% UNLESS loop.first %], [% END %]
74 73
        <a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
75
       [%- END %]
76
      [%- END %]
74
       [% END %]
75
      [% END %]
77 76

  
78
      [%- IF problem.ap_problems.size %]
79
       [%- IF problem.ar_problems.size %]; [%- END %]
77
      [% IF problem.ap_problems.size %]
78
       [% IF problem.ar_problems.size %]; [% END %]
80 79
       [% 'Purchase invoices' | $T8 %]
81
       [%- FOREACH subproblem = problem.ap_problems %]
82
        [%- UNLESS loop.first %], [%- END %]
80
       [% FOREACH subproblem = problem.ap_problems %]
81
        [% UNLESS loop.first %], [% END %]
83 82
        <a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
84
       [%- END %]
85
      [%- END %]
83
       [% END %]
84
      [% END %]
86 85

  
87
     [%- ELSE %]
86
     [% ELSE %]
88 87

  
89 88
     <a href="[% problem.link %]">
90
      [%- IF problem.data.module == 'ar' %]
89
      [% IF problem.data.module == 'ar' %]
91 90
      [% 'AR Transaction' | $T8 %]
92
      [%- ELSIF problem.data.module == 'ap' %]
91
      [% ELSIF problem.data.module == 'ap' %]
93 92
      [% 'AP Transaction' | $T8 %]
94
      [%- ELSE %]
93
      [% ELSE %]
95 94
      [% 'General Ledger Transaction' | $T8 %]
96
      [%- END %]
95
      [% END %]
97 96
      [% HTML.escape(problem.data.reference) %]
98 97
     </a>
99 98

  
100 99
      <!-- ( [% problem.data.module %].id = acc_trans.trans_id = [% HTML.escape(problem.data.trans_id) %] ) -->
101 100

  
102
     [%- END %]
101
     [% END %]
103 102
    </td>
104 103

  
105
    <td valign="top">
106
     [%- IF problem.type == 'split_multiple_credit_and_debit' %]
104
    <td>
105
     [% IF problem.type == 'split_multiple_credit_and_debit' %]
107 106
     [% 'Transaction has been split on both the credit and the debit side' | $T8 %]
108 107

  
109
     [%- ELSIF problem.type == 'wrong_taxkeys' %]
108
     [% ELSIF problem.type == 'wrong_taxkeys' %]
110 109
     [% 'Wrong tax keys recorded' | $T8 %]
111 110

  
112
     [%- ELSIF problem.type == 'wrong_taxes' %]
111
     [% ELSIF problem.type == 'wrong_taxes' %]
113 112
     [% 'Wrong taxes recorded' | $T8 %]
114 113

  
115
     [%- ELSIF problem.type == 'ap_ar_wrong_taxkeys' %]
114
     [% ELSIF problem.type == 'ap_ar_wrong_taxkeys' %]
116 115
     [% 'AP transactions with sales taxkeys and/or AR transactions with input taxkeys' | $T8 %]
117 116

  
118
     [%- ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
117
     [% ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
119 118
     [% 'Sales and purchase invoices with inventory transactions with taxkeys' | $T8 %]
120 119

  
121
     [%- ELSIF problem.type == 'missing_taxkeys_in_invoices' %]
120
     [% ELSIF problem.type == 'missing_taxkeys_in_invoices' %]
122 121
     [% 'Missing taxkeys in invoices with taxes.' | $T8 %]
123 122

  
124
     [%- END %]
123
     [% END %]
125 124
    </td>
126 125

  
127
    <td valign="top">
128
     [%- IF problem.type == 'split_multiple_credit_and_debit' %]
126
    <td>
127
     [% IF problem.type == 'split_multiple_credit_and_debit' %]
129 128
     [% 'This transaction has to be split into several transactions manually.' | $T8 %]
130 129

  
131
     [%- ELSIF (problem.type == 'wrong_taxkeys') || (problem.type == 'wrong_taxes') %]
130
     [% ELSIF (problem.type == 'wrong_taxkeys') || (problem.type == 'wrong_taxes') %]
132 131
     <a href="acctranscorrections.pl?action=assistant&trans_id=[% HTML.url(problem.data.trans_id) %]&trans_module=[% HTML.url(problem.data.module) %]&trans_reference=[% HTML.url(problem.data.reference) %]&callback=[% callback %]">
133 132
      [% 'Start the correction assistant' | $T8 %]
134 133
     </a>
135 134

  
136
     [%- ELSIF problem.type == 'ap_ar_wrong_taxkeys' %]
135
     [% ELSIF problem.type == 'ap_ar_wrong_taxkeys' %]
137 136
     <a href="acctranscorrections.pl?action=assistant_for_ap_ar_wrong_taxkeys&callback=[% callback %]">
138 137
      [% 'Start the correction assistant' | $T8 %]
139 138
     </a>
140 139

  
141
     [%- ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
140
     [% ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
142 141
     <a href="acctranscorrections.pl?action=assistant_for_invoice_inventory_with_taxkeys&callback=[% callback %]">
143 142
      [% 'Start the correction assistant' | $T8 %]
144 143
     </a>
145 144

  
146
     [%- END %]
145
     [% END %]
147 146
    </td>
148 147
   </tr>
149
   [%- END %]
148
   [% END %]
150 149

  
151 150
  </table>
152
 </p>
151

  
153 152

  
154 153
 <hr>
155 154

  

Auch abrufbar als: Unified diff