mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
36 lines
941 B
JavaScript
36 lines
941 B
JavaScript
import React from 'react';
|
|
import { Button, Intent } from '@blueprintjs/core';
|
|
import { useHistory } from 'react-router-dom';
|
|
import { EmptyStatus } from 'components';
|
|
import { FormattedMessage as T } from 'components';
|
|
|
|
export default function EstimatesEmptyStatus() {
|
|
const history = useHistory();
|
|
return (
|
|
<EmptyStatus
|
|
title={<T id={'it_s_time_to_send_estimates_to_your_customers'} />}
|
|
description={
|
|
<p>
|
|
<T id={'estimate_is_used_to_create_bid_proposal_or_quote'} />
|
|
</p>
|
|
}
|
|
action={
|
|
<>
|
|
<Button
|
|
intent={Intent.PRIMARY}
|
|
large={true}
|
|
onClick={() => {
|
|
history.push('/estimates/new');
|
|
}}
|
|
>
|
|
<T id={'new_sale_estimate'} />
|
|
</Button>
|
|
<Button intent={Intent.NONE} large={true}>
|
|
<T id={'learn_more'} />
|
|
</Button>
|
|
</>
|
|
}
|
|
/>
|
|
);
|
|
}
|