import React from 'react'; import { NavbarDivider, NavbarGroup, Classes, Button, Popover, PopoverInteractionKind, Position, } from '@blueprintjs/core'; import { FormattedMessage as T } from 'react-intl'; import classNames from 'classnames'; import DashboardActionsBar from 'components/Dashboard/DashboardActionsBar'; import Icon from 'components/Icon'; import withARAgingSummary from './withARAgingSummary'; import withARAgingSummaryActions from './withARAgingSummaryActions'; import { compose } from 'utils'; /** * AR Aging summary sheet - Actions bar. */ function ARAgingSummaryActionsBar({ // #withReceivableAging receivableAgingFilter, // #withReceivableAgingActions toggleFilterARAgingSummary, refreshARAgingSummary, }) { const handleFilterToggleClick = () => { toggleFilterARAgingSummary(); }; // Handles re-calculate report button. const handleRecalcReport = () => { refreshARAgingSummary(true); }; return (