# Bug DREAM-632 - 'Actual costs per months' widget does not show previous 12 months

Project: Stream Design System
Status: closed
URL: https://community.openproject.org/work_packages/DREAM-632

## Open points

_No work packages_

## Details

| Attribute | Value |
| --- | --- |
| Date |  |
| Priority | Medium |
| Module | Modules and project features / Project overview, Modules and project features / Costs and budgets, Frontend components and Primer design system |
| Target versions | 17.2.0 |
| Observed in versions | 17.2.0 |
| Sprint |  |
| Backlog bucket |  |
| Bug found in version (deprecated) | 17.2.x |
| Requires doc change | No |
| Accessibility | No |
| Pull preview |  |
| List |  |
| Labels |  |

## People

| Attribute | Value |
| --- | --- |
| Assignee |  |
| Accountable |  |
| Product manager |  |
| Developers | Henriette Darge |
| Designer |  |
| Ordered by |  |
| Signed off by |  |
| Interest by |  |

## Planning

| Attribute | Value |
| --- | --- |
| Relevance |  |

## Costs

| Attribute | Value |
| --- | --- |
| Votes |  |
| Work |  |
| Labor costs |  |

## Description

### Steps to reproduce

1.  Login as a project admin

2.  Go to a project overview with existing budget and logged unit costs

### What is the buggy behaviour?

  - The actual costs per month widget does not show previous 11month

### What is the expected behaviour?

1.  As per the AC, edited after Alex's input

> Widget shows 12 full calendar months, ending with the current month

### 

### Screenshots and other files

<img class="op-uc-image op-uc-image_inline" src="/api/v3/attachments/919367/content">

### Environment information

**OpenProject version**

Core build

[0cfbd60bfa80fdbdb9866ba6c2bd47c7a9e7e84a](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fopenproject%2Fcommits%2F0cfbd60bfa80fdbdb9866ba6c2bd47c7a9e7e84a)

Product version

[ecfbdd2facf738f725a89cda20e6909aaa4b155f](https://qa.openproject-stage.com/external_redirect?url=https%3A%2F%2Fgithub.com%2Fopf%2Fsaas-openproject%2Fcommits%2Fecfbdd2facf738f725a89cda20e6909aaa4b155f)

Core version

OpenProject 17.2.0

**Browser**

- [ ] Chrome
- [x] Firefox
- [ ] Safari
- [ ] Mobile Safari
- [ ] Other (please specify)

**Operating System**

- [x] Windows
- [ ] Mac OS X
- [ ] Mobile iOS
- [ ] Mobile Android
- [ ] Linux (please specify distro)
- [ ] Chrome OS
- [ ] Other (please specify)
