Skip to content
This repository has been archived by the owner on Oct 16, 2022. It is now read-only.

⚙️ Comptabilité des associations #212

Open
iv-stpn opened this issue May 1, 2022 · 0 comments
Open

⚙️ Comptabilité des associations #212

iv-stpn opened this issue May 1, 2022 · 0 comments
Labels
difficulty: easy Issues that are easy to finish. priority: low Issues that must be fixed or PRs that must be finished and merged with low priority. scope: clubs Issues and PRs related to the club module. status: approved Issues and PRs that have been approved. target: backend Issues and PRs that act on the backend. type: feature Issues/PRs that requests/adds a new feature.

Comments

@iv-stpn
Copy link
Contributor

iv-stpn commented May 1, 2022

Pour quelle partie de l'infrastructure souhaitez-vous proposer une suggestion ?

API

Votre idée

Une table permettant aux associations de gérer leur comptabilité. Chaque item de la table contient les champs suivants :

Table finances

  • createdBy : créateur de l'item
  • linkedEvent? : event lié (si applicable, nullable)
  • dueTo? : identité de la personne remboursée au sein de la plateforme (si applicable, nullable)
  • team : l'association liée à la dépense
  • amount : le montant de l'item
  • date : date de l'opération
  • type : si l'item est une dépense ou un revenu (enum)
  • mean : moyen de paiment (enum : creditCard, cash...)
  • category : catégorie de l'item (enum prédifini, v. @BlackStar01)
  • title : un titre pour l'item
  • description? : une description de l'item, facultative

Une nouvelle catégorie de fichiers doit être créée pour servir d'attachment aux items de comptabilité.

Développer un CRUD pour gérer les dépenses:
POST /teams/{teamId}/finances Créer une nouvelle finance
GET /teams/{teamId}/finances Voir la liste des finances
GET /teams/{teamId}/finances/{financeId} Voir une finance en particulier
PATCH /teams/{teamId}/finances/{financeId} Modifier une finance
DELETE /teams/{teamId}/finances/{financeId} Supprimer une finance

Autre contexte

No response

@iv-stpn iv-stpn added type: enhancement Issues/PRs that requests/adds an improvement to an existing feature. status: unconfirmed Issues and PRs that are not approved yet. labels May 1, 2022
@noftaly noftaly changed the title ⚙️ Comptabilité ⚙️ Comptabilité des associations May 2, 2022
@noftaly noftaly added difficulty: easy Issues that are easy to finish. priority: low Issues that must be fixed or PRs that must be finished and merged with low priority. status: approved Issues and PRs that have been approved. type: feature Issues/PRs that requests/adds a new feature. target: backend Issues and PRs that act on the backend. scope: clubs Issues and PRs related to the club module. and removed type: enhancement Issues/PRs that requests/adds an improvement to an existing feature. status: unconfirmed Issues and PRs that are not approved yet. labels May 2, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
difficulty: easy Issues that are easy to finish. priority: low Issues that must be fixed or PRs that must be finished and merged with low priority. scope: clubs Issues and PRs related to the club module. status: approved Issues and PRs that have been approved. target: backend Issues and PRs that act on the backend. type: feature Issues/PRs that requests/adds a new feature.
Projects
None yet
Development

No branches or pull requests

2 participants