Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Account Manager and Manager

Glossary

Private (https://app.clickup.com/9003122396/docs/8ca1fpw-35796/8ca1fpw-41516)

Features

  • when you create restaurant there are 3 email that you will insert:
    1. alert email → listed other_emails table
    2. your email → listed on owners table and on staff table as owner (have owner_id)
    3. owner email → all owner information from creating restaurant was saved on notes column, on owners table

  • Is account manager on edit user, is saved on the users table at is_account_manager column
  • User that marked as is_account_manager will listed on the Account Manager section on Edit Restaurant
  • If you add user on Account Manager it will linked as user_id on restaurants table

  • The manager email on edit restaurant is saved as new record on other_emails table
  • It will be listed as Manager and other emails column at Restaurant Page on Admin Dashboard

Account Manager on Email

The account_manager on owner,staff and user mailer was from the user_id on the restaurants table, or the "Account Manager" from edit restaurant. rails c: Restaurant.user&.email