< ! D O C T Y P E   h t m l > 
 
 < h t m l   l a n g = " e n " > 
 
 < h e a d > 
 
         < m e t a   c h a r s e t = " U T F - 8 " > 
 
         < m e t a   h t t p - e q u i v = " X - U A - C o m p a t i b l e "   c o n t e n t = " I E = e d g e " > 
 
         < m e t a   n a m e = " v i e w p o r t "   c o n t e n t = " w i d t h = d e v i c e - w i d t h ,   i n i t i a l - s c a l e = 1 ,   s h r i n k - t o - f i t = n o " > 
 
         < t i t l e > S u p p l y   D a s h b o a r d   ,%V%  L a b   I n v e n t o r y   S y s t e m < / t i t l e > 
 
 
 
         < ! - -   G o o g l e   F o n t s   - - > 
 
         < l i n k   r e l = " p r e c o n n e c t "   h r e f = " h t t p s : / / f o n t s . g o o g l e a p i s . c o m " > 
 
         < l i n k   r e l = " p r e c o n n e c t "   h r e f = " h t t p s : / / f o n t s . g s t a t i c . c o m "   c r o s s o r i g i n > 
 
         < l i n k   h r e f = " h t t p s : / / f o n t s . g o o g l e a p i s . c o m / c s s 2 ? f a m i l y = I n t e r : w g h t @ 3 0 0 ; 4 0 0 ; 5 0 0 ; 6 0 0 ; 7 0 0 & d i s p l a y = s w a p "   r e l = " s t y l e s h e e t " > 
 
 
 
         < ! - -   B o o t s t r a p   C S S   - - > 
 
         < l i n k 
 
                 h r e f = " h t t p s : / / c d n . j s d e l i v r . n e t / n p m / b o o t s t r a p @ 5 . 3 . 3 / d i s t / c s s / b o o t s t r a p . m i n . c s s " 
 
                 r e l = " s t y l e s h e e t " 
 
                 i n t e g r i t y = " s h a 3 8 4 - Q W T K Z y j p P E j I S v 5 W a R U 9 O F e R p o k 6 Y c t n Y m D r 5 p N l y T 2 b R j X h 0 J M h j Y 6 h W + A L E w I H " 
 
                 c r o s s o r i g i n = " a n o n y m o u s " 
 
         > 
 
 
 
         < ! - -   F o n t   A w e s o m e   - - > 
 
         < l i n k 
 
                 r e l = " s t y l e s h e e t " 
 
                 h r e f = " h t t p s : / / c d n j s . c l o u d f l a r e . c o m / a j a x / l i b s / f o n t - a w e s o m e / 6 . 5 . 1 / c s s / a l l . m i n . c s s " 
 
                 i n t e g r i t y = " s h a 5 1 2 - D T O Q O 9 R W C H 3 p p G q c W a E A 1 B I Z O C 6 x x a l w E s w 9 c 2 Q Q e A I f t l + V e g o v l n e e 1 c 9 Q X 4 T c t n W M n 1 3 T Z y e + g i M m 8 e 2 L w A = = " 
 
                 c r o s s o r i g i n = " a n o n y m o u s " 
 
                 r e f e r r e r p o l i c y = " n o - r e f e r r e r " 
 
         / > 
 
 
 
         < ! - -   C u s t o m   S t y l e s   - - > 
 
         < l i n k   r e l = " s t y l e s h e e t "   h r e f = " a s s e t s / c s s / s t y l e s . c s s " > 
 
 < / h e a d > 
 
 < b o d y   c l a s s = " a p p - b o d y " > 
 
         < d i v   c l a s s = " l a y o u t " > 
 
 < d i v   c l a s s = " l a y o u t " > 
 
         < d i v   c l a s s = " m a i n - c o n t e n t " > 
 
                 < d i v   c l a s s = " t o p - b a r " > 
 
                         < h 2 > S u p p l y   D a s h b o a r d < / h 2 > 
 
                         < d i v   c l a s s = " u s e r - i n f o " > 
 
                                                                         < i m g   s r c = " u p l o a d s / p r o f i l e s / p r o f i l e _ 1 _ 1 7 7 3 4 6 4 2 1 2 . p n g "   a l t = " P r o f i l e "   s t y l e = " w i d t h : 3 6 p x ; h e i g h t : 3 6 p x ; b o r d e r - r a d i u s : 5 0 % ; o b j e c t - f i t : c o v e r ; b o r d e r : 2 p x   s o l i d   # 6 3 6 6 f 1 ; " > 
 
                                                                 < s p a n > S u p p l y   T e s t < / s p a n > 
 
                                 < a   h r e f = " l o g o u t . p h p "   c l a s s = " b t n   b t n - s m   b t n - d a n g e r "   s t y l e = " m a r g i n - l e f t :   1 5 p x ; " > 
 
                                         < i   c l a s s = " f a s   f a - s i g n - o u t - a l t " > < / i >   L o g o u t 
 
                                 < / a > 
 
                         < / d i v > 
 
                 < / d i v > 
 
 
 
                 < d i v   c l a s s = " s t a t s - c a r d s " > 
 
                         < d i v   c l a s s = " s t a t - c a r d " > 
 
                                 < d i v   c l a s s = " s t a t - i c o n "   s t y l e = " b a c k g r o u n d : # f f f 3 c d ; c o l o r : # 8 5 6 4 0 4 ; " > 
 
                                         < i   c l a s s = " f a s   f a - c l o c k " > < / i > 
 
                                 < / d i v > 
 
                                 < d i v   c l a s s = " s t a t - d e t a i l s " > 
 
                                         < h 4 > P e n d i n g   R e q u e s t s < / h 4 > 
 
                                         < h 2 > 0 < / h 2 > 
 
                                 < / d i v > 
 
                         < / d i v > 
 
                         < d i v   c l a s s = " s t a t - c a r d " > 
 
                                 < d i v   c l a s s = " s t a t - i c o n "   s t y l e = " b a c k g r o u n d : # d 4 e d d a ; c o l o r : # 1 5 5 7 2 4 ; " > 
 
                                         < i   c l a s s = " f a s   f a - c h e c k - c i r c l e " > < / i > 
 
                                 < / d i v > 
 
                                 < d i v   c l a s s = " s t a t - d e t a i l s " > 
 
                                         < h 4 > A p p r o v e d < / h 4 > 
 
                                         < h 2 > 0 < / h 2 > 
 
                                 < / d i v > 
 
                         < / d i v > 
 
                         < d i v   c l a s s = " s t a t - c a r d " > 
 
                                 < d i v   c l a s s = " s t a t - i c o n "   s t y l e = " b a c k g r o u n d : # e 3 f 2 f d ; c o l o r : # 1 9 7 6 d 2 ; " > 
 
                                         < i   c l a s s = " f a s   f a - c l i p b o a r d - c h e c k " > < / i > 
 
                                 < / d i v > 
 
                                 < d i v   c l a s s = " s t a t - d e t a i l s " > 
 
                                         < h 4 > C o m p l e t e d < / h 4 > 
 
                                         < h 2 > 1 < / h 2 > 
 
                                 < / d i v > 
 
                         < / d i v > 
 
                 < / d i v > 
 
 
 
                 < d i v   c l a s s = " t a b l e - c o n t a i n e r "   s t y l e = " m a r g i n - t o p : 2 0 p x ; " > 
 
                         < d i v   c l a s s = " t a b l e - h e a d e r " > 
 
                                 < h 3 > < i   c l a s s = " f a s   f a - l i s t " > < / i >   R e c e n t   S u p p l y   R e q u e s t s < / h 3 > 
 
                         < / d i v > 
 
                         < t a b l e   c l a s s = " d a t a - t a b l e " > 
 
                                 < t h e a d > 
 
                                         < t r > 
 
                                                 < t h > I t e m < / t h > 
 
                                                 < t h > Q u a n t i t y < / t h > 
 
                                                 < t h > R e q u e s t e d   B y < / t h > 
 
                                                 < t h > D a t e < / t h > 
 
                                                 < t h > S t a t u s < / t h > 
 
                                                 < t h > A c t i o n s < / t h > 
 
                                         < / t r > 
 
                                 < / t h e a d > 
 
                                 < t b o d y > 
 
                                                                                                                                                 < t r > 
 
                                                                 < t d > 
 
                                                                         < s t r o n g > S u b a g e n t   T e s t   I t e m < / s t r o n g > 
 
                                                                                                                                         < / t d > 
 
                                                                 < t d > 1 0 < / t d > 
 
                                                                 < t d > A d m i n   U s e r < / t d > 
 
                                                                 < t d > M a r   1 4 ,   2 0 2 6 < / t d > 
 
                                                                 < t d > 
 
                                                                                                                                                 < s p a n   c l a s s = " s t a t u s - b a d g e   s t a t u s - a v a i l a b l e " > 
 
                                                                                 C o m p l e t e d                                                                         < / s p a n > 
 
                                                                 < / t d > 
 
                                                                 < t d > 
 
                                                                                                                                                         < s p a n   c l a s s = " t e x t - m u t e d " > P r o c e s s e d < / s p a n > 
 
                                                                                                                                         < / t d > 
 
                                                         < / t r > 
 
                                                                                                                         < / t b o d y > 
 
                         < / t a b l e > 
 
                 < / d i v > 
 
         < / d i v > 
 
 < / d i v > 
 
 
 
 < ! - -   A c c e p t   R e q u e s t   M o d a l   - - > 
 
 < d i v   i d = " a c c e p t M o d a l "   c l a s s = " m o d a l "   s t y l e = " d i s p l a y : n o n e ;   p o s i t i o n : f i x e d ;   z - i n d e x : 1 0 0 0 ;   l e f t : 0 ;   t o p : 0 ;   w i d t h : 1 0 0 % ;   h e i g h t : 1 0 0 % ;   o v e r f l o w : a u t o ;   b a c k g r o u n d - c o l o r : r g b a ( 0 , 0 , 0 , 0 . 5 ) ; " > 
 
         < d i v   c l a s s = " m o d a l - c o n t e n t "   s t y l e = " b a c k g r o u n d - c o l o r : # f e f e f e ;   m a r g i n : 1 5 %   a u t o ;   p a d d i n g : 2 0 p x ;   b o r d e r : 1 p x   s o l i d   # 8 8 8 ;   w i d t h : 4 0 0 p x ;   b o r d e r - r a d i u s : 8 p x ; " > 
 
                 < s p a n   c l a s s = " c l o s e "   o n c l i c k = " c l o s e A c c e p t M o d a l ( ) "   s t y l e = " c o l o r : # a a a ;   f l o a t : r i g h t ;   f o n t - s i z e : 2 8 p x ;   f o n t - w e i g h t : b o l d ;   c u r s o r : p o i n t e r ; " > & t i m e s ; < / s p a n > 
 
                 < h 2 > A c c e p t   R e q u e s t < / h 2 > 
 
                 < p > A s s i g n   c a t e g o r y   f o r   " < s t r o n g   i d = " a c c e p t I t e m N a m e " > < / s t r o n g > "   b e f o r e   a d d i n g   t o   i n v e n t o r y . < / p > 
 
                 
 
                 < f o r m   i d = " a c c e p t F o r m "   o n s u b m i t = " s u b m i t A c c e p t ( e v e n t ) " > 
 
                         < i n p u t   t y p e = " h i d d e n "   i d = " a c c e p t R e q u e s t I d "   n a m e = " r e q u e s t _ i d "   v a l u e = " " > 
 
                         
 
                         < d i v   c l a s s = " f o r m - g r o u p "   s t y l e = " m a r g i n - b o t t o m :         p x ; " > 
 
                                 < l a b e l   f o r = " c a t e g o r y _ i d " > C a t e g o r y < / l a b e l > 
 
                                 < s e l e c t   c l a s s = " f o r m - c o n t r o l "   i d = " c a t e g o r y _ i d "   n a m e = " c a t e g o r y _ i d "   r e q u i r e d > 
 
                                         < o p t i o n   v a l u e = " " > S e l e c t   C a t e g o r y < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 1 1 " > C e n t r i f u g e s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 9 " > C h e m i c a l s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 1 " > C o m p u t e r s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 7 " > E l e c t r o n i c   C o m p o n e n t s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 8 " > F u r n i t u r e < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 4 " > G l a s s w a r e < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 1 2 " > I n c u b a t o r s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 2 " > L a b   E q u i p m e n t < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 6 " > M e a s u r i n g   D e v i c e s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 1 0 " > M i c r o s c o p e s < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 5 " > S a f e t y   E q u i p m e n t < / o p t i o n > 
 
                                                                                         < o p t i o n   v a l u e = " 3 " > T o o l s < / o p t i o n > 
 
                                                                         < / s e l e c t > 
 
                         < / d i v > 
 
                         
 
                         < b u t t o n   t y p e = " s u b m i t "   c l a s s = " b t n   b t n - s u c c e s s "   s t y l e = " w i d t h : 1 0 0 % ; " > C o m p l e t e   R e q u e s t < / b u t t o n > 
 
                 < / f o r m > 
 
         < / d i v > 
 
 < / d i v > 
 
 
 
 < s c r i p t > 
 
 f u n c t i o n   r e j e c t R e q u e s t ( i d )   { 
 
         i f   ( c o n f i r m ( ' A r e   y o u   s u r e   y o u   w a n t   t o   r e j e c t   t h i s   r e q u e s t ? ' ) )   { 
 
                 c o n s t   f o r m D a t a   =   n e w   F o r m D a t a ( ) ; 
 
                 f o r m D a t a . a p p e n d ( ' a c t i o n ' ,   ' r e j e c t ' ) ; 
 
                 f o r m D a t a . a p p e n d ( ' r e q u e s t _ i d ' ,   i d ) ; 
 
 
 
                 f e t c h ( ' a p i / s u p p l y _ r e q u e s t _ a c t i o n . p h p ' ,   { 
 
                         m e t h o d :   ' P O S T ' , 
 
                         b o d y :   f o r m D a t a 
 
                 } ) 
 
                 . t h e n ( r e s p o n s e   = >   r e s p o n s e . j s o n ( ) ) 
 
                 . t h e n ( d a t a   = >   { 
 
                         i f   ( d a t a . s u c c e s s )   { 
 
                                 a l e r t ( d a t a . m e s s a g e ) ; 
 
                                 l o c a t i o n . r e l o a d ( ) ; 
 
                         }   e l s e   { 
 
                                 a l e r t ( d a t a . m e s s a g e ) ; 
 
                         } 
 
                 } ) 
 
                 . c a t c h ( e r r o r   = >   { 
 
                         c o n s o l e . e r r o r ( ' E r r o r : ' ,   e r r o r ) ; 
 
                         a l e r t ( ' A n   e r r o r   o c c u r r e d .   P l e a s e   c h e c k   t h e   c o n s o l e . ' ) ; 
 
                 } ) ; 
 
         } 
 
 } 
 
 
 
 f u n c t i o n   s e n d C o n f i r m a t i o n ( i d )   { 
 
         i f   ( c o n f i r m ( ' S e n d   c o n f i r m a t i o n   r e q u e s t   t o   a d m i n ? ' ) )   { 
 
                 c o n s t   f o r m D a t a   =   n e w   F o r m D a t a ( ) ; 
 
                 f o r m D a t a . a p p e n d ( ' a c t i o n ' ,   ' s e n d _ c o n f i r m a t i o n ' ) ; 
 
                 f o r m D a t a . a p p e n d ( ' r e q u e s t _ i d ' ,   i d ) ; 
 
 
 
                 f e t c h ( ' a p i / s u p p l y _ r e q u e s t _ a c t i o n . p h p ' ,   { 
 
                         m e t h o d :   ' P O S T ' , 
 
                         b o d y :   f o r m D a t a 
 
                 } ) 
 
                 . t h e n ( r e s p o n s e   = >   r e s p o n s e . j s o n ( ) ) 
 
                 . t h e n ( d a t a   = >   { 
 
                         i f   ( d a t a . s u c c e s s )   { 
 
                                 a l e r t ( d a t a . m e s s a g e ) ; 
 
                                 l o c a t i o n . r e l o a d ( ) ; 
 
                         }   e l s e   { 
 
                                 a l e r t ( d a t a . m e s s a g e ) ; 
 
                         } 
 
                 } ) 
 
                 . c a t c h ( e r r o r   = >   { 
 
                         c o n s o l e . e r r o r ( ' E r r o r : ' ,   e r r o r ) ; 
 
                         a l e r t ( ' A n   e r r o r   o c c u r r e d .   P l e a s e   c h e c k   t h e   c o n s o l e . ' ) ; 
 
                 } ) ; 
 
         } 
 
 } 
 
 
 
 f u n c t i o n   o p e n A c c e p t M o d a l ( i d ,   n a m e )   { 
 
         d o c u m e n t . g e t E l e m e n t B y I d ( ' a c c e p t R e q u e s t I d ' ) . v a l u e   =   i d ; 
 
         d o c u m e n t . g e t E l e m e n t B y I d ( ' a c c e p t I t e m N a m e ' ) . t e x t C o n t e n t   =   n a m e ; 
 
         d o c u m e n t . g e t E l e m e n t B y I d ( ' a c c e p t M o d a l ' ) . s t y l e . d i s p l a y   =   ' b l o c k ' ; 
 
 } 
 
 
 
 f u n c t i o n   c l o s e A c c e p t M o d a l ( )   { 
 
         d o c u m e n t . g e t E l e m e n t B y I d ( ' a c c e p t M o d a l ' ) . s t y l e . d i s p l a y   =   ' n o n e ' ; 
 
 } 
 
 
 
 f u n c t i o n   s u b m i t A c c e p t ( e v e n t )   { 
 
         e v e n t . p r e v e n t D e f a u l t ( ) ; 
 
         
 
         c o n s t   c a t e g o r y I d   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' c a t e g o r y _ i d ' ) . v a l u e ; 
 
         c o n s t   r e q u e s t I d   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' a c c e p t R e q u e s t I d ' ) . v a l u e ; 
 
         
 
         i f   ( ! c a t e g o r y I d )   { 
 
                 a l e r t ( " P l e a s e   s e l e c t   a   c a t e g o r y . " ) ; 
 
                 r e t u r n ; 
 
         } 
 
         
 
         c o n s t   f o r m D a t a   =   n e w   F o r m D a t a ( ) ; 
 
         f o r m D a t a . a p p e n d ( ' a c t i o n ' ,   ' a c c e p t ' ) ; 
 
         f o r m D a t a . a p p e n d ( ' r e q u e s t _ i d ' ,   r e q u e s t I d ) ; 
 
         f o r m D a t a . a p p e n d ( ' c a t e g o r y _ i d ' ,   c a t e g o r y I d ) ; 
 
 
 
         f e t c h ( ' a p i / s u p p l y _ r e q u e s t _ a c t i o n . p h p ' ,   { 
 
                 m e t h o d :   ' P O S T ' , 
 
                 b o d y :   f o r m D a t a 
 
         } ) 
 
         . t h e n ( r e s p o n s e   = >   r e s p o n s e . j s o n ( ) ) 
 
         . t h e n ( d a t a   = >   { 
 
                 i f   ( d a t a . s u c c e s s )   { 
 
                         a l e r t ( d a t a . m e s s a g e ) ; 
 
                         l o c a t i o n . r e l o a d ( ) ; 
 
                 }   e l s e   { 
 
                         a l e r t ( d a t a . m e s s a g e ) ; 
 
                 } 
 
         } ) 
 
         . c a t c h ( e r r o r   = >   { 
 
                 c o n s o l e . e r r o r ( ' E r r o r : ' ,   e r r o r ) ; 
 
                 a l e r t ( ' A n   e r r o r   o c c u r r e d .   P l e a s e   c h e c k   t h e   c o n s o l e . ' ) ; 
 
         } ) ; 
 
 } 
 
 
 
 / /   C l o s e   m o d a l   i f   u s e r   c l i c k s   o u t s i d e   o f   i t 
 
 w i n d o w . o n c l i c k   =   f u n c t i o n ( e v e n t )   { 
 
         c o n s t   m o d a l   =   d o c u m e n t . g e t E l e m e n t B y I d ( ' a c c e p t M o d a l ' ) ; 
 
         i f   ( e v e n t . t a r g e t   = =   m o d a l )   { 
 
                 m o d a l . s t y l e . d i s p l a y   =   ' n o n e ' ; 
 
         } 
 
 } 
 
 < / s c r i p t > 
 
 
 
         < / d i v >   < ! - -   / . l a y o u t   - - > 
 
 
 
         < ! - -   T o a s t   C o n t a i n e r   - - > 
 
         < d i v   i d = " t o a s t - c o n t a i n e r "   c l a s s = " t o a s t - c o n t a i n e r   p o s i t i o n - f i x e d   t o p - 0   e n d - 0   p - 3 " > < / d i v > 
 
 
 
         < ! - -   B o o t s t r a p   B u n d l e   w i t h   P o p p e r   - - > 
 
         < s c r i p t 
 
                 s r c = " h t t p s : / / c d n . j s d e l i v r . n e t / n p m / b o o t s t r a p @ 5 . 3 . 3 / d i s t / j s / b o o t s t r a p . b u n d l e . m i n . j s " 
 
                 i n t e g r i t y = " s h a 3 8 4 - Y v p c r Y f 0 t Y 3 l H B 6 0 N N k m X c 5 s 9 f D V Z L E S a A A 5 5 N D z O x h y 9 G k c I d s l K 1 e N 7 N 6 j I e H z " 
 
                 c r o s s o r i g i n = " a n o n y m o u s " 
 
         > < / s c r i p t > 
 
 
 
         < ! - -   A p p   J S   - - > 
 
         < s c r i p t   s r c = " a s s e t s / j s / a p p . j s " > < / s c r i p t > 
 
 < / b o d y > 
 
 < / h t m l > 
 
 