Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision b61f5c3d

Von Sven Schöling vor mehr als 14 Jahren hinzugefügt

  • ID b61f5c3df68e3a3b4fb6a8a287172b0989215748
  • Vorgänger 5ec5ebed
  • Nachfolger 77919bac

Templates werden nicht mehr explizit übersetzt: *_master in * umbenannt

Ersetzt commit 6e77701e6cefdfe61861e82dd500f8d9582c482c.
Erzeugt durch:

for file in `find templates | grep _master.html`; do git mv $file ${file/_master}; done

Unterschiede anzeigen:

templates/webpages/acctranscorrections/analyze_filter.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4
 <p><div class="listheading">[% title %]</div></p>
5

  
6
 <p>
7
  [% 'Earlier versions of Lx-Office contained bugs which might have led to wrong entries in the general ledger.' | $T8 %]
8
  [% 'These wrong entries cannot be fixed automatically.' | $T8 %]
9
  [% 'This module can help you identify and correct such entries by analyzing the general ledger and presenting you likely solutions but also allowing you to fix problems yourself.' | $T8 %]
10
 </p>
11

  
12
 <form name="filter" method="post" action="acctranscorrections.pl">
13

  
14
  <p>[% 'Time period for the analysis:' | $T8 %]</p>
15

  
16
  <p>
17
   <table>
18
    <tr>
19
     <td><input type="radio" name="scope" id="scope_full" value="full" checked></td>
20
     <td><label for="scope_full">[% 'All general ledger entries' | $T8 %]</label></td>
21
    </tr>
22

  
23
    <tr>
24
     <td><input type="radio" name="scope" id="scope_period" value="period"></td>
25
     <td>
26
      [% 'Period:' | $T8 %]
27
      [% 'from (time)' | $T8 %]
28
      <input name="transdate_from" id="transdate_from" size="10">
29
      <input type="button" name="transdate_from_trigger" id="transdate_from_trigger" value="?">
30
      [% 'to (time)' | $T8 %]
31
      <input name="transdate_to" id="transdate_to" size="10">
32
      <input type="button" name="transdate_to_trigger" id="transdate_to_trigger" value="?">
33
     </td>
34
    </tr>
35
   </table>
36
  </p>
37

  
38
  <p>
39
   <input type="submit" value="[% 'Start analysis' | $T8 %]">
40
  </p>
41

  
42
  <input type="hidden" name="action" value="analyze">
43
 </form>
44

  
45
 <script type="text/javascript">
46
  <!--
47
    Calendar.setup({ inputField : "transdate_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_from_trigger" });
48
    Calendar.setup({ inputField : "transdate_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_to_trigger" });
49
  //-->
50
 </script>
51
</body>
52
</html>
templates/webpages/acctranscorrections/analyze_filter_master.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4
 <p><div class="listheading">[% title %]</div></p>
5

  
6
 <p>
7
  [% 'Earlier versions of Lx-Office contained bugs which might have led to wrong entries in the general ledger.' | $T8 %]
8
  [% 'These wrong entries cannot be fixed automatically.' | $T8 %]
9
  [% 'This module can help you identify and correct such entries by analyzing the general ledger and presenting you likely solutions but also allowing you to fix problems yourself.' | $T8 %]
10
 </p>
11

  
12
 <form name="filter" method="post" action="acctranscorrections.pl">
13

  
14
  <p>[% 'Time period for the analysis:' | $T8 %]</p>
15

  
16
  <p>
17
   <table>
18
    <tr>
19
     <td><input type="radio" name="scope" id="scope_full" value="full" checked></td>
20
     <td><label for="scope_full">[% 'All general ledger entries' | $T8 %]</label></td>
21
    </tr>
22

  
23
    <tr>
24
     <td><input type="radio" name="scope" id="scope_period" value="period"></td>
25
     <td>
26
      [% 'Period:' | $T8 %]
27
      [% 'from (time)' | $T8 %]
28
      <input name="transdate_from" id="transdate_from" size="10">
29
      <input type="button" name="transdate_from_trigger" id="transdate_from_trigger" value="?">
30
      [% 'to (time)' | $T8 %]
31
      <input name="transdate_to" id="transdate_to" size="10">
32
      <input type="button" name="transdate_to_trigger" id="transdate_to_trigger" value="?">
33
     </td>
34
    </tr>
35
   </table>
36
  </p>
37

  
38
  <p>
39
   <input type="submit" value="[% 'Start analysis' | $T8 %]">
40
  </p>
41

  
42
  <input type="hidden" name="action" value="analyze">
43
 </form>
44

  
45
 <script type="text/javascript">
46
  <!--
47
    Calendar.setup({ inputField : "transdate_from", ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_from_trigger" });
48
    Calendar.setup({ inputField : "transdate_to",   ifFormat :"[% myconfig_jsc_dateformat %]", align : "BL", button : "transdate_to_trigger" });
49
  //-->
50
 </script>
51
</body>
52
</html>
templates/webpages/acctranscorrections/analyze_overview.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>[% 'Lx-Office has found one or more problems in the general ledger.' | $T8 %]</p>
8

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

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

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

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

  
52

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

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

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

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

  
89
     [%- ELSE %]
90

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

  
102
      <!-- ( [% problem.data.module %].id = acc_trans.trans_id = [% HTML.escape(problem.data.trans_id) %] ) -->
103

  
104
     [%- END %]
105
    </td>
106

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

  
111
     [%- ELSIF problem.type == 'wrong_taxkeys' %]
112
     [% 'Wrong tax keys recorded' | $T8 %]
113

  
114
     [%- ELSIF problem.type == 'wrong_taxes' %]
115
     [% 'Wrong taxes recorded' | $T8 %]
116

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

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

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

  
126
     [%- END %]
127
    </td>
128

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

  
133
     [%- ELSIF (problem.type == 'wrong_taxkeys') || (problem.type == 'wrong_taxes') %]
134
     <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 %]">
135
      [% 'Start the correction assistant' | $T8 %]
136
     </a>
137

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

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

  
148
     [%- END %]
149
    </td>
150
   </tr>
151
   [%- END %]
152

  
153
  </table>
154
 </p>
155

  
156
 <hr>
157

  
158
</body>
159
</html>
templates/webpages/acctranscorrections/analyze_overview_master.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>[% 'Lx-Office has found one or more problems in the general ledger.' | $T8 %]</p>
8

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

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

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

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

  
52

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

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

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

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

  
89
     [%- ELSE %]
90

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

  
102
      <!-- ( [% problem.data.module %].id = acc_trans.trans_id = [% HTML.escape(problem.data.trans_id) %] ) -->
103

  
104
     [%- END %]
105
    </td>
106

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

  
111
     [%- ELSIF problem.type == 'wrong_taxkeys' %]
112
     [% 'Wrong tax keys recorded' | $T8 %]
113

  
114
     [%- ELSIF problem.type == 'wrong_taxes' %]
115
     [% 'Wrong taxes recorded' | $T8 %]
116

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

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

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

  
126
     [%- END %]
127
    </td>
128

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

  
133
     [%- ELSIF (problem.type == 'wrong_taxkeys') || (problem.type == 'wrong_taxes') %]
134
     <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 %]">
135
      [% 'Start the correction assistant' | $T8 %]
136
     </a>
137

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

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

  
148
     [%- END %]
149
    </td>
150
   </tr>
151
   [%- END %]
152

  
153
  </table>
154
 </p>
155

  
156
 <hr>
157

  
158
</body>
159
</html>
templates/webpages/acctranscorrections/assistant_for_ap_ar_wrong_taxkeys.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'There is at least one transaction for which the user has chosen a logically wrong taxkey.' | $T8 %]
9

  
10
  [% 'This means that the user has created an AP transaction and chosen a taxkey for sales taxes, or that he has created an AR transaction and chosen a taxkey for input taxes.' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  [% 'Lx-Office can fix these problems automatically.' | $T8 %]
15

  
16
  [% 'For AP transactions it will replace the sales taxkeys with input taxkeys with the same tax rate.' | $T8 %]
17

  
18
  [% 'For AR transactions it will replace the input taxkeys with sales taxkeys with the same tax rate.' | $T8 %]
19
 </p>
20

  
21
 <form name="Form" action="acctranscorrections.pl" method="post">
22

  
23
  <p>
24
   <input type="hidden" name="action" value="fix_ap_ar_wrong_taxkeys">
25
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
26
   <input type="submit" class="submit" value="[% 'Fix transactions' | $T8 %]">
27
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
28
  </p>
29
 </form>
30

  
31
</body>
32
</html>
templates/webpages/acctranscorrections/assistant_for_ap_ar_wrong_taxkeys_master.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'There is at least one transaction for which the user has chosen a logically wrong taxkey.' | $T8 %]
9

  
10
  [% 'This means that the user has created an AP transaction and chosen a taxkey for sales taxes, or that he has created an AR transaction and chosen a taxkey for input taxes.' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  [% 'Lx-Office can fix these problems automatically.' | $T8 %]
15

  
16
  [% 'For AP transactions it will replace the sales taxkeys with input taxkeys with the same tax rate.' | $T8 %]
17

  
18
  [% 'For AR transactions it will replace the input taxkeys with sales taxkeys with the same tax rate.' | $T8 %]
19
 </p>
20

  
21
 <form name="Form" action="acctranscorrections.pl" method="post">
22

  
23
  <p>
24
   <input type="hidden" name="action" value="fix_ap_ar_wrong_taxkeys">
25
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
26
   <input type="submit" class="submit" value="[% 'Fix transactions' | $T8 %]">
27
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
28
  </p>
29
 </form>
30

  
31
</body>
32
</html>
templates/webpages/acctranscorrections/assistant_for_invoice_inventory_with_taxkeys.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'There is at least one sales or purchase invoice for which Lx-Office recorded an inventory transaction with taxkeys even though no tax was recorded.' | $T8 %]
9
 </p>
10

  
11
 <p>
12
  [% 'Lx-Office can fix these problems automatically.' | $T8 %]
13

  
14
  [% 'It will simply set the taxkey to 0 (meaning "no taxes") which is the correct value for such inventory transactions.' | $T8 %]
15
 </p>
16

  
17
 <form name="Form" action="acctranscorrections.pl" method="post">
18

  
19
  <p>
20
   <input type="hidden" name="action" value="fix_invoice_inventory_with_taxkeys">
21
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
22
   <input type="submit" class="submit" value="[% 'Fix transactions' | $T8 %]">
23
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
24
  </p>
25
 </form>
26

  
27
</body>
28
</html>
templates/webpages/acctranscorrections/assistant_for_invoice_inventory_with_taxkeys_master.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'There is at least one sales or purchase invoice for which Lx-Office recorded an inventory transaction with taxkeys even though no tax was recorded.' | $T8 %]
9
 </p>
10

  
11
 <p>
12
  [% 'Lx-Office can fix these problems automatically.' | $T8 %]
13

  
14
  [% 'It will simply set the taxkey to 0 (meaning "no taxes") which is the correct value for such inventory transactions.' | $T8 %]
