Skip to content

[NGO Profile][Financial info] Financial data forms for 2023 doesn't appear for NGOs registered in 2023 #438

@tudoramariei

Description

@tudoramariei

Describe the bug
The /organizations/<org_id>/financial page should show the financial information of the NGO for the previous year.
When the NGO registers, a set of forms appears for the previous year. Unfortunately, the NGOs registered in 2023 don't have the new set of forms generated. So, they are only left with the 2022 data.

Steps to reproduce the behavior

  1. Log in to the admin interface
  2. Go to /organizations/<org_id>/financial for an NGO registered in 2023
  3. Look at the Financial data forms
  4. Only the 2022 forms appear

Expected behavior
The 2023 forms should also appear so the NGO can fill them out.

Screenshots
Screenshot 2024-01-16 at 10 59 58

Sub-tasks:

  • CRON Job - Add Financial Data Reports and "ONG in Numere" reports on 1st of January for the previous year
  • CRON Job - Query ANAF services weekly starting 1st of June to 31st of December to fetch financial data for NGOs with the ANAF data not available in our DBs.
  • CRON Job - Send email on 1st of June to all NGOs with Financial Data available (it was generated, and the NGO is not created in the current year) for the current year to complete the information until 30th of June. @mirunaioana-msc pending template/text
  • Update Email notification text send on 1st of June
  • CRON Job - Send emails to NGOs who didn't complete the financial data until 30th of June to inform them to do it asap or will lose access to the account. (@mirunaioana-msc please decide how often, once a week, once a month, etc.)
  • CRON Job - Send emails to NGOs who completed the financial data partially or in full, but the data is invalid. (is in status 'invalid', the sums are not matching ANAF data). (@mirunaioana-msc probably with the same message "You may lose access to the account")
  • Add new statuses for the Financial Information Reports (as described here).
  • Decouple "ONG in numere" from the global status "Datele organizației nu sunt actualizate". Only "Date Financiare" will matter for this message. This will be part of [NGO Admin Dashboard] Improve NGO Admin notification for data update requirement  #478
  • Add tooltips in the table for the new statuses to make it more user friendly for the NGO Admins.
  • UI adjustments and functionality changes #609
  • When a new organization is created Financial/Reports/Investors/Partners will be generated only if the organization existed last year.
  • Update Reports Status banners when a new one of the Financial/Reports/Investors/Partners is updated/added/removed/edited.
  • Update Financial Reports in production with the new status for the ones already 'Completed'

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions