mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-16 12:50:38 +00:00
37 lines
920 B
JavaScript
37 lines
920 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 ReceiptsEmptyStatus() {
|
||
const history = useHistory();
|
||
|
||
return (
|
||
<EmptyStatus
|
||
title={'Manage the organization’s services and products.'}
|
||
description={
|
||
<p>
|
||
Here a list of your organization products and services, to be used when you create invoices or bills to your customers or vendors.
|
||
</p>
|
||
}
|
||
action={
|
||
<>
|
||
<Button
|
||
intent={Intent.PRIMARY}
|
||
large={true}
|
||
onClick={() => {
|
||
history.push('/receipts/new');
|
||
}}
|
||
>
|
||
New receipt
|
||
</Button>
|
||
|
||
<Button intent={Intent.NONE} large={true}>
|
||
Learn more
|
||
</Button>
|
||
</>
|
||
}
|
||
/>
|
||
);
|
||
}
|