15
 </p>
16

  
17
 <form name="Form" action="acctranscorrections.pl" method="post">
18

  
19
  <p>
20
   <input type="hidden" name="action" value="fix_invoice_inventory_with_taxkeys">
21
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
22
   <input type="submit" class="submit" value="[% 'Fix transactions' | $T8 %]">
23
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
24
  </p>
25
 </form>
26

  
27
</body>
28
</html>
templates/webpages/acctranscorrections/assistant_for_wrong_taxes.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The following transaction contains wrong taxes:' | $T8 %]
9
  <a href="[% problem.link %]">
10
   [%- IF problem.data.module == 'ar' %]
11
   [% 'AR Transaction' | $T8 %]
12
   [%- ELSIF problem.data.module == 'ap' %]
13
   [% 'AP Transaction' | $T8 %]
14
   [%- ELSE %]
15
   [% 'General Ledger Transaction' | $T8 %]
16
   [%- END %]
17
   [% HTML.escape(problem.data.reference) %]
18
  </a>
19
 </p>
20

  
21
 <p>[% 'At the moment the transaction looks like this:' | $T8 %]</p>
22

  
23
 <p>
24
  <table>
25
   <tr>
26
    <th class="listheading">[% 'Account' | $T8 %]</th>
27
    <th class="listheading">[% 'Debit' | $T8 %]</th>
28
    <th class="listheading">[% 'Credit' | $T8 %]</th>
29
    <th class="listheading">[% 'Taxkey' | $T8 %]</th>
30
    <th class="listheading">[% 'Recorded Tax' | $T8 %]</th>
31
    <th class="listheading">[% 'Expected Tax' | $T8 %]</th>
32
    <th class="listheading"></th>
33
   </tr>
34

  
35
   [%- SET curr_row = 0 %]
36
   [%- IF problem.acc_trans.credit.entries.size > problem.acc_trans.debit.entries.size %]
37
    [%- SET order = [ 'credit', 'debit' ] %]
38
    [%- SET other_side = 'debit' %]
39
   [%- ELSE %]
40
    [%- SET order = [ 'debit', 'credit' ] %]
41
    [%- SET other_side = 'credit' %]
42
   [%- END %]
43

  
44
   [%- FOREACH idx = order %]
45
    [%- FOREACH row = problem.acc_trans.$idx.entries %]
46
     [%- SET curr_row = curr_row + 1 %]
47
     <tr class="listrow[% curr_row % 2 %]">
48
      <td>[% HTML.escape(row.accno) %]--[% HTML.escape(row.chartdescription) %]</td>
49
      <td align="right">
50
       [%- IF idx == 'debit' %]
51
        [% LxERP.format_amount(row.display_amount, 2) %]
52
       [%- END %]
53
      </td>
54
      <td align="right">
55
       [%- IF idx == 'credit' %]
56
        [% LxERP.format_amount(row.display_amount, 2) %]
57
       [%- END %]
58
      </td>
59
      <td>[% IF idx != other_side %][% HTML.escape(row.taxdescription) %][% END %]</td>
60
      <td align="right">[% IF row.actual_tax %][% LxERP.format_amount(row.actual_tax, 2) %][% END %]</td>
61
      <td align="right">[% IF row.expected_tax %][% LxERP.format_amount(row.expected_tax, 2) %][% END %]</td>
62
      <td align="center" valign="center"><img src="image/[% IF row.tax_error %]error[% ELSE %]ok[% END %].png"></td>
63
     </tr>
64
    [%- END %]
65
   [%- END %]
66

  
67
  </table>
68
 </p>
69
 <hr>
70

  
71
 <form method="post" action="acctranscorrections.pl">
72
  <p>
73
   <input type="hidden" name="action" value="delete_transaction">
74
   <input type="hidden" name="trans_id" value="[% HTML.escape(problem.data.trans_id) %]">
75
   <input type="submit" class="submit" value="[% 'Delete transaction' | $T8 %]">
76
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
77
  </p>
78
 </form>
79

  
80
</body>
81
</html>
templates/webpages/acctranscorrections/assistant_for_wrong_taxes_master.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The following transaction contains wrong taxes:' | $T8 %]
9
  <a href="[% problem.link %]">
10
   [%- IF problem.data.module == 'ar' %]
11
   [% 'AR Transaction' | $T8 %]
12
   [%- ELSIF problem.data.module == 'ap' %]
13
   [% 'AP Transaction' | $T8 %]
14
   [%- ELSE %]
15
   [% 'General Ledger Transaction' | $T8 %]
16
   [%- END %]
17
   [% HTML.escape(problem.data.reference) %]
18
  </a>
19
 </p>
20

  
21
 <p>[% 'At the moment the transaction looks like this:' | $T8 %]</p>
22

  
23
 <p>
24
  <table>
25
   <tr>
26
    <th class="listheading">[% 'Account' | $T8 %]</th>
27
    <th class="listheading">[% 'Debit' | $T8 %]</th>
28
    <th class="listheading">[% 'Credit' | $T8 %]</th>
29
    <th class="listheading">[% 'Taxkey' | $T8 %]</th>
30
    <th class="listheading">[% 'Recorded Tax' | $T8 %]</th>
31
    <th class="listheading">[% 'Expected Tax' | $T8 %]</th>
32
    <th class="listheading"></th>
33
   </tr>
34

  
35
   [%- SET curr_row = 0 %]
36
   [%- IF problem.acc_trans.credit.entries.size > problem.acc_trans.debit.entries.size %]
