Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Fix #1825
James Cole933105a7212a
diff --git a/app/Http/Controllers/Json/ReconcileController.php b/app/Http/Controllers/Json/ReconcileController.phpindex 3296e922a3..7c523d8430 100644--- a/app/Http/Controllers/Json/ReconcileController.php+++ b/app/Http/Controllers/Json/ReconcileController.php@@ -138,7 +138,7 @@ class ReconcileController extends Controllerif ($account->id === $dstAccount->id) {// destination, and it matches the currency id or is 0if ($dstCurrency === $transaction->transaction_currency_id || 0 === $dstCurrency) {- Log::debug(sprintf('Destination matches currency: %s', $transaction->transaction_amount));+ Log::debug(sprintf('Destination matches currency: %s', app('steam')->negative($transaction->transaction_amount)));$amount = bcadd($amount, app('steam')->negative($transaction->transaction_amount));}// destination, and it matches the foreign currency ID.@@ -147,10 +147,9 @@ class ReconcileController extends Controller$amount = bcadd($amount, $transaction->transaction_foreign_amount);}}+ Log::debug(sprintf('Amount is now %s', $amount));}Log::debug('End transaction loop');- // make sure amount is positive.- $amount = app('steam')->positive($amount);/** @var Transaction $transaction */foreach ($cleared as $transaction) {if ($transaction->date <= $end) {diff --git a/changelog.md b/changelog.mdindex 2a32d471a9..682c41d3c6 100644--- a/changelog.md+++ b/changelog.md@@ -2,6 +2,45 @@All notable changes to this project will be documented in this file.This project adheres to [Semantic Versioning](http://semver.org/).+## [4.7.8] - 2018-10-28+### Added+- [Issue 1005](https://github.com/firefly-iii/firefly-iii/issues/1005) You can now configure Firefly III to use LDAP.+- [Issue 1071](https://github.com/firefly-iii/firefly-iii/issues/1071) You can execute transaction rules using the command line (so you can cronjob it)+- [Issue 1108](https://github.com/firefly-iii/firefly-iii/issues/1108) You can now reorder budgets.+- [Issue 1159](https://github.com/firefly-iii/firefly-iii/issues/1159) The ability to import transactions from FinTS-enabled banks.+- [Issue 1727](https://github.com/firefly-iii/firefly-iii/issues/1727) You can now use SFTP as storage for uploads and exports.+- [Issue 1733](https://github.com/firefly-iii/firefly-iii/issues/1733) You can configure Firefly III not to send emails with transaction information in them.++++### Changed+- [Issue 1040](https://github.com/firefly-iii/firefly-iii/issues/1040) Fixed various things that would not scale properly in the past.+- [Issue 1771](https://github.com/firefly-iii/firefly-iii/issues/1771) A link to the transaction that fits the bill.+- [Issue 1800](https://github.com/firefly-iii/firefly-iii/issues/1800) Icon updated to match others.+- MySQL database connection now forces the InnoDB to be used.++### Fixed+- [Issue 1583](https://github.com/firefly-iii/firefly-iii/issues/1583) Some times recurring transactions would not fire.+- [Issue 1607](https://github.com/firefly-iii/firefly-iii/issues/1607) Problems with the bunq API, finally solved?! (I feel like a clickbait YouTube video now)+- [Issue 1698](https://github.com/firefly-iii/firefly-iii/issues/1698) Certificate problems in the Docker container+- [Issue 1751](https://github.com/firefly-iii/firefly-iii/issues/1751) Bug in autocomplete+- [Issue 1760](https://github.com/firefly-iii/firefly-iii/issues/1760) Tag report bad math+- [Issue 1765](https://github.com/firefly-iii/firefly-iii/issues/1765) API inconsistencies for piggy banks.+- [Issue 1774](https://github.com/firefly-iii/firefly-iii/issues/1774) Integer exception in SQLite databases+- [Issue 1775](https://github.com/firefly-iii/firefly-iii/issues/1775) Heroku now supports all locales+- [Issue 1778](https://github.com/firefly-iii/firefly-iii/issues/1778) More autocomplete problems fixed+- [Issue 1747](https://github.com/firefly-iii/firefly-iii/issues/1747) Rules now stop at the right moment.+- [Issue 1781](https://github.com/firefly-iii/firefly-iii/issues/1781) Problems when creating new rules.+- [Issue 1784](https://github.com/firefly-iii/firefly-iii/issues/1784) Can now create a liability with an empty balance.+- [Issue 1785](https://github.com/firefly-iii/firefly-iii/issues/1785) Redirect error+- [Issue 1790](https://github.com/firefly-iii/firefly-iii/issues/1790) Show attachments for bills.+- [Issue 1792](https://github.com/firefly-iii/firefly-iii/issues/1792) Mention excluded accounts.+- [Issue 1798](https://github.com/firefly-iii/firefly-iii/issues/1798) Could not recreate deleted piggy banks+- [Issue 1805](https://github.com/firefly-iii/firefly-iii/issues/1805) Fixes when handling foreign currencies+- [Issue 1807](https://github.com/firefly-iii/firefly-iii/issues/1807) Also decrypt deleted records.+- [Issue 1812](https://github.com/firefly-iii/firefly-iii/issues/1812) Fix in transactions API+- [Issue 1815](https://github.com/firefly-iii/firefly-iii/issues/1815) Opening balance account name can now be translated.+## [4.7.7] - 2018-10-01This version of Firefly III requires PHP 7.2. I've already started using several features from 7.2. Please make sure you upgrade.