mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-17 21:30:31 +00:00
feat: bulk transcations delete
This commit is contained in:
@@ -81,19 +81,19 @@ export function StatusAccessor(creditNote) {
|
||||
<div>
|
||||
<Choose>
|
||||
<Choose.When condition={creditNote.is_open}>
|
||||
<Tag intent={Intent.WARNING} round>
|
||||
<Tag intent={Intent.WARNING} round minimal>
|
||||
<T id={'open'} />
|
||||
</Tag>
|
||||
</Choose.When>
|
||||
|
||||
<Choose.When condition={creditNote.is_closed}>
|
||||
<Tag intent={Intent.SUCCESS} round>
|
||||
<Tag intent={Intent.SUCCESS} round minimal>
|
||||
<T id={'closed'} />
|
||||
</Tag>
|
||||
</Choose.When>
|
||||
|
||||
<Choose.When condition={creditNote.is_draft}>
|
||||
<Tag round>
|
||||
<Tag round minimal>
|
||||
<T id={'draft'} />
|
||||
</Tag>
|
||||
</Choose.When>
|
||||
|
||||
@@ -23,6 +23,11 @@ const ReconcileVendorCreditDeleteAlert = React.lazy(
|
||||
),
|
||||
);
|
||||
|
||||
const VendorCreditBulkDeleteAlert = React.lazy(
|
||||
() =>
|
||||
import('@/containers/Alerts/VendorCeditNotes/VendorCreditBulkDeleteAlert'),
|
||||
);
|
||||
|
||||
/**
|
||||
* Vendor Credit notes alerts.
|
||||
*/
|
||||
@@ -43,4 +48,8 @@ export default [
|
||||
name: 'reconcile-vendor-delete',
|
||||
component: ReconcileVendorCreditDeleteAlert,
|
||||
},
|
||||
{
|
||||
name: 'vendor-credits-bulk-delete',
|
||||
component: VendorCreditBulkDeleteAlert,
|
||||
},
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user