37
    [%- SET order = [ 'credit', 'debit' ] %]
38
    [%- SET other_side = 'debit' %]
39
   [%- ELSE %]
40
    [%- SET order = [ 'debit', 'credit' ] %]
41
    [%- SET other_side = 'credit' %]
42
   [%- END %]
43

  
44
   [%- FOREACH idx = order %]
45
    [%- FOREACH row = problem.acc_trans.$idx.entries %]
46
     [%- SET curr_row = curr_row + 1 %]
47
     <tr class="listrow[% curr_row % 2 %]">
48
      <td>[% HTML.escape(row.accno) %]--[% HTML.escape(row.chartdescription) %]</td>
49
      <td align="right">
50
       [%- IF idx == 'debit' %]
51
        [% LxERP.format_amount(row.display_amount, 2) %]
52
       [%- END %]
53
      </td>
54
      <td align="right">
55
       [%- IF idx == 'credit' %]
56
        [% LxERP.format_amount(row.display_amount, 2) %]
57
       [%- END %]
58
      </td>
59
      <td>[% IF idx != other_side %][% HTML.escape(row.taxdescription) %][% END %]</td>
60
      <td align="right">[% IF row.actual_tax %][% LxERP.format_amount(row.actual_tax, 2) %][% END %]</td>
61
      <td align="right">[% IF row.expected_tax %][% LxERP.format_amount(row.expected_tax, 2) %][% END %]</td>
62
      <td align="center" valign="center"><img src="image/[% IF row.tax_error %]error[% ELSE %]ok[% END %].png"></td>
63
     </tr>
64
    [%- END %]
65
   [%- END %]
66

  
67
  </table>
68
 </p>
69
 <hr>
70

  
71
 <form method="post" action="acctranscorrections.pl">
72
  <p>
73
   <input type="hidden" name="action" value="delete_transaction">
74
   <input type="hidden" name="trans_id" value="[% HTML.escape(problem.data.trans_id) %]">
75
   <input type="submit" class="submit" value="[% 'Delete transaction' | $T8 %]">
76
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
77
  </p>
78
 </form>
79

  
80
</body>
81
</html>
templates/webpages/acctranscorrections/assistant_for_wrong_taxkeys.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The following transaction contains wrong taxkeys:' | $T8 %]
9
  <a href="[% problem.link %]">
10
   [%- IF problem.data.module == 'ar' %]
11
   [% 'AR Transaction' | $T8 %]
12
   [%- ELSIF problem.data.module == 'ap' %]
13
   [% 'AP Transaction' | $T8 %]
14
   [%- ELSE %]
15
   [% 'General Ledger Transaction' | $T8 %]
16
   [%- END %]
17
   [% HTML.escape(problem.data.reference) %]
18
  </a>
19
 </p>
20

  
21
 <p>
22
  [% 'This could have happened for two reasons:' | $T8 %]
23

  
24
  [% 'The first reason is that Lx-Office contained a bug which resulted in the wrong taxkeys being recorded for transactions in which two entries are posted for the same chart with different taxkeys.' | $T8 %]
25

  
26
  [% 'The second reason is that Lx-Office allowed the user to enter the tax amount manually regardless of the taxkey used.' | $T8 %]
27

  
28
  [% 'Such entries cannot be exported into the DATEV format and have to be fixed as well.' | $T8 %]
29
 </p>
30

  
31
 <p>
32
  [% 'The transaction is shown below in its current state.' | $T8 %]
33

  
34
  [% 'You can correct this transaction by chosing the correct taxkeys from the drop down boxes and hitting the button "Fix transaction" afterwards.' | $T8 %]
35

  
36
  [%- 'It is possible that even after such a correction there is something wrong with this transaction (e.g. taxes that don\'t match the selected taxkey). Therefore you should re-run the general ledger analysis.' | $T8 %]
37
 </p>
38

  
39
 <p>
40
  [% 'You can also delete this transaction and re-enter it manually.' | $T8 %]
41

  
42
  [% 'In order to do that hit the button "Delete transaction".' | $T8 %]
43
 </p>
44

  
45
 <p>[% 'At the moment the transaction looks like this:' | $T8 %]</p>
46

  
47
 <form method="post" action="acctranscorrections.pl" name="Form">
48
  <p>
49
   <table>
50
    <tr>
51
     <th class="listheading">[% 'Account' | $T8 %]</th>
52
     <th class="listheading">[% 'Debit' | $T8 %]</th>
53
     <th class="listheading">[% 'Credit' | $T8 %]</th>
54
     <th class="listheading">[% 'Recorded Tax' | $T8 %]</th>
55
     <th class="listheading">[% 'Recorded taxkey' | $T8 %]</th>
56
     <th class="listheading">[% 'Expected Tax' | $T8 %]</th>
57
     <th class="listheading"></th>
58
     <th class="listheading">[% 'Correct taxkey' | $T8 %]</th>
59
    </tr>
60

  
61
    [%- SET curr_row = 0 %]
62
    [%- IF (problem.data.module == 'ar') || ((problem.data.module == 'gl') && (problem.acc_trans.credit.entries.first.acc_trans_id < problem.acc_trans.debit.entries.first.acc_trans_id)) %]
63
     [%- SET order = [ 'credit', 'debit' ] %]
64
     [%- SET other_side = 'debit' %]
65
    [%- ELSE %]
66
     [%- SET order = [ 'debit', 'credit' ] %]
67
     [%- SET other_side = 'credit' %]
68
    [%- END %]
69

  
70

  
71
    [%- IF problem.acc_trans.credit.entries.size > problem.acc_trans.debit.entries.size %]
