Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a5ac13c9

Von Kivitendo Admin vor fast 8 Jahren hinzugefügt

  • ID a5ac13c9e0babdfb112348615cc8e021fd580304
  • Vorgänger 68ccd089
  • Nachfolger d90966c7

Kontoauszug verbuchen - Beschriftung verbessert.

Übernommene Vorschläge zeigen die Rechnungsnummer und den offenen Betrag
der Rechnung an, die Beschriftung lautet nun auch "offener Betrag".

Unterschiede anzeigen:

SL/Controller/BankTransaction.pm
229 229
  $html .= SL::Presenter->input_tag('invoice_ids.' . $::form->{bt_id} . '[]', $::form->{prop_id} , type => 'hidden');
230 230
  # better in template code - but how to ajax this
231 231
  $html .= SL::Presenter->escape(t8('Invno.') . ': ' . $invoice->invnumber . ' ');
232
  $html .= SL::Presenter->escape(t8('Amount') . ': ' . $::form->format_amount(\%::myconfig, $invoice->open_amount, 2) . ' ');
232
  $html .= SL::Presenter->escape(t8('Open amount') . ': ' . $::form->format_amount(\%::myconfig, $invoice->open_amount, 2) . ' ');
233 233
  $html .= SL::Presenter->select_tag('invoice_skontos.' . $::form->{bt_id} . '[]', \@select_options,
234 234
                                              value_key => 'payment_type',
235 235
                                              title_key => 'display' ) if @select_options;
templates/webpages/bank_transactions/invoices.html
5 5
  <div id="[% bt_id %].[% invoice.id %]">
6 6
    [% L.hidden_tag('invoice_ids.' _ bt_id _'[]', invoice.id) %]
7 7
    [% 'Invno.' | $T8 %]: [% invoice.invnumber %]
8
    [% 'Amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
8
    [% 'Open amount' | $T8 %]: [% LxERP.format_amount(invoice.open_amount, 2) %]
9 9
    <a href=# onclick="delete_invoice([% bt_id %], [% invoice.id %])">x</a>
10 10
  </div>
11 11
[% END %]

Auch abrufbar als: Unified diff