Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

✨(backend) Contract: endpoint list #393

Closed
rlecellier opened this issue Sep 1, 2023 · 1 comment
Closed

✨(backend) Contract: endpoint list #393

rlecellier opened this issue Sep 1, 2023 · 1 comment
Assignees
Labels
Milestone

Comments

@rlecellier
Copy link
Collaborator

rlecellier commented Sep 1, 2023

Feature Request

We need to list contract in the teacher dashboard.

This endpoint must implements filters:

  • By signatures: 1 or 2 (waiting organization to sign or completed)
  • By course
  • By organization

This endpoint must return:

  • contract_id
  • learner_name
  • product_title
  • nb_signatures (or anything that tell us that it's sign by learner or both learner and organization)

=====

id: string;
  title: string;
  learner_name: string;
  product_title: string;
  sign_date: string;
  course_code: string;
  course_cover: JoanieFile;
}
@samy-aitouakli
Copy link
Contributor

Waiting for PR #358

jbpenrath added a commit that referenced this issue Oct 19, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393
jbpenrath added a commit that referenced this issue Oct 19, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
jbpenrath added a commit that referenced this issue Oct 19, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
jbpenrath added a commit that referenced this issue Oct 20, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
jbpenrath added a commit that referenced this issue Oct 23, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
jbpenrath added a commit that referenced this issue Oct 24, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
jbpenrath added a commit that referenced this issue Oct 24, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
jbpenrath added a commit that referenced this issue Oct 24, 2023
We want to able to retrieve only signed or unsigned contracts. So we add a drf
filter which returned contract according its property `signed_on` value.

Fix #393

Co-authored-by: Samy Ait-Ouakli <samy.aitouakli@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants