mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-12 15:35:15 +00:00
Remove TODO annotations
This commit is contained in:
@@ -32,8 +32,6 @@ use Response;
|
|||||||
/**
|
/**
|
||||||
* Separate controller because many helper functions are shared.
|
* Separate controller because many helper functions are shared.
|
||||||
*
|
*
|
||||||
* TODO much of this code is actually repeated. First for the object (category, account), then for the direction (in / out).
|
|
||||||
*
|
|
||||||
* Class CategoryReportController
|
* Class CategoryReportController
|
||||||
*
|
*
|
||||||
* @package FireflyIII\Http\Controllers\Chart
|
* @package FireflyIII\Http\Controllers\Chart
|
||||||
@@ -98,7 +96,6 @@ class CategoryReportController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
// also collect all transactions NOT in these categories.
|
// also collect all transactions NOT in these categories.
|
||||||
// TODO include transfers
|
|
||||||
if ($others) {
|
if ($others) {
|
||||||
$collector = new JournalCollector(auth()->user());
|
$collector = new JournalCollector(auth()->user());
|
||||||
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL]);
|
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL]);
|
||||||
@@ -147,7 +144,6 @@ class CategoryReportController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
// also collect others?
|
// also collect others?
|
||||||
// TODO include transfers
|
|
||||||
if ($others) {
|
if ($others) {
|
||||||
$collector = new JournalCollector(auth()->user());
|
$collector = new JournalCollector(auth()->user());
|
||||||
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::DEPOSIT]);
|
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::DEPOSIT]);
|
||||||
@@ -196,7 +192,6 @@ class CategoryReportController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
// also collect all transactions NOT in these categories.
|
// also collect all transactions NOT in these categories.
|
||||||
// TODO include transfers
|
|
||||||
if ($others) {
|
if ($others) {
|
||||||
$collector = new JournalCollector(auth()->user());
|
$collector = new JournalCollector(auth()->user());
|
||||||
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL]);
|
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::WITHDRAWAL]);
|
||||||
@@ -245,7 +240,6 @@ class CategoryReportController extends Controller
|
|||||||
}
|
}
|
||||||
|
|
||||||
// also collect others?
|
// also collect others?
|
||||||
// TODO include transfers
|
|
||||||
if ($others) {
|
if ($others) {
|
||||||
$collector = new JournalCollector(auth()->user());
|
$collector = new JournalCollector(auth()->user());
|
||||||
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::DEPOSIT]);
|
$collector->setAccounts($accounts)->setRange($start, $end)->setTypes([TransactionType::DEPOSIT]);
|
||||||
|
@@ -92,7 +92,6 @@ interface BudgetRepositoryInterface
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
*
|
*
|
||||||
* todo always collects without budget info
|
|
||||||
* @param Collection $budgets
|
* @param Collection $budgets
|
||||||
* @param Collection $accounts
|
* @param Collection $accounts
|
||||||
* @param Carbon $start
|
* @param Carbon $start
|
||||||
|
@@ -39,7 +39,6 @@ class AccountControllerTest extends TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FireflyIII\Http\Controllers\AccountController::destroy
|
* @covers FireflyIII\Http\Controllers\AccountController::destroy
|
||||||
* @todo Implement testDestroy().
|
|
||||||
*/
|
*/
|
||||||
public function testDestroy()
|
public function testDestroy()
|
||||||
{
|
{
|
||||||
@@ -108,7 +107,6 @@ class AccountControllerTest extends TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FireflyIII\Http\Controllers\AccountController::store
|
* @covers FireflyIII\Http\Controllers\AccountController::store
|
||||||
* @todo Implement testStore().
|
|
||||||
*/
|
*/
|
||||||
public function testStore()
|
public function testStore()
|
||||||
{
|
{
|
||||||
@@ -120,7 +118,6 @@ class AccountControllerTest extends TestCase
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* @covers FireflyIII\Http\Controllers\AccountController::update
|
* @covers FireflyIII\Http\Controllers\AccountController::update
|
||||||
* @todo Implement testUpdate().
|
|
||||||
*/
|
*/
|
||||||
public function testUpdate()
|
public function testUpdate()
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user