Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision a64b214d

Von Moritz Bunkus vor mehr als 9 Jahren hinzugefügt

  • ID a64b214d855ee7c1077323dbc8d2e19a89703085
  • Vorgänger f4006367
  • Nachfolger d6beac43

Rechnungen: In Kopf anzeigen, in welchen SEPA-Exporten der Beleg enthalten ist

Unterschiede anzeigen:

SL/DB/Invoice.pm
39 39
    column_map      => { id => 'ar_id' },
40 40
    manager_args    => { with_objects => [ 'sepa_export' ] }
41 41
  },
42
  sepa_exports      => {
43
    type            => 'many to many',
44
    map_class       => 'SL::DB::SepaExportItem',
45
    map_from        => 'ar',
46
    map_to          => 'sepa_export',
47
  },
42 48
  custom_shipto     => {
43 49
    type            => 'one to one',
44 50
    class           => 'SL::DB::Shipto',
bin/mozilla/is.pl
292 292
  my %TMPL_VAR = ();
293 293
  my @custom_hiddens;
294 294

  
295
  $TMPL_VAR{invoice_obj} = SL::DB::Invoice->new(id => $form->{id})->load if $form->{id};
295 296
  $form->{employee_id} = $form->{old_employee_id} if $form->{old_employee_id};
296 297
  $form->{salesman_id} = $form->{old_salesman_id} if $form->{old_salesman_id};
297 298

  
locale/de/all
2253 2253
  'SCREENED'                    => 'Angezeigt',
2254 2254
  'SEPA XML download'           => 'SEPA-XML-Download',
2255 2255
  'SEPA creditor ID'            => 'SEPA-Kreditoren-Identifikation',
2256
  'SEPA exports'                => 'SEPA-Exporte',
2256 2257
  'SEPA exports:'               => 'SEPA-Exporte:',
2257 2258
  'SEPA message ID'             => 'SEPA-Nachrichten-ID',
2258 2259
  'SEPA message IDs'            => 'SEPA-Nachrichten-IDs',
templates/webpages/is/form_header.html
108 108
          </td>
109 109
        </tr>
110 110
[%- END %]
111
[%- IF invoice_obj.sepa_exports.as_list.size %]
112
        <tr>
113
          <th align="right">[% LxERP.t8("SEPA exports") %]</th>
114
          <td>
115
           [% FOREACH export = invoice_obj.sepa_exports.as_list %]
116
            <a href="sepa.pl?action=bank_transfer_edit&vc=customer&id=[% HTML.url(export.id) %]">[% HTML.escape(export.id) %]</a>
117
            [% UNLESS loop.last %], [% END %]
118
           [% END %]
119
          </td>
120
        </tr>
121
[%- END %]
111 122
[%- IF business %]
112 123
        <tr>
113 124
          <th align="right">[% 'Customer type' | $T8 %]</th>

Auch abrufbar als: Unified diff