72
    [%- ELSE %]
73
    [%- END %]
74

  
75

  
76
    [%- FOREACH idx = order %]
77
     [%- FOREACH row = problem.acc_trans.$idx.entries %]
78
      [%- SET curr_row = curr_row + 1 %]
79
      <tr class="listrow[% curr_row % 2 %]">
80
       <td>[% HTML.escape(row.accno) %]--[% HTML.escape(row.chartdescription) %]</td>
81
       <td align="right">
82
        [%- IF idx == 'debit' %]
83
         [% LxERP.format_amount(row.display_amount, 2) %]
84
        [%- END %]
85
       </td>
86
       <td align="right">
87
        [%- IF idx == 'credit' %]
88
         [% LxERP.format_amount(row.display_amount, 2) %]
89
        [%- END %]
90
       </td>
91
       <td align="right">[% IF row.actual_tax %][% LxERP.format_amount(row.display_actual_tax, 2) %][% END %]</td>
92
       <td>[% IF (problem.data.module == 'gl') || (idx != other_side) %][% HTML.escape(row.taxdescription) %][% END %]</td>
93
       <td align="right">[% IF row.expected_tax %][% LxERP.format_amount(row.display_expected_tax, 2) %][% END %]</td>
94
       <td align="center" valign="center"><img src="image/[% IF row.taxkey_error %]error[% ELSE %]ok[% END %].png"></td>
95

  
96
       <td>
97
        [%- IF row.taxkey_error %]
98
         <input type="hidden" name="fixes[+].acc_trans_id" value="[% HTML.escape(row.acc_trans_id) %]">
99
         <input type="hidden" name="fixes[].tax_entry_acc_trans_id" value="[% HTML.escape(row.tax_entry_acc_trans_id) %]">
100
         <select name="fixes[].taxkey" style="width: 250px" onchange="enable_fix_button_maybe()">
101
          <option value="">[% '---please select---' | $T8 %]</option>
102
          [%- FOREACH taxkey = row.correct_taxkeys %]
103
           <option value="[% HTML.escape(taxkey.taxkey) %]">[% HTML.escape(taxkey.description) %]</option>
104
          [%- END %]
105
        [%- ELSE %]
106
        &nbsp;
107
        [%- END %]
108
      </tr>
109
     [%- END %]
110
    [%- END %]
111

  
112
   </table>
113
  </p>
114
  <hr>
115

  
116
  <p>
117
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
118

  
119
   <input type="hidden" name="action" value="dispatcher">
120
   <input type="hidden" name="trans_id" value="[% HTML.escape(problem.data.trans_id) %]">
121
   <input type="hidden" name="module" value="[% HTML.escape(problem.data.module) %]">
122
   <input type="hidden" name="reference" value="[% HTML.escape(problem.data.reference) %]">
123
   <input type="submit" class="submit" id="fix_transaction_button" name="action_fix_wrong_taxkeys" value="[% 'Fix transaction' | $T8 %]" disabled>
124
   <input type="submit" class="submit" name="action_delete_transaction" value="[% 'Delete transaction' | $T8 %]">
125
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
126
  </p>
127
 </form>
128

  
129
 <script type="text/javascript" src="js/jquery.js"></script>
130
 <script type="text/javascript">
131
  <!--
132
    function enable_fix_button_maybe() {
133
      var all_set = true;
134
      $("[name='fixes[].taxkey']").each(function () {
135
        var val = $(this).attr('value');
136
        if (val == '')
137
          all_set = false;
138
      });
139

  
140
      $("#fix_transaction_button").attr('disabled', !all_set);
141
    }
142
    -->
143
 </script>
