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

User credits #24

Closed
12 tasks done
agentphoenix opened this issue Dec 30, 2013 · 0 comments
Closed
12 tasks done

User credits #24

agentphoenix opened this issue Dec 30, 2013 · 0 comments

Comments

@agentphoenix
Copy link
Owner

Overview

  • 2 types of credit: monetary and time
    • A user can have one, both, or none of each type of credit
  • We'll show a user in the sidebar what they have for credits (if any)
  • User credits can only be used when booking lessons, not programs
    • Currently, services don't have a duration associated with them (and each instance could have a different duration), so it's much more difficult to get price per minute than with lesson services.
  • Applying a code will happen via a pop-up.
  • When booking:
    • Will first look for monetary credit and use it if it's there.
    • Will look for time credit and use it if it's there.
    • If there's no credit at all, it'll book as usual.
  • Promo code admin
    • Create new code
    • Delete a promo code
      • Only time promo codes can be deleted
      • Time promo codes will expire 1 year after being applied to a user's account
      • Monetary promo codes cannot expire
    • Edit a promo code
  • Cancellations
    • When a non-recurring lesson is cancelled that has been paid for, a time credit is issued
    • When an instance of a recurring lesson is cancelled that has been paid for, a time credit is issued
    • When an entire series of a recurring lesson is cancelled, any paid services will trigger a time credit being issued

Requirements

  • New users_credits table
  • Interface for managing credits
  • Searching through user credits
  • Interface for users to see how many credits they have
  • Booking service update for using credits if they exist
  • Show final price for the service
  • Handle amount and amount owed in the users_appointments table
  • Show amount due in the details pop up
  • Redeem promo code pop-up
  • Cancellations
    • Add hourly credit for paid recurring lessons
    • Add hourly credit for paid non-recurring lessons
    • Re-credit used user credits if it was used

Estimate

20 hours

Actual Time

30 hours

@agentphoenix agentphoenix removed this from the Release 2 milestone Apr 3, 2014
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant