Skip to content

Commit

Permalink
Merge pull request #233 from aFaneca/develop
Browse files Browse the repository at this point in the history
3.9.1
  • Loading branch information
afaneca authored Dec 3, 2022
2 parents 39a34e8 + 3a54842 commit f75e77a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 21 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public static function getYearOfFirstTransactionForUser($id_user, $transactional
{
$db = new EnsoDB($transactional);

$sql = "SELECT YEAR(FROM_UNIXTIME(date_timestamp)) as 'year' FROM myfin_prod.transactions " .
$sql = "SELECT YEAR(FROM_UNIXTIME(date_timestamp)) as 'year' FROM transactions " .
"INNER JOIN accounts account_from ON account_from.account_id = transactions.accounts_account_from_id " .
"INNER JOIN accounts account_to ON account_to.account_id = transactions.accounts_account_to_id " .
"WHERE account_from.users_user_id = :userId OR account_to.users_user_id = :userId " .
Expand Down
2 changes: 1 addition & 1 deletion web/js/consts.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

31 changes: 12 additions & 19 deletions web/js/stats.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit f75e77a

Please sign in to comment.