ita-social-projects / OoS-Backend

Out of School: The platform for choosing an extracurricular activity for your children

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Update] Show the count of pending applications in the provider cabinet

DmyMi opened this issue · comments

As a Service provider (Director, provider deputy or provider admin) I want to see the amount of unprocessed application in my cabinet.

Description

In the Provider cabinet on top of the "Заявки" tab display the counter of applications in the "Pending" status.

telegram-cloud-photo-size-2-5404468665975429439-y

Acceptance Criteria

  • Provider and Provider deputy should see the count of all the pending applications to all the workshops.
  • Provider admin should see the count of the pending applications to the workshops that they have access to.
  • Backend endpoint should looks like /provider/{id}/applications/pending