From 5a7a94132cab2761f900ddd7717eb22bc62e53a3 Mon Sep 17 00:00:00 2001 From: rappsi Date: Fri, 17 Oct 2014 11:32:08 +0200 Subject: [PATCH] Update SepaXmlCreator.php Funktion getAnzahlUmsaetze() --- SepaXmlCreator.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/SepaXmlCreator.php b/SepaXmlCreator.php index 281dbc7..224876e 100644 --- a/SepaXmlCreator.php +++ b/SepaXmlCreator.php @@ -375,6 +375,10 @@ function getUmsatzsumme() { return $betrag; } + function getAnzahlUmsaetze() { + return count($this->buchungssaetze); + } + public function validateBasislastschriftXml($xmlfile) { return $this->validateXML($xmlfile, 'pain.008.002.02.xsd'); }