144

  
145
</body>
146
</html>
templates/webpages/acctranscorrections/assistant_for_wrong_taxkeys_master.html
1
[%- USE T8 %]
2
[% USE HTML %][% USE LxERP %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The following transaction contains wrong taxkeys:' | $T8 %]
9
  <a href="[% problem.link %]">
10
   [%- IF problem.data.module == 'ar' %]
11
   [% 'AR Transaction' | $T8 %]
12
   [%- ELSIF problem.data.module == 'ap' %]
13
   [% 'AP Transaction' | $T8 %]
14
   [%- ELSE %]
15
   [% 'General Ledger Transaction' | $T8 %]
16
   [%- END %]
17
   [% HTML.escape(problem.data.reference) %]
18
  </a>
19
 </p>
20

  
21
 <p>
22
  [% 'This could have happened for two reasons:' | $T8 %]
23

  
24
  [% 'The first reason is that Lx-Office contained a bug which resulted in the wrong taxkeys being recorded for transactions in which two entries are posted for the same chart with different taxkeys.' | $T8 %]
25

  
26
  [% 'The second reason is that Lx-Office allowed the user to enter the tax amount manually regardless of the taxkey used.' | $T8 %]
27

  
28
  [% 'Such entries cannot be exported into the DATEV format and have to be fixed as well.' | $T8 %]
29
 </p>
30

  
31
 <p>
32
  [% 'The transaction is shown below in its current state.' | $T8 %]
33

  
34
  [% 'You can correct this transaction by chosing the correct taxkeys from the drop down boxes and hitting the button "Fix transaction" afterwards.' | $T8 %]
35

  
36
  [%- 'It is possible that even after such a correction there is something wrong with this transaction (e.g. taxes that don\'t match the selected taxkey). Therefore you should re-run the general ledger analysis.' | $T8 %]
37
 </p>
38

  
39
 <p>
40
  [% 'You can also delete this transaction and re-enter it manually.' | $T8 %]
41

  
42
  [% 'In order to do that hit the button "Delete transaction".' | $T8 %]
43
 </p>
44

  
45
 <p>[% 'At the moment the transaction looks like this:' | $T8 %]</p>
46

  
47
 <form method="post" action="acctranscorrections.pl" name="Form">
48
  <p>
49
   <table>
50
    <tr>
51
     <th class="listheading">[% 'Account' | $T8 %]</th>
52
     <th class="listheading">[% 'Debit' | $T8 %]</th>
53
     <th class="listheading">[% 'Credit' | $T8 %]</th>
54
     <th class="listheading">[% 'Recorded Tax' | $T8 %]</th>
55
     <th class="listheading">[% 'Recorded taxkey' | $T8 %]</th>
56
     <th class="listheading">[% 'Expected Tax' | $T8 %]</th>
57
     <th class="listheading"></th>
58
     <th class="listheading">[% 'Correct taxkey' | $T8 %]</th>
59
    </tr>
60

  
61
    [%- SET curr_row = 0 %]
62
    [%- IF (problem.data.module == 'ar') || ((problem.data.module == 'gl') && (problem.acc_trans.credit.entries.first.acc_trans_id < problem.acc_trans.debit.entries.first.acc_trans_id)) %]
63
     [%- SET order = [ 'credit', 'debit' ] %]
64
     [%- SET other_side = 'debit' %]
65
    [%- ELSE %]
66
     [%- SET order = [ 'debit', 'credit' ] %]
67
     [%- SET other_side = 'credit' %]
68
    [%- END %]
69

  
70

  
71
    [%- IF problem.acc_trans.credit.entries.size > problem.acc_trans.debit.entries.size %]
72
    [%- ELSE %]
73
    [%- END %]
74

  
75

  
76
    [%- FOREACH idx = order %]
77
     [%- FOREACH row = problem.acc_trans.$idx.entries %]
78
      [%- SET curr_row = curr_row + 1 %]
79
      <tr class="listrow[% curr_row % 2 %]">
80
       <td>[% HTML.escape(row.accno) %]--[% HTML.escape(row.chartdescription) %]</td>
81
       <td align="right">
82
        [%- IF idx == 'debit' %]
83
         [% LxERP.format_amount(row.display_amount, 2) %]
84
        [%- END %]
85
       </td>
86
       <td align="right">
87
        [%- IF idx == 'credit' %]
88
         [% LxERP.format_amount(row.display_amount, 2) %]
89
        [%- END %]
90
       </td>
91
       <td align="right">[% IF row.actual_tax %][% LxERP.format_amount(row.display_actual_tax, 2) %][% END %]</td>
92
       <td>[% IF (problem.data.module == 'gl') || (idx != other_side) %][% HTML.escape(row.taxdescription) %][% END %]</td>
93
       <td align="right">[% IF row.expected_tax %][% LxERP.format_amount(row.display_expected_tax, 2) %][% END %]</td>
94
       <td align="center" valign="center"><img src="image/[% IF row.taxkey_error %]error[% ELSE %]ok[% END %].png"></td>
95

  
96
       <td>
97
        [%- IF row.taxkey_error %]
98
         <input type="hidden" name="fixes[+].acc_trans_id" value="[% HTML.escape(row.acc_trans_id) %]">
99
         <input type="hidden" name="fixes[].tax_entry_acc_trans_id" value="[% HTML.escape(row.tax_entry_acc_trans_id) %]">
100
         <select name="fixes[].taxkey" style="width: 250px" onchange="enable_fix_button_maybe()">
101
          <option value="">[% '---please select---' | $T8 %]</option>
102
          [%- FOREACH taxkey = row.correct_taxkeys %]
103
           <option value="[% HTML.escape(taxkey.taxkey) %]">[% HTML.escape(taxkey.description) %]</option>
104
          [%- END %]
105
        [%- ELSE %]
106
        &nbsp;
107
        [%- END %]
108
      </tr>
109
     [%- END %]
110
    [%- END %]
111

  
112
   </table>
113
  </p>
114
  <hr>
115

  
116
  <p>
117
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
118

  
119
   <input type="hidden" name="action" value="dispatcher">
120
   <input type="hidden" name="trans_id" value="[% HTML.escape(problem.data.trans_id) %]">
121
   <input type="hidden" name="module" value="[% HTML.escape(problem.data.module) %]">
122
   <input type="hidden" name="reference" value="[% HTML.escape(problem.data.reference) %]">
123
   <input type="submit" class="submit" id="fix_transaction_button" name="action_fix_wrong_taxkeys" value="[% 'Fix transaction' | $T8 %]" disabled>
124
   <input type="submit" class="submit" name="action_delete_transaction" value="[% 'Delete transaction' | $T8 %]">
125
   <input type="button" class="submit" onclick="history.back()" value="[% 'Back' | $T8 %]">
126
  </p>
127
 </form>
128

  
129
 <script type="text/javascript" src="js/jquery.js"></script>
130
 <script type="text/javascript">
131
  <!--
132
    function enable_fix_button_maybe() {
133
      var all_set = true;
134
      $("[name='fixes[].taxkey']").each(function () {
135
        var val = $(this).attr('value');
136
        if (val == '')
137
          all_set = false;
138
      });
139

  
140
      $("#fix_transaction_button").attr('disabled', !all_set);
141
    }
142
    -->
143
 </script>
144

  
145
</body>
146
</html>
templates/webpages/acctranscorrections/delete_transaction.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
<body>
5
 <p><div class="listheading">[% title %]</div></p>
6

  
7
 <p>
8
  [%- IF module == 'ar' %]
9
  [%- LxERP.t8('The AR transaction #1 has been deleted.', reference) | html %]
10
  [%- ELSIF module == 'ap' %]
11
  [%- LxERP.t8('The AP transaction #1 has been deleted.', reference) | html %]
12
  [%- ELSE %]
13
  [%- LxERP.t8('The GL transaction #1 has been deleted.', reference) | html %]
14
  [%- END %]
15
 </p>
16

  
17
 <p>
18
  <form method="post" action="acctranscorrections.pl">
19

  
20
   <input type="hidden" name="action" value="redirect">
21
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
22
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
23
  </form>
24
 </p>
25
</body>
26
</html>
templates/webpages/acctranscorrections/delete_transaction_confirmation.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
<body>
5
 <p><div class="listheading">[% title %]</div></p>
6

  
7
 <p>
8
  [%- IF module == 'ar' %]
9
  [%- LxERP.t8('Do you really want to delete AR transaction #1?', reference) | html %]
10
  [%- ELSIF module == 'ap' %]
11
  [%- LxERP.t8('Do you really want to delete AP transaction #1?', reference) | html %]
12
  [%- ELSE %]
13
  [%- LxERP.t8('Do you really want to delete GL transaction #1?', reference) | html %]
14
  [%- END %]
15
 </p>
16

  
17
 <p>
18
  <form method="post" action="acctranscorrections.pl">
19

  
20
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
21
   <input type="hidden" name="trans_id" value="[% HTML.escape(trans_id) %]">
22
   <input type="hidden" name="module" value="[% HTML.escape(module) %]">
23
   <input type="hidden" name="reference" value="[% HTML.escape(reference) %]">
24

  
25
   <input type="hidden" name="confirmation" value="1">
26
   <input type="hidden" name="action" value="delete_transaction">
27

  
28
   <input type="submit" value="[% 'Yes' | $T8 %]">
29
   <input type="button" onclick="history.back()" value="[% 'No' | $T8 %]">
30
  </form>
31
 </p>
32
</body>
33
</html>
templates/webpages/acctranscorrections/delete_transaction_confirmation_master.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
<body>
5
 <p><div class="listheading">[% title %]</div></p>
6

  
7
 <p>
8
  [%- IF module == 'ar' %]
9
  [%- LxERP.t8('Do you really want to delete AR transaction #1?', reference) | html %]
10
  [%- ELSIF module == 'ap' %]
11
  [%- LxERP.t8('Do you really want to delete AP transaction #1?', reference) | html %]
12
  [%- ELSE %]
13
  [%- LxERP.t8('Do you really want to delete GL transaction #1?', reference) | html %]
14
  [%- END %]
15
 </p>
16

  
17
 <p>
18
  <form method="post" action="acctranscorrections.pl">
19

  
20
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
21
   <input type="hidden" name="trans_id" value="[% HTML.escape(trans_id) %]">
22
   <input type="hidden" name="module" value="[% HTML.escape(module) %]">
23
   <input type="hidden" name="reference" value="[% HTML.escape(reference) %]">
24

  
25
   <input type="hidden" name="confirmation" value="1">
26
   <input type="hidden" name="action" value="delete_transaction">
27

  
28
   <input type="submit" value="[% 'Yes' | $T8 %]">
29
   <input type="button" onclick="history.back()" value="[% 'No' | $T8 %]">
30
  </form>
31
 </p>
32
</body>
33
</html>
templates/webpages/acctranscorrections/delete_transaction_master.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
[% USE LxERP %]
4
<body>
5
 <p><div class="listheading">[% title %]</div></p>
6

  
7
 <p>
8
  [%- IF module == 'ar' %]
9
  [%- LxERP.t8('The AR transaction #1 has been deleted.', reference) | html %]
10
  [%- ELSIF module == 'ap' %]
11
  [%- LxERP.t8('The AP transaction #1 has been deleted.', reference) | html %]
12
  [%- ELSE %]
13
  [%- LxERP.t8('The GL transaction #1 has been deleted.', reference) | html %]
14
  [%- END %]
15
 </p>
16

  
17
 <p>
18
  <form method="post" action="acctranscorrections.pl">
19

  
20
   <input type="hidden" name="action" value="redirect">
21
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
22
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
23
  </form>
24
 </p>
25
</body>
26
</html>
templates/webpages/acctranscorrections/fix_ap_ar_wrong_taxkeys.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The wrong taxkeys for AP and AR transactions have been fixed.' | $T8 %]
9

  
10
  [% 'Please re-run the analysis for broken general ledger entries by clicking this button:' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  <form action="acctranscorrections.pl" method="post">
15

  
16
   <input type="hidden" name="action" value="redirect">
17
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
19
  </form>
20
 </p>
21

  
22
</body>
23
</html>
templates/webpages/acctranscorrections/fix_ap_ar_wrong_taxkeys_master.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The wrong taxkeys for AP and AR transactions have been fixed.' | $T8 %]
9

  
10
  [% 'Please re-run the analysis for broken general ledger entries by clicking this button:' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  <form action="acctranscorrections.pl" method="post">
15

  
16
   <input type="hidden" name="action" value="redirect">
17
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
19
  </form>
20
 </p>
21

  
22
</body>
23
</html>
templates/webpages/acctranscorrections/fix_invoice_inventory_with_taxkeys.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The wrong taxkeys for inventory transactions for sales and purchase invoices have been fixed.' | $T8 %]
9

  
10
  [% 'Please re-run the analysis for broken general ledger entries by clicking this button:' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  <form action="acctranscorrections.pl" method="post">
15

  
16
   <input type="hidden" name="action" value="redirect">
17
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
19
  </form>
20
 </p>
21

  
22
</body>
23
</html>
templates/webpages/acctranscorrections/fix_invoice_inventory_with_taxkeys_master.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The wrong taxkeys for inventory transactions for sales and purchase invoices have been fixed.' | $T8 %]
9

  
10
  [% 'Please re-run the analysis for broken general ledger entries by clicking this button:' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  <form action="acctranscorrections.pl" method="post">
15

  
16
   <input type="hidden" name="action" value="redirect">
17
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
19
  </form>
20
 </p>
21

  
22
</body>
23
</html>
templates/webpages/acctranscorrections/fix_wrong_taxkeys.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The wrong taxkeys have been fixed.' | $T8 %]
9

  
10
  [% 'Please re-run the analysis for broken general ledger entries by clicking this button:' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  <form action="acctranscorrections.pl" method="post">
15

  
16
   <input type="hidden" name="action" value="redirect">
17
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
19
  </form>
20
 </p>
21

  
22
</body>
23
</html>
templates/webpages/acctranscorrections/fix_wrong_taxkeys_master.html
1
[%- USE T8 %]
2
[% USE HTML %]
3
<body>
4

  
5
 <p><div class="listtop">[% title %]</div></p>
6

  
7
 <p>
8
  [% 'The wrong taxkeys have been fixed.' | $T8 %]
9

  
10
  [% 'Please re-run the analysis for broken general ledger entries by clicking this button:' | $T8 %]
11
 </p>
12

  
13
 <p>
14
  <form action="acctranscorrections.pl" method="post">
15

  
16
   <input type="hidden" name="action" value="redirect">
17
   <input type="hidden" name="callback" value="[% HTML.escape(callback) %]">
18
   <input type="submit" value="[% 'Re-run analysis' | $T8 %]">
19
  </form>
20
 </p>
21

  
22
</body>
23
</html>
templates/webpages/admin/adminlogin.html
1
[%- USE T8 %]
2
[% USE HTML %]<body class="admin" onload="document.getElementById('rpw').focus()">
3

  
4
 <div align="center">
5

  
6
  <a href="http://www.lx-office.org"><img src="image/lx-office-erp.png" border="0"></a>
7

  
8
  <h1 class="login">[% 'Version' | $T8 %] [% HTML.escape(version) %]</h1>
9

  
10
  <h2>[% 'Administration' | $T8 %]</h2>
11

  
12
  [% IF error_message %]
13
  <p><span class="error_message">[% error_message %]</span></p>
14
  [% END %]
15

  
16
  <form method="post" action="admin.pl">
17

  
18
   <table>
19
    <tr>
20
     <th>[% 'Password' | $T8 %]</th>
21
     <td><input type="password" name="rpw" id="rpw"></td>
22
     <td><input type="submit" class="submit" name="action" value="[% 'Login' | $T8 %]"></td>
23
    </tr>
24
    <input type="hidden" name="action" value="login">
25
   </table>
26

  
27
  </form>
28

  
29
  <p><a href="http://www.lx-office.org/">[% 'Lx-Office website' | $T8 %]</a></p>
30

  
31
 </div>
32

  
33
</body>
34
</html>
templates/webpages/admin/adminlogin_master.html
1
[%- USE T8 %]
2
[% USE HTML %]<body class="admin" onload="document.getElementById('rpw').focus()">
3

  
4
 <div align="center">
5

  
6
  <a href="http://www.lx-office.org"><img src="image/lx-office-erp.png" border="0"></a>
7

  
8
  <h1 class="login">[% 'Version' | $T8 %] [% HTML.escape(version) %]</h1>
9

  
10
  <h2>[% 'Administration' | $T8 %]</h2>
11

  
12
  [% IF error_message %]
13
  <p><span class="error_message">[% error_message %]</span></p>
14
  [% END %]
15

  
16
  <form method="post" action="admin.pl">
17

  
18
   <table>
19
    <tr>
20
     <th>[% 'Password' | $T8 %]</th>
21
     <td><input type="password" name="rpw" id="rpw"></td>
22
     <td><input type="submit" class="submit" name="action" value="[% 'Login' | $T8 %]"></td>
23
    </tr>
24
    <input type="hidden" name="action" value="login">
25
   </table>
26

  
27
  </form>
28

  
29
  <p><a href="http://www.lx-office.org/">[% 'Lx-Office website' | $T8 %]</a></p>
30

  
31
 </div>
32

  
33
</body>
34
</html>
templates/webpages/admin/backup_dataset.html
1
[%- USE T8 %]
2
[% USE HTML %]<body class="admin" onload="set_subject(); document.getElementsByName('to')[0].focus(); ">
3

  
4
 <script type="text/javascript">
5
  <!--
6
      function set_subject() {
7
        var subject_template = "[% 'Backup of dataset' | $T8 %]";
8
        var subject = document.Form.subject.value;
9

  
10
        if ((subject == "") || (subject.substr(0, subject_template.length) == subject_template)) {
11
          document.Form.subject.value = subject_template + " " + document.Form.dbname.value;
12
        }
13
      }
14
    -->
15
 </script>
16

  
17
 <h2>[% title %]</h2>
18

  
19
 [% IF NO_DATABSES %]
20
  [% 'No databases have been found on this server.' | $T8 %]
... Dieser Diff wurde abgeschnitten, weil er die maximale Anzahl anzuzeigender Zeilen überschreitet.

Auch abrufbar als: Unified diff