---
# System prepended metadata

title: 'Organisation issues/features:'

---

# Organisation issues/features:

## User story:
 As an organisation, I can select to create a discount code:
 - I enter time period it is valid for and the % discount level
 - It calculates the total potential cost this will be
### Technical tasks:
 - **Front end:**
   - update the interns table to add credit information
        - check the figma
   - tobe done
 - **Back end:**
   - tobe done.
#### Related:
 - https://github.com/yalla-coop/presspad/issues/65
 - is this question have been answered?
    https://github.com/yalla-coop/presspad/issues/59
 - the difference between credits and discounts still not clear to us.

## User story:
 As an organisation, if I don’t have funds in my account and I try to create a new discount code it tells me I need to put more money into my account
### Technical tasks:
 - **Front end:**
     - should be a design for this? some sort of popup msg then redirect the user to purshase credits page (whatever that page is)
 - **Back end:**
     - should be a middle ware to always check if the funds are sufficient or not before do any operation that relates to (booking, add credit or discount code).
#### Related:
 - still not clear how the credit discount relation are going to be.
 - we need to see the desgin so we understand the thing better.
## User story:
 As an organisation, I can view a list of discount codes that I’ve purchase.
 Each code shows:
  - % discount
  - Time it is valid for
  - Total potential cost
  - How much of it has been used so far (e.g. £60 out of £250)
  - Once an intern has used the code for the first time, their name (with link to their profile) is added to the table
### Technical tasks:
 - **Front end:**
     - need to be discussed more
     - no figma design for it
 - **Back end:**
     - need to be discussed more
#### Related:
 - need more clarifications