Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 52600888

Von Waldemar Toews vor fast 8 Jahren hinzugefügt

  • ID 5260088885c15d877a9074e0e53a884905a5eeca
  • Vorgänger ba1fb1a7
  • Nachfolger 2bcfcee0

SEPA: Summen für offenen Betrag Überweisungsbetrag unterhalb ber Rechnungstabelle anzeigen

Unterschiede anzeigen:

bin/mozilla/sepa.pl
138 138
    }
139 139
  }
140 140

  
141
  my $total_trans = sum map { $_->{open_amount} } @bank_transfers;
141
  my $total_trans  = sum map { $_->{open_amount} } @bank_transfers;
142
  my $total_amount = sum map { $_->{amount}      } @bank_transfers;
142 143

  
143 144
  my ($vc_bank_info);
144 145
  my $error_message;
......
172 173
                                       'error_message'      => $error_message,
173 174
                                       'vc'                 => $vc,
174 175
                                       'total_trans'        => $total_trans,
176
                                       'total_amount'       => $total_amount,
175 177
                                     });
176 178

  
177 179
  } else {
templates/webpages/sepa/bank_transfer_create.html
132 132
      </td>
133 133
     </tr>
134 134
    [%- END %]
135
     <tr>
136
      <td><b>[% 'Totals' | $T8 %]</b></td>
137
      <td></td><td></td><td align="right"><b>[% LxERP.format_amount(total_trans, -2) %]</b></td><td></td><td align="right"><b>[% LxERP.format_amount(total_amount, -2) %]</b></td><td></td>
138
     </tr>
135 139
   </table>
136 140
  </p>
137 141

  
138
  <p>
139
   [% 'Sum open amount' | $T8 %]: [% LxERP.format_amount(total_trans, -2) %]
140
  </p>
141

  
142 142
  <p>
143 143
   [%- IF is_vendor %]
144 144
    <input type="submit" class="submit" name="action_bank_transfer_create" value="[% 'Create bank transfer' | $T8 %]">

Auch abrufbar als: Unified diff