1
0

Update IPO

This commit is contained in:
Ahmed Al-Taiar
2023-12-08 16:10:26 -05:00
parent 5b092f51b2
commit f64d965467
2 changed files with 5 additions and 1 deletions

Binary file not shown.

View File

@ -223,7 +223,11 @@
\subsection{Transactions}
\IPO{\begin{itemize}\item User ID (\texttt{int})\item Filter by (\texttt{enum})\end{itemize}}{Query database for transactions linked to specified user ID and filter\n~\n Render ``filter by'' selection\n\textbf{IF} transactions is empty\n$\Rightarrow$Render ``empty'' \n\textbf{ELSE}\n$\Rightarrow$\textbf{FOR} each transaction\n$\Rightarrow\Rightarrow$Render item count, relative time, and type (``in''/``out'')\n$\Rightarrow\Rightarrow$On press, reveal quantity and title of each part}{Transactions}
\IPO{\begin{itemize}\item User ID (\texttt{int})\item Filter by (\texttt{enum})\end{itemize}}{Query database for transactions linked to specified user ID and filter\n~\n Render ``filter by'' selection\n\textbf{IF} transactions is empty\n$\Rightarrow$Render ``empty'' \n\textbf{ELSE}\n$\Rightarrow$\textbf{FOR} each transaction\n$\Rightarrow\Rightarrow$Render item count, relative time, and type (``in''/``out'')\n$\Rightarrow\Rightarrow$On press, reveal quantity and title of each part\n$\Rightarrow\Rightarrow$\textbf{IF} type is ``out'' \n$\Rightarrow\Rightarrow\Rightarrow$Render ``return'' button in revealed portion (\ref{returntransaction})}{Transactions}
\subsection{Return Transaction}\label{returntransaction}
\IPO{\begin{itemize}\item Transaction (\texttt{object})\item ``Return'' button\end{itemize}}{\textbf{FOR} each part \& quantity in transaction\n$\Rightarrow$Increment part's stock in database by quantity\n~\n Update transaction's type to ``in''}{Transaction}
\section{Admin Transactions Page}