X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;ds=sidebyside;f=SL%2FController%2FZUGFeRD.pm;h=cad98a363523c06ee4cc1263b07b45a78a35204f;hb=ba40069b4f465cd51d509ab280d1c6e61652bda9;hp=29d7e074cfabb80a5f166a8a262953310f8c3595;hpb=d0809fbb46edd7741d69b3ee3375438e4c30d1e5;p=kivitendo-erp.git diff --git a/SL/Controller/ZUGFeRD.pm b/SL/Controller/ZUGFeRD.pm index 29d7e074c..cad98a363 100644 --- a/SL/Controller/ZUGFeRD.pm +++ b/SL/Controller/ZUGFeRD.pm @@ -17,7 +17,7 @@ sub action_upload_zugferd { my ($self, %params) = @_; $self->setup_zugferd_action_bar; - $self->render('zugferd/form', title => $::locale->text('ZUGFeRD import')); + $self->render('zugferd/form', title => $::locale->text('Factur-X/ZUGFeRD import')); } sub action_import_zugferd { @@ -31,15 +31,15 @@ sub action_import_zugferd { if ($info->{result} != SL::ZUGFeRD::RES_OK()) { # An error occurred; log message from parser: $::lxdebug->message(LXDebug::DEBUG1(), "Could not extract ZUGFeRD data, error message: " . $info->{message}); - die t8("Could not extract ZUGFeRD data, data and error message:") . $info->{message}; + die t8("Could not extract Factur-X/ZUGFeRD data, data and error message:") . $info->{message}; } # valid ZUGFeRD metadata my $dom = XML::LibXML->load_xml(string => $info->{invoice_xml}); # 1. check if ZUGFeRD SellerTradeParty has a VAT-ID my $ustid = $dom->findnodes('//ram:SellerTradeParty/ram:SpecifiedTaxRegistration')->string_value; - die t8("No VAT Info for this ZUGFeRD invoice," . - " please ask your vendor to add this for his ZUGFeRD data.") unless $ustid; + die t8("No VAT Info for this Factur-X/ZUGFeRD invoice," . + " please ask your vendor to add this for his Factur-X/ZUGFeRD data.") unless $ustid; $ustid = SL::VATIDNr->normalize($ustid);