\chapter{Administration}
    The entire functionality of the platform is managed through the admin section. 

\section{Admin Dashboard}
This is the top level admin page consisting of several cards with statistical reporting. Most of the items shown are selectable by admins. See below for the procedure.

The first card is a simple list of tracked items followed by user statistics.

\begin{itemize}
    \item Items Sold (by category)
    \item All users 
    \item Verified users 
\end{itemize}

This card is followed by these cards:

\begin{itemize}
    \item Marathon Meeting statistics
    \item Other Commitments
    \item Gross Revenue
\end{itemize}

On the right side of the admin dashboard is a series of user-defined cards. Follow this simple procedure to add/remove cards.

\subsubsection{How to Add/remove cards for the admin dashboard}
\begin{enumerate}
    \item Edit Category 
    \item Select "Track sales of this item on Admin Dashboard?"
    \item Enter Goal amount.
    \item Submit
\end{enumerate}


\section{Announcements}
It is possible to publish announcements to users. There are two types of announcements. 
A Public Announcement is visible to all authenticated users. 
A User Specific Announcement is only visible to a single user. 

\subsection{Public}
Visible to all authenticated users on the Dashboard page. The announcement is displayed in a thin red strip with yellow fonts.

\subsubsection{How to Add/Remove a Public Announcement}

\begin{enumerate}
    \item Go to Admin > Announcements > Public
    \item Click the CREATE button
    \item Type in the announcment
    \item Select "Is Active"
    \item Click SAVE
\end{enumerate}

HINT: If there is a previously written inactive announcment which will not be used again, you can simply edit it and select Active to recycle it.

\subsection{User Specific}
Visible to just a single (specific) user. The announcement is also shown in a thin red strip with yellow fonts. If there is an active public announcement, the user announcment will be placed dirrectly below it.

\subsubsection{How to Add/Remove a User Specific Announcement}
\begin{enumerate}
    \item Go to Admin > Users > All Users
    \item Locate the user to which you want to add the announcment
    \item Click their name to load the user detail view 
    \item Scroll down to User announcments
    \item Click the CREATE button
    \item Type in the announcment 
    \item Click SAVE
\end{enumerate}

When the user sees their announcment, they will see a [confirm] link. Clicking confirm clears the announcment from their dashboard. It also provides feedback to the administrators informing them that the user has seen the announcment.



\section{Content Management (CMS)}
All dynamic content is managed in this section. Dynamic content consists of pages and various defined blocks throughout the website. 
Although you can find all content in the admin CMS section, most of the locations where this content is used have edit links on their front end views to make it easy to edit without the need to hunt for it in the admin section.

\subsection{Menus}
Content 
\subsection{Pages}
Content 
\subsection{Media Library}
Content 
\section{Events}
Content 
\subsection{All Events}
Content 
\subsection{Al-Anon Events}
Content 
\subsection{Event Roles}
Content 
\subsection{Meals}
Content 
\subsection{Marathon Meetings}
Content 
\subsection{Speaker Meetings}
Content 
\subsection{Virtual Meetings}
Any meeting can be configured as a Virtual meeting. A virtual meeting can be either solely virtual or hybrid.

\begin{enumerate}
    \item Edit existing Event to which you wish to make virtual
    \item Select "Is Virtual"
    \item Select "Hybrid" if the event will be virtual AND in-person simultaneously
    \item Enter the "Lead Time". This is the number of minutes prior to the start of the meeting when the link will appear on the website..
    \item Enter the "Virtual URL". This is the URL for the meeting.
    \item Enter the "Access Code". This is the code to manually enter into the videoconferencing application.
    \item Select "Public". If checked, there is no password required. If unchecked, you must enter the password in the next field.
    \item Enter the Virtual Password. Users must enter this password in order to enter the virtual meeting.
\end{enumerate}

\section{Locations}
Content 
\subsection{Locations}
Content 
\subsection{The Zoom Location}
Content 

\section{E-Commerce}
E-Commerce sales are based on Categories and Products. A Category can hae one or more associated products. Ultimately products are what is sold to customers. Categories are used to group products together, such as multiple Tee Shirt sizes belonging to a Tee Shirt style (e.g. Men's Crew Neck Tee).

Example:

\begin{itemize}
    \item Category: Womens Racerback Tank
    \\ Associated Products 
    \begin{itemize}
        \item Small
        \item Medium 
        \item Large 
        \item X-Large 
        \item 2X-Large 
    \end{itemize}
\end{itemize}


Categories can be enabled and disabled toggling the "Published" field. 

\begin{enumerate}
    \item Locate the category to toggle
    \item Click Edit
    \item Check/uncheck "Published"
    \item Save
\end{enumerate}

Products can be manipulated in three different ways.

\begin{enumerate}
    \item Enable/disable with Published field (does not show in product listing)
    \item Make available based on quantity on hand (Shows "Sold Out" in product listing)
    \item Make sellable/unsellable (shows as "Not Currently Available" in product listing)
\end{enumerate}

To make these changes

\begin{enumerate}
    \item Locate the product you wish to edit (hint: find the product at the bottom of a category page)
    \item Click Edit
    \item Check/uncheck "publish", "Sellable"
    \item Reduce quantity to 0 if you wish to show as "Sold Out" or a larger value to make it available
\end{enumerate}


% Both categories and products have several properties as explained next.

% \subsection{Categories}


% \subsubsection*{id}
% Incrementing integer field
% \subsubsection*{id\_parent}
% Identifies the parent category if this category is a child (optional)

% \subsubsection*{title}
% Descriptive name of this category. Used in order line-item listings.

% \subsubsection*{abstract}
% Descriptive name of this category. Used as the prominent heading in the store listing.

% \subsubsection*{description}
% \subsubsection*{is\_visible}
% \subsubsection*{slug}
% \subsubsection*{image}
% \subsubsection*{banner}
% \subsubsection*{doc}
% \subsubsection*{sort}
% \subsubsection*{published}
% \subsubsection*{goal}
% \subsubsection*{is\_tracked}
% \subsubsection*{created\_by}

\subsection{Products}
Content 



\section{Reporting Dashboard}
Content 
\subsection{Sales}


\begin{itemize}
    \item All Orders
    \item Transactions
    \item Order Batch Generator
    \item Registration Report (view)
    \item Registration Report (CSV)
    \item Exception Report (view)
    \item Exception Report (CSV)
\end{itemize}


\subsection{Products Sold}
\begin{itemize}
    \item Donations 
    \item Meals
    \item Merchandise
    \item Clothing
    \item Product Purchases (CSV)
    \item Commemoratives
\end{itemize}

\subsection{Service Commitments}
\begin{itemize}
    \item Greeters
    \item Hospitality
    \item Marathon Leaders
    \item Security
    \item Speakers
\end{itemize}


\subsection{Sporting Events}
\begin{itemize}
    \item Golf Teams
    \item 10K Walk / Run
\end{itemize}

\section{Settings}
Content 
\subsection{Settings}
Content 
\section{Support}
Content 
\subsection{Settings}
Content 
\subsection{Website Manual}
Content 
\subsection{Zendesk Tickets}
Content 
\subsection{Voicemails}
Content 
\subsection{Voicemail Greeting}
Content 
\subsection{Westlinks Support}
Content 
\section{Users}
Content 
\subsection{All Users}
Content 