feat: empty status in credit & vednor.

This commit is contained in:
elforjani13
2021-12-26 20:56:25 +02:00
parent e1646e92a8
commit 99df627633
6 changed files with 23 additions and 15 deletions

View File

@@ -12,10 +12,10 @@ export default function VendorsCreditNoteEmptyStatus() {
const history = useHistory();
return (
<EmptyStatus
title={<T id={'the_organization_doesn_t_receive_money_yet'} />}
title={<T id={'vendor_credits.empty_status.title'} />}
description={
<p>
<T id={'vendor_credits.empty_status_description'} />
<T id={'vendor_credits.empty_status.description'} />
</p>
}
action={
@@ -26,7 +26,7 @@ export default function VendorsCreditNoteEmptyStatus() {
large={true}
onClick={() => history.push('/vendor-credits/new')}
>
<T id={'vendor_credits.action.new_vendor_credit'} />
<T id={'vendor_credits.label.new_vendor_credit'} />
</Button>
<Button intent={Intent.NONE} large={true}>