@@ -45,17 +45,14 @@ export default function DashboardMenu({
4545} > ) {
4646 const user = useUserState ( ) ;
4747 const instanceName = useInstanceName ( ) ;
48- const [ total_Value , total_Consumed , total_bills , total_quantity , total_count ] = UseTotalValue ( ) ;
48+ const [ total_Value , total_Consumed , total_bills , total_quantity , total_count , total_Extracted ] = UseTotalValue ( ) ;
4949
5050 const title = useMemo ( ( ) => {
5151 const username = user . username ( ) ;
5252
5353 return (
5454 < div >
5555 < StylishText size = 'lg' > { `FOSSA Inventory (Spain) - ${ username } ` } </ StylishText >
56- < div style = { { marginTop : '10px' , display : 'flex' , flexDirection : 'column' } } >
57- < Text size = 'md' fw = { 500 } > Total Stock: { total_quantity } </ Text >
58- </ div >
5956 < div style = { { marginTop : '10px' , display : 'flex' , flexDirection : 'column' } } >
6057 < Text size = 'md' fw = { 500 } > Item Count: { total_count } </ Text >
6158 </ div >
@@ -68,9 +65,12 @@ export default function DashboardMenu({
6865 < div style = { { marginTop : '10px' , display : 'flex' , flexDirection : 'column' } } >
6966 < Text size = 'md' fw = { 500 } > Total Bills Value: { total_bills } €</ Text >
7067 </ div >
68+ < div style = { { marginTop : '10px' , display : 'flex' , flexDirection : 'column' } } >
69+ < Text size = 'md' fw = { 500 } > Total Extracted Value: { total_Extracted } €</ Text >
70+ </ div >
7171 </ div >
7272 ) ;
73- } , [ user , instanceName , total_Value , total_Consumed ] ) ;
73+ } , [ user , instanceName , total_Value , total_Consumed , total_Extracted ] ) ;
7474 return (
7575 < Paper p = 'sm' pr = { 0 } >
7676 < Group justify = 'space-between' wrap = 'nowrap' >
0 commit comments