X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=SL%2FSEPA%2FXML.pm;h=3aa88b7b0cc96970a0bcc19e5ea09c00068263c6;hb=c7b0defb2a90a8eaa28b9e58ac3c108c27375a77;hp=f939453fe8f9f8a936a9cd7c2b42ddf9d97d9a1c;hpb=66e2fdcc4f89a4f13c77f6e44f2969fd46aa7aba;p=kivitendo-erp.git diff --git a/SL/SEPA/XML.pm b/SL/SEPA/XML.pm index f939453fe..3aa88b7b0 100644 --- a/SL/SEPA/XML.pm +++ b/SL/SEPA/XML.pm @@ -67,6 +67,7 @@ sub _replace_special_chars { 'Ü' => 'Ue', 'ß' => 'ss', '&' => '+', + '`' => '\'', ); map { $text =~ s/$_/$special_chars{$_}/g; } keys %special_chars; @@ -224,7 +225,7 @@ sub to_xml { $xml->startTag('MndtRltdInf'); $xml->dataElement('MndtId', $self->_restricted_identification_sepa2($transaction->get('mandator_id'))); - $xml->dataElement('DtOfSgntr', $transaction->get('reference_date', 2010-12-02)); + $xml->dataElement('DtOfSgntr', $self->_restricted_identification_sepa2($transaction->get('date_of_signature'))); $xml->endTag('MndtRltdInf'); $xml->startTag('CdtrSchmeId');