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