mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 13:20:31 +00:00
38 lines
939 B
JavaScript
38 lines
939 B
JavaScript
import React from 'react';
|
|
import { Button, Intent } from '@blueprintjs/core';
|
|
import { useHistory } from 'react-router-dom';
|
|
import { EmptyStatus } from 'components';
|
|
|
|
export default function PaymentReceivesEmptyStatus() {
|
|
const history = useHistory();
|
|
|
|
return (
|
|
<EmptyStatus
|
|
title={"The organization does't receive money, yet!"}
|
|
description={
|
|
<p>
|
|
It is a long established fact that a reader will be distracted by the
|
|
readable content of a page when looking at its layout.
|
|
</p>
|
|
}
|
|
action={
|
|
<>
|
|
<Button
|
|
intent={Intent.PRIMARY}
|
|
large={true}
|
|
onClick={() => {
|
|
history.push('/payment-receive/new');
|
|
}}
|
|
>
|
|
New payment receive
|
|
</Button>
|
|
|
|
<Button intent={Intent.NONE} large={true}>
|
|
Learn more
|
|
</Button>
|
|
</>
|
|
}
|
|
/>
|
|
);
|
|
}
|