mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-11-18 23:50:09 +00:00
Merge branch 'develop' of https://github.com/JC5/firefly-iii into develop
# By Robert Horlings # Via James Cole (2) and Robert Horlings (1) * 'develop' of https://github.com/JC5/firefly-iii: Small bugfix Small bugfix in AbnAmroImport specific
This commit is contained in:
@@ -17,7 +17,7 @@ class AmountComma extends BasicConverter implements ConverterInterface
|
|||||||
*/
|
*/
|
||||||
public function convert()
|
public function convert()
|
||||||
{
|
{
|
||||||
$value = str_replace(',', '.', str_val($this->value));
|
$value = str_replace(',', '.', strval($this->value));
|
||||||
|
|
||||||
if (is_numeric($value)) {
|
if (is_numeric($value)) {
|
||||||
return strval($value);
|
return strval($value);
|
||||||
|
|||||||
@@ -95,8 +95,12 @@ class AbnAmroDescription extends Specifix implements SpecifixInterface
|
|||||||
|
|
||||||
// description and opposing account will be the same.
|
// description and opposing account will be the same.
|
||||||
$this->data['opposing-account-name'] = $matches[4];
|
$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;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user