diff --git a/src/layouts/DefaultLayout/components/AppSidebar/index.js b/src/layouts/DefaultLayout/components/AppSidebar/index.js index 80d13fc..2fbbdbb 100644 --- a/src/layouts/DefaultLayout/components/AppSidebar/index.js +++ b/src/layouts/DefaultLayout/components/AppSidebar/index.js @@ -140,7 +140,7 @@ const AppSidebar = () => { }, { label: __('Documenti', 'gepafin'), - icon: 'pi pi-chart-bar', + icon: 'pi pi-folder-open', href: '/documenti', id: 16, enable: intersection(permissions, ['APPLY_CALLS']).length diff --git a/src/pages/DocumentsBeneficiary/index.js b/src/pages/DocumentsBeneficiary/index.js new file mode 100644 index 0000000..a101868 --- /dev/null +++ b/src/pages/DocumentsBeneficiary/index.js @@ -0,0 +1,46 @@ +import React, { useEffect, useState, useCallback } from 'react'; +import { __ } from '@wordpress/i18n'; +import { pathOr } from 'ramda'; + +// store +import { useStore } from '../../store'; + +// components + + +const DocumentsBeneficiary = () => { + const chosenCompanyId = useStore().main.chosenCompanyId(); + + const getStats = (resp) => {} + + const errGetStats = () => {} + + useEffect(() => { + + }, [chosenCompanyId]); + + return( +