my $form = $main::form;
my $locale = $main::locale;
+ my $vc = $form->{vc} eq 'customer' ? 'customer' : 'vendor';
- $form->{title} = $locale->text('List of bank transfers');
+ $form->{title} = $vc eq 'customer' ? $::locale->text('List of bank collections') : $locale->text('List of bank transfers');
$form->{jsscript} = 1;
$form->header();
'List bank accounts' => 'Bankkonten anzeigen',
'List export' => 'Export anzeigen',
'List of bank accounts' => 'Liste der Bankkonten',
+ 'List of bank collections' => 'Bankeinzugsliste',
'List of bank transfers' => 'Überweisungsliste',
'List of custom variables' => 'Liste der benutzerdefinierten Variablen',
'List open SEPA exports' => 'Noch nicht ausgeführte SEPA-Exporte anzeigen',
[%- USE T8 %]
-[% USE HTML %]
+[% USE HTML %][% USE LxERP %]
<body>
<p><div class="listtop">[% title %]</div></p>
<p>
<table>
<tr>
- <td align="right">[% 'Vendor' | $T8 %]</td>
- <td><input name="f_vendor"></td>
+ <td align="right">[%- IF vc == 'vendor' %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %]</td>
+ <td><input name="f_vc"></td>
</tr>
<tr>
<p>
<input type="hidden" name="action" value="dispatcher">
+ <input type="hidden" name="vc" value="[%- HTML.escape(vc) %]">
<input type="submit" class="submit" name="action_bank_transfer_list" value="[% 'Continue' | $T8 %]">
</p>
</form>