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