Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 250a15ae

Von Bernd Bleßmann vor etwa 2 Jahren hinzugefügt

  • ID 250a15aef8818fce30abe44edcdb1e2928fba9c4
  • Vorgänger 301fdeba
  • Nachfolger a0e1dba5

Design 4.0: gesperrte SEPA-Überweisungen berücksichtigen

Unterschiede anzeigen:

templates/design40_webpages/sepa/bank_transfer_add.html
58 58
          <input type="hidden" id="amount_less_skonto_[% loop.count %]" name="amount_less_skonto_[% loop.count %]" value="[% LxERP.format_amount(invoice.amount_less_skonto, 2) %]">
59 59
          <input type="hidden" id="invoice_open_amount_[% loop.count %]" name="invoice_open_amount_[% loop.count %]" value="[% LxERP.format_amount(invoice.open_amount - invoice.open_sepa_transfer_amount, 2) %]">
60 60
          <input type="hidden" id="skonto_amount_[% loop.count %]" name="skonto_amount_[% loop.count %]" value="[% LxERP.format_amount(invoice.skonto_amount, 2) %]">
61
          [% IF invoice.vc_bank_info_ok %]
61
          [% IF invoice.vc_bank_info_ok && !invoice.is_sepa_blocked %]
62 62
            [% L.checkbox_tag("ids[]", value=invoice.id, checked=invoice.checked) %]
63 63
          [% END %]
64 64
        </td>
......
80 80
        </td>
81 81
        <td>
82 82
         <a href="[% IF invoice.invoice %][% iris %][% ELSE %][% arap %][% END %].pl?action=edit&id=[% HTML.escape(invoice.id) %]">
83
          [% HTML.escape(invoice.invnumber) %]
83
          [%- GET HTML.escape(invoice.invnumber);
84
              IF invoice.is_sepa_blocked;
85
                GET ' <sup>(*)</sup>';
86
                SET show_is_sepa_blocked_footnote = '1';
87
              END;
88
          -%]
84 89
         </a>
85 90
        </td>
86 91
        <td>[% LxERP.format_amount(invoice.invoice_amount-invoice.open_sepa_transfer_amount, 2) %]</td>
......
111 116
  </tbody>
112 117
</table>
113 118

  
114
[% IF show_vc_bank_info_footnote %]
119
[% IF show_vc_bank_info_footnote || show_is_sepa_blocked_footnote %]
115 120
<div class="long-desc wrapper">
121
  [% IF show_vc_bank_info_footnote %]
116 122
  <p><sup>(1)</sup>
117 123
    [% IF is_vendor %]
118 124
      [% 'No bank information has been entered in this vendor\'s master data entry. You cannot create bank transfers unless you enter bank information.' | $T8 %]
......
133 139
      [% LxERP.t8("Additionally the invoice is marked for direct debit and would have been checked automatically had the bank information been entered.") %]
134 140
    [% END %]
135 141
  </p>
142
  [%- END %]
143
  [%- IF show_is_sepa_blocked_footnote %]
144
  <p>
145
    <sup>(*)</sup>
146
    [%- 'For this invoice the bank tranfer via SEPA was blocked manually.' | $T8 %]
147
  </p>
148
  [%- END %]
136 149
</div><!-- /.long-desc -->
137 150
[% END %]
138 151

  

Auch abrufbar als: Unified diff