Skip to content

Latest commit

 

History

History
105 lines (90 loc) · 2.57 KB

TODO.md

File metadata and controls

105 lines (90 loc) · 2.57 KB

TODO

  • create new Winery-Sales application framework
  • setup app basics. gems and database
  • create github repository and upload to github
  • Users
  • Wineries
  • Sales
  • make a way of reporting the missing sales months for the tasting rooms
  • winery profile sidebar Partial
    • for incorporation into individual month sales summaries

Phase 1

  • Winery

  • Model

    1. name string
    2. year established number
    3. number of employees number
    4. image refile attachment
    5. array of dates for reminder emails pg array or json
  • Controller

  • View

    • Profile => (The Main View when logged in)
  • Tasting room

  • Model

    1. name
    2. winery belongs_to
    3. region reference
    4. year established number
    5. number of employees number
    6. image refile attachment use the winery if not present
    7. estate boolean
  • Sales Summary

    • Model
      1. tasting_room belongs_to

      2. number of tasters number

      3. number of purchasers number

      4. number of club signups number

      5. sales_in_dollars floating point

      6. year number

      7. month nunber could be nill

      8. day number could be nill.

      9. not to start was this an event or not boolean

      10. not to start start date datetime could be nill if using monthly entry

      11. not to start end date datetime could be nill if event or monthly entry

    • Controller
    • View
  • User Accounts

    • name
    • email
    • password
    • has many wineries through winery_users CHANGE
    • picture refile attachment
    • permissions number
      • Guest 0
      • User 3
      • Admin 10
      • Root 11
    1. Actions for the Users

    2. Agree to terms
    3. email a login link.
    4. email a password reset
    5. email a verification
    6. Create a Winery
    7. Join a winery with Approval automated
  • Winery-Users

    • reference winery
    • reference user
    • permissions level number
    • position string
  • Administrator Models & Resources

    • County
      1. name string
      2. population number
      3. profile_image refile attachment
    • Region
      1. name string
      2. belongs_to: county
      3. image refile attachment
    • Email reminders

Phase 2

  • Tracking

    • user login
      • user id
      • created_at datetime
      • last access
      • last page time

Design Screens

nameofimage

![donkeys](screens/Monthly Show.png)

donkeys