From ec1bb300e29f7102cbc9bef0d017689ff4c30382 Mon Sep 17 00:00:00 2001 From: Robert Horlings Date: Thu, 25 Feb 2016 14:54:06 +0100 Subject: [PATCH 1/2] Small bugfix in AbnAmroImport specific --- app/Helpers/Csv/Specifix/AbnAmroDescription.php | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/app/Helpers/Csv/Specifix/AbnAmroDescription.php b/app/Helpers/Csv/Specifix/AbnAmroDescription.php index 54d7c80d85..0cc6f1f079 100644 --- a/app/Helpers/Csv/Specifix/AbnAmroDescription.php +++ b/app/Helpers/Csv/Specifix/AbnAmroDescription.php @@ -95,8 +95,12 @@ class AbnAmroDescription extends Specifix implements SpecifixInterface // description and opposing account will be the same. $this->data['opposing-account-name'] = $matches[4]; - $this->data['description'] = $matches[4]; - + + if( $matches[1] == 'GEA' ) { + $this->data['description'] = 'GEA ' . $matches[4]; + } else { + $this->data['description'] = $matches[4]; + } return true; } From c624c4342fea725a20d4da3f1888de2b03a830a8 Mon Sep 17 00:00:00 2001 From: Robert Horlings Date: Thu, 25 Feb 2016 16:19:27 +0100 Subject: [PATCH 2/2] Small bugfix --- app/Helpers/Csv/Converter/AmountComma.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Helpers/Csv/Converter/AmountComma.php b/app/Helpers/Csv/Converter/AmountComma.php index ca3937e074..37b4d95841 100644 --- a/app/Helpers/Csv/Converter/AmountComma.php +++ b/app/Helpers/Csv/Converter/AmountComma.php @@ -17,7 +17,7 @@ class AmountComma extends BasicConverter implements ConverterInterface */ public function convert() { - $value = str_replace(',', '.', str_val($this->value)); + $value = str_replace(',', '.', strval($this->value)); if (is_numeric($value)) { return strval($value);