Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision d62a113d

Von Moritz Bunkus vor etwa 1 Monat hinzugefügt

SEPA: XML-Version beim Download auswählbar

Unterschiede anzeigen:

bin/mozilla/sepa.pl
198 198
                                     'vc'             => $vc);
199 199

  
200 200
    $form->header();
201
    print $form->parse_html_template('sepa/bank_transfer_created', { 'id' => $id, 'vc' => $vc });
201
    my %sepa_versions = SL::SEPA::XML->get_supported_versions;
202
    print $form->parse_html_template('sepa/bank_transfer_created', { 'id' => $id, 'vc' => $vc, sepa_versions => \%sepa_versions });
202 203
  }
203 204

  
204 205
  $main::lxdebug->leave_sub();
......
296 297
  push @options, $form->{l_executed} ? $locale->text('executed') : $locale->text('not yet executed')               if ($form->{l_executed} != $form->{l_not_executed});
297 298
  push @options, $form->{l_closed}   ? $locale->text('closed')   : $locale->text('open')                           if ($form->{l_open}     != $form->{l_closed});
298 299

  
300
  my %sepa_versions = SL::SEPA::XML->get_supported_versions;
301

  
299 302
  $report->set_options('top_info_text'         => join("\n", @options),
300
                       'raw_top_info_text'     => $form->parse_html_template('sepa/bank_transfer_list_top'),
303
                       'raw_top_info_text'     => $form->parse_html_template('sepa/bank_transfer_list_top',    { 'show_buttons' => $open_available, sepa_versions => \%sepa_versions, }),
301 304
                       'raw_bottom_info_text'  => $form->parse_html_template('sepa/bank_transfer_list_bottom', { 'show_buttons' => $open_available, vc => $vc }),
302 305
                       'std_column_visibility' => 1,
303 306
                       'output_format'         => 'HTML',
......
553 556
                                      'message_id'  => $message_id,
554 557
                                      'grouped'     => 1,
555 558
                                      'collection'  => $vc eq 'customer',
559
                                      'version'     => $form->{sepa_xml_version},
556 560
    );
557 561

  
558 562
  foreach my $item (@items) {

Auch abrufbar als: Unified diff