Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 880ae1e5

Von Moritz Bunkus vor etwa 14 Jahren hinzugefügt

  • ID 880ae1e54dc200a828feb8bb0a0af1218cf1f171
  • Vorgänger f63df59d
  • Nachfolger ef294a75

Unterscheidung Bankeinzug/Überweisung in Suchmaske

Unterschiede anzeigen:

bin/mozilla/sepa.pl
149 149

  
150 150
  my $form   = $main::form;
151 151
  my $locale = $main::locale;
152
  my $vc     = $form->{vc} eq 'customer' ? 'customer' : 'vendor';
152 153

  
153
  $form->{title}    = $locale->text('List of bank transfers');
154
  $form->{title}    = $vc eq 'customer' ? $::locale->text('List of bank collections') : $locale->text('List of bank transfers');
154 155
  $form->{jsscript} = 1;
155 156

  
156 157
  $form->header();
locale/de/all
957 957
  'List bank accounts'          => 'Bankkonten anzeigen',
958 958
  'List export'                 => 'Export anzeigen',
959 959
  'List of bank accounts'       => 'Liste der Bankkonten',
960
  'List of bank collections'    => 'Bankeinzugsliste',
960 961
  'List of bank transfers'      => '?berweisungsliste',
961 962
  'List of custom variables'    => 'Liste der benutzerdefinierten Variablen',
962 963
  'List open SEPA exports'      => 'Noch nicht ausgef?hrte SEPA-Exporte anzeigen',
templates/webpages/sepa/bank_transfer_search.html
1 1
[%- USE T8 %]
2
[% USE HTML %]
2
[% USE HTML %][% USE LxERP %]
3 3
<body>
4 4

  
5 5
 <p><div class="listtop">[% title %]</div></p>
......
8 8
  <p>
9 9
   <table>
10 10
    <tr>
11
     <td align="right">[% 'Vendor' | $T8 %]</td>
12
     <td><input name="f_vendor"></td>
11
     <td align="right">[%- IF vc == 'vendor' %][% 'Vendor' | $T8 %][%- ELSE %][%- LxERP.t8('Customer') %][%- END %]</td>
12
     <td><input name="f_vc"></td>
13 13
    </tr>
14 14

  
15 15
    <tr>
......
86 86

  
87 87
  <p>
88 88
   <input type="hidden" name="action" value="dispatcher">
89
   <input type="hidden" name="vc" value="[%- HTML.escape(vc) %]">
89 90
   <input type="submit" class="submit" name="action_bank_transfer_list" value="[% 'Continue' | $T8 %]">
90 91
  </p>
91 92
 </form>

Auch abrufbar als: Unified diff