Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 7881bbf1

Von Johannes Grassler vor mehr als 1 Jahr hinzugefügt

  • ID 7881bbf173d80455a439fee136c688e34fa9f34e
  • Vorgänger 58521016
  • Nachfolger 88eb928b

Rebase-Artifakt korrigiert.

Unterschiede anzeigen:

SL/Controller/ZUGFeRD.pm
die t8("can only parse a pdf or xml file") unless $file =~ m/^%PDF|<\?xml/;
if ( $::form->{file} =~ m/^%PDF/ ) {
%res = %{SL::ZUGFeRD->extract_from_pdf($::form->{file})}
%res = %{SL::ZUGFeRD->extract_from_pdf($file)};
} else {
%res = %{SL::ZUGFeRD->extract_from_xml($::form->{file})};
%res = %{SL::ZUGFeRD->extract_from_xml($file)};
}
if ($res{'result'} != SL::ZUGFeRD::RES_OK()) {

Auch abrufbar als: Unified diff