Skip to content

Firefly III: a personal finances manager

Also show foreign amount.

James Colee005fe7ce144
diff --git a/app/Http/Controllers/Transaction/SplitController.php b/app/Http/Controllers/Transaction/SplitController.php
index d0a961fb41..3229d73ac9 100644
--- a/app/Http/Controllers/Transaction/SplitController.php
+++ b/app/Http/Controllers/Transaction/SplitController.php
@@ -247,8 +247,9 @@ class SplitController extends Controller
}
if (count($res) > 0) {
- $res['amount'] = app('steam')->positive((string)$res['amount']);
- $transactions[] = $res;
+ $res['amount'] = app('steam')->positive((string)$res['amount']);
+ $res['foreign_amount'] = app('steam')->positive((string)$res['foreign_amount']);
+ $transactions[] = $res;
}
}