mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-19 22:30:31 +00:00
feat: bulk transcations delete
This commit is contained in:
@@ -8,6 +8,10 @@ const JournalPublishAlert = React.lazy(
|
||||
() => import('@/containers/Alerts/ManualJournals/JournalPublishAlert'),
|
||||
);
|
||||
|
||||
const JournalBulkDeleteAlert = React.lazy(
|
||||
() => import('@/containers/Alerts/ManualJournals/JournalBulkDeleteAlert'),
|
||||
);
|
||||
|
||||
/**
|
||||
* Manual journals alerts.
|
||||
*/
|
||||
@@ -15,4 +19,5 @@ const JournalPublishAlert = React.lazy(
|
||||
export default [
|
||||
{ name: 'journal-delete', component: JournalDeleteAlert },
|
||||
{ name: 'journal-publish', component: JournalPublishAlert },
|
||||
{ name: 'journals-bulk-delete', component: JournalBulkDeleteAlert },
|
||||
];
|
||||
|
||||
@@ -102,13 +102,13 @@ export const StatusAccessor = (row) => {
|
||||
return (
|
||||
<Choose>
|
||||
<Choose.When condition={!!row.is_published}>
|
||||
<Tag round>
|
||||
<Tag round minimal>
|
||||
<T id={'published'} />
|
||||
</Tag>
|
||||
</Choose.When>
|
||||
|
||||
<Choose.Otherwise>
|
||||
<Tag intent={Intent.WARNING} round>
|
||||
<Tag intent={Intent.WARNING} round minimal>
|
||||
<T id={'draft'} />
|
||||
</Tag>
|
||||
</Choose.Otherwise>
|
||||
|
||||
Reference in New Issue
Block a user