\chapter{Badging Dashboard}

There are several badging options available to staff all found on the Badging Dashboard. In addition to name badges, this is also where the Envelope Labels are located.



View: admin/badging/dashboard 

Route: admin.badging.dashboard

\begin{enumerate}
    \item Print Multiple Badges
    \begin{itemize}
        \item Print Range
        \item Print All Badges
    \end{itemize}
    \item Correct a Badge
    \begin{itemize}
        \item Print All Badges
        \item Print Single Badge
    \end{itemize}
    \item Envelope Labels 
    \begin{itemize}
        \item Registration Envelope Labels 
        \item Registration Envelope Labels - Registration without meals
        \item Ticketing Envelope Labels
    \end{itemize}
\end{enumerate}



\section{Print Multiple Badges}

This section includes two options. The most common use will be to print the range of badges. A convention will likely print all badges only once. 

\subsection{Print Range}
This option prints all the badges including and between two order IDs.

\begin{lstlisting}[language=PHP, numbers=none, caption={Relevant Files for Print Range}, frame=single, framesep=10pt]
Form Route: {{ Form::open(['url' => '/admin/tickets/report_badges', 'class' =>'form-horizontal', 'method' => 'GET']) }}

Controller: app/Http/Controllers/Admin/TicketController.php

$routePath = 'Admin\TicketController@reportBadges';
\end{lstlisting}



\subsection{Print All Badges}
As the title implies, this will print all badges for the current season. 

\begin{lstlisting}[language=PHP, numbers=none, caption={Print all badges}, frame=single, framesep=10pt]
Invoked by requesting this route /admin/fpdf
Controller: Admin\PdfController@pdf
\end{lstlisting}
    

\section{Correct a Badge}

Search for for finding records by Email (text input) OR Customer ID (text input) OR Customer Name (dropdown list)

\begin{lstlisting}[language=PHP, numbers=none, caption={Relevant Files for Correct a Badge}, frame=single, framesep=10pt]
Form Route: {{ Form::open(['url' => '/admin/badging/users/orders', 'class' =>'form-horizontal', 'method' => 'GET']) }}

Controller: app/Http/Controllers/Admin/BadgingController.php

$routePath = 'Admin\BadgingController@usersOrders';
\end{lstlisting}

Returned view: 

\subsection{Print all Badges}



\subsection{Print Single Badge}


\section{Envelope Labels}

\subsection{Registration Enevlope Labels}

\subsection{Registration Enevlope Labels - Registration without meals}

\subsection{Ticket Enveloe Labels}
