+[%- USE T8 %]
[% USE HTML %][% USE LxERP %]
<body>
<p><div class="listtop">[% title %]</div></p>
- <p><translate>Lx-Office has found one or more problems in the general ledger.</translate></p>
+ <p>[% 'Lx-Office has found one or more problems in the general ledger.' | $T8 %]</p>
<p>
- <translate>Period</translate>:
+ [% 'Period' | $T8 %]:
[%- IF transdate_from || transdate_to %]
[%- IF transdate_from %]
- <translate>from (time)</translate> [% transdate_from %]
+ [% 'from (time)' | $T8 %] [% transdate_from %]
[%- END %]
[%- IF transdate_to %]
- <translate>to (time)</translate> [% transdate_to %]
+ [% 'to (time)' | $T8 %] [% transdate_to %]
[%- END %]
[%- ELSE %]
- <translate>all entries</translate>
+ [% 'all entries' | $T8 %]
[%- END %]
</p>
<p>
<table width="100%">
<tr>
- <th class="listheading"><translate>Transaction</translate></th>
- <th class="listheading"><translate>Problem</translate></th>
- <th class="listheading"><translate>Solution</translate></th>
+ <th class="listheading">[% 'Transaction' | $T8 %]</th>
+ <th class="listheading">[% 'Problem' | $T8 %]</th>
+ <th class="listheading">[% 'Solution' | $T8 %]</th>
</tr>
[%- FOREACH problem = PROBLEMS %]
<td valign="top">
[%- IF problem.type == 'ap_ar_wrong_taxkeys' %]
[%- IF problem.ap_problems.size %]
- <translate>AP Transactions</translate>
+ [% 'AP Transactions' | $T8 %]
[%- FOREACH ap = problem.ap_problems %]
[%- UNLESS loop.first %], [%- END %]
<a href="[% ap.link %]">[% HTML.escape(ap.data.reference) %]</a>
[%- IF problem.ar_problems.size %]
[%- IF problem.ap_problems.size %]; [%- END %]
- <translate>AR Transactions</translate>
+ [% 'AR Transactions' | $T8 %]
[%- FOREACH ar = problem.ar_problems %]
[%- UNLESS loop.first %], [%- END %]
<a href="[% ar.link %]">[% HTML.escape(ar.data.reference) %]</a>
[%- ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
[%- IF problem.ar_problems.size %]
- <translate>Sales invoices</translate>
+ [% 'Sales invoices' | $T8 %]
[%- FOREACH subproblem = problem.ar_problems %]
[%- UNLESS loop.first %], [%- END %]
<a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
[%- IF problem.ap_problems.size %]
[%- IF problem.ar_problems.size %]; [%- END %]
- <translate>Purchase invoices</translate>
+ [% 'Purchase invoices' | $T8 %]
[%- FOREACH subproblem = problem.ap_problems %]
[%- UNLESS loop.first %], [%- END %]
<a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
[%- ELSIF problem.type == 'missing_taxkeys_in_invoices' %]
[%- IF problem.ar_problems.size %]
- <translate>Sales invoices</translate>
+ [% 'Sales invoices' | $T8 %]
[%- FOREACH subproblem = problem.ar_problems %]
[%- UNLESS loop.first %], [%- END %]
<a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
[%- IF problem.ap_problems.size %]
[%- IF problem.ar_problems.size %]; [%- END %]
- <translate>Purchase invoices</translate>
+ [% 'Purchase invoices' | $T8 %]
[%- FOREACH subproblem = problem.ap_problems %]
[%- UNLESS loop.first %], [%- END %]
<a href="[% subproblem.link %]">[% HTML.escape(subproblem.data.reference) %]</a>
<a href="[% problem.link %]">
[%- IF problem.data.module == 'ar' %]
- <translate>AR Transaction</translate>
+ [% 'AR Transaction' | $T8 %]
[%- ELSIF problem.data.module == 'ap' %]
- <translate>AP Transaction</translate>
+ [% 'AP Transaction' | $T8 %]
[%- ELSE %]
- <translate>General Ledger Transaction</translate>
+ [% 'General Ledger Transaction' | $T8 %]
[%- END %]
[% HTML.escape(problem.data.reference) %]
</a>
<td valign="top">
[%- IF problem.type == 'split_multiple_credit_and_debit' %]
- <translate>Transaction has been split on both the credit and the debit side</translate>
+ [% 'Transaction has been split on both the credit and the debit side' | $T8 %]
[%- ELSIF problem.type == 'wrong_taxkeys' %]
- <translate>Wrong tax keys recorded</translate>
+ [% 'Wrong tax keys recorded' | $T8 %]
[%- ELSIF problem.type == 'wrong_taxes' %]
- <translate>Wrong taxes recorded</translate>
+ [% 'Wrong taxes recorded' | $T8 %]
[%- ELSIF problem.type == 'ap_ar_wrong_taxkeys' %]
- <translate>AP transactions with sales taxkeys and/or AR transactions with input taxkeys</translate>
+ [% 'AP transactions with sales taxkeys and/or AR transactions with input taxkeys' | $T8 %]
[%- ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
- <translate>Sales and purchase invoices with inventory transactions with taxkeys</translate>
+ [% 'Sales and purchase invoices with inventory transactions with taxkeys' | $T8 %]
[%- ELSIF problem.type == 'missing_taxkeys_in_invoices' %]
- <translate>Missing taxkeys in invoices with taxes.</translate>
+ [% 'Missing taxkeys in invoices with taxes.' | $T8 %]
[%- END %]
</td>
<td valign="top">
[%- IF problem.type == 'split_multiple_credit_and_debit' %]
- <translate>This transaction has to be split into several transactions manually.</translate>
+ [% 'This transaction has to be split into several transactions manually.' | $T8 %]
[%- ELSIF (problem.type == 'wrong_taxkeys') || (problem.type == 'wrong_taxes') %]
<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 %]">
- <translate>Start the correction assistant</translate>
+ [% 'Start the correction assistant' | $T8 %]
</a>
[%- ELSIF problem.type == 'ap_ar_wrong_taxkeys' %]
<a href="acctranscorrections.pl?action=assistant_for_ap_ar_wrong_taxkeys&callback=[% callback %]">
- <translate>Start the correction assistant</translate>
+ [% 'Start the correction assistant' | $T8 %]
</a>
[%- ELSIF problem.type == 'invoice_inventory_with_taxkeys' %]
<a href="acctranscorrections.pl?action=assistant_for_invoice_inventory_with_taxkeys&callback=[% callback %]">
- <translate>Start the correction assistant</translate>
+ [% 'Start the correction assistant' | $T8 %]
</a>
[%- END %]