Restore todo's

This commit is contained in:
James Cole
2022-10-30 11:43:17 +01:00
parent e3181e90df
commit d28326cc89
64 changed files with 102 additions and 104 deletions

View File

@@ -518,7 +518,7 @@ class AccountController extends Controller
/**
* Shows the balances for a given set of dates and accounts.
*
* See reference nr. 55
* TODO this chart is not multi currency aware.
*
* @param Collection $accounts
*

View File

@@ -65,7 +65,7 @@ class CategoryController extends Controller
/**
* Show an overview for a category for all time, per month/week/year.
* See reference nr. 59
* TODO test method, for category refactor.
*
* @param Category $category
*
@@ -116,7 +116,7 @@ class CategoryController extends Controller
/**
* Shows the category chart on the front page.
* See reference nr. 60
* TODO test method for category refactor.
*
* @return JsonResponse
*/
@@ -143,7 +143,7 @@ class CategoryController extends Controller
/**
* Chart report.
* See reference nr. 61
* TODO test method for category refactor.
*
* @param Category $category
* @param Collection $accounts
@@ -259,7 +259,7 @@ class CategoryController extends Controller
/**
* Chart for period for transactions without a category.
* See reference nr. 62
* TODO test me.
*
* @param Collection $accounts
* @param Carbon $start
@@ -286,7 +286,7 @@ class CategoryController extends Controller
/**
* Chart for a specific period.
* See reference nr. 63
* TODO test me, for category refactor.
*
* @param Category $category
* @param Carbon $date

View File

@@ -318,7 +318,7 @@ class CategoryReportController extends Controller
}
/**
* See reference nr. 57
* TODO duplicate function
*
* @param Carbon $start
* @param Carbon $end

View File

@@ -249,7 +249,7 @@ class DoubleReportController extends Controller
}
/**
* See reference nr. 51
* TODO duplicate function
*
* @param Collection $accounts
* @param int $id
@@ -274,7 +274,7 @@ class DoubleReportController extends Controller
}
/**
* See reference nr. 52
* TODO duplicate function
*
* @param Carbon $start
* @param Carbon $end

View File

@@ -70,7 +70,7 @@ class ExpenseReportController extends Controller
/**
* Main chart that shows income and expense for a combination of expense/revenue accounts.
*
* See reference nr. 58
* TODO this chart is not multi currency aware.
*
* @param Collection $accounts
* @param Collection $expense

View File

@@ -58,7 +58,7 @@ class PiggyBankController extends Controller
/**
* Shows the piggy bank history.
*
* See reference nr. 53
* TODO this chart is not multi currency aware.
*
* @param PiggyBankRepositoryInterface $repository
* @param PiggyBank $piggyBank

View File

@@ -104,7 +104,7 @@ class ReportController extends Controller
}
);
// See reference nr. 56
// TODO get liabilities and include those as well?
while ($current < $end) {
// get balances by date, grouped by currency.

View File

@@ -323,7 +323,7 @@ class TagReportController extends Controller
}
/**
* See reference nr. 54
* TODO duplicate function
*
* @param Carbon $start
* @param Carbon $end