ColoredCow / ColoredCow/portal

Months with no invoices should not show up in Reports drop-down

Open
#484 1 comment 0 reactions 0 assignees View on GitHub
module : finance priority : medium
Dominant language
PHP
Stars
56
Forks
51
PR merge metrics
No merged PRs in 30d

Description

The default reports are displayed month-wise. In the drop-down (image below), the previous six months are displayed by default. If a month doesn't have any received and sent invoices, it shouldn't get displayed at all in the drop-down.

![image](https://user-images.githubusercontent.com/12053186/41529155-c3d514e6-7309-11e8-89db-4bc82f4c418d.png)

Contributor guide

Open the contributing guide

Research direction

Start at the Reports drop-down entry point and trace how the previous six months and invoice data are assembled. Verify the behavior with months containing no received or sent invoices; done means those empty months no longer appear while months with invoices remain available.

Written by the indexing model from the issue text.

Assessment

Tech stack
laravel, php
Domain
full-stack
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.