refactoring: account transaction alert.

This commit is contained in:
elforjani13
2021-10-30 19:40:08 +02:00
parent 2d9aaac653
commit 93f778ebcc

View File

@@ -1,11 +1,11 @@
import React from 'react'; import React from 'react';
import AccountDeleteTransactionAlert from '../../Alerts/CashFlow/AccountDeleteTransactionAlert'; import AccountDeleteTransactionAlert from '../../Alerts/CashFlow/AccountDeleteTransactionAlert';
import ReceiptsAlerts from '../../Sales/Receipts/ReceiptsAlerts'; import ReceiptDeleteAlert from '../../Alerts/Receipts/ReceiptDeleteAlert';
import ManualJournalsAlerts from '../../Accounting/JournalsLanding/ManualJournalsAlerts'; import JournalDeleteAlert from '../../Alerts/ManualJournals/JournalDeleteAlert';
import ExpensesAlerts from '../../Expenses/ExpensesAlerts'; import ExpenseDeleteAlert from '../../Alerts/Expenses/ExpenseDeleteAlert';
import PaymentReceiveAlerts from '../../Sales/PaymentReceives/PaymentReceiveAlerts'; import PaymentMadeDeleteAlert from '../../Alerts/PaymentMades/PaymentMadeDeleteAlert';
import PaymentMadesAlerts from '../../Purchases/PaymentMades/PaymentMadesAlerts'; import PaymentReceiveDeleteAlert from '../../Alerts/PaymentReceives/PaymentReceiveDeleteAlert';
/** /**
* Account transaction alert. * Account transaction alert.
@@ -14,11 +14,11 @@ export default function AccountTransactionsAlerts() {
return ( return (
<div> <div>
<AccountDeleteTransactionAlert name={'account-transaction-delete'} /> <AccountDeleteTransactionAlert name={'account-transaction-delete'} />
<ReceiptsAlerts /> <ReceiptDeleteAlert name={'receipt-delete'} />
<ExpensesAlerts /> <JournalDeleteAlert name={'journal-delete'} />
<ManualJournalsAlerts /> <ExpenseDeleteAlert name={"expense-delete"} />
<PaymentReceiveAlerts /> <PaymentMadeDeleteAlert name={'payment-made-delete'} />
<PaymentMadesAlerts /> <PaymentReceiveDeleteAlert name={'payment-receive-delete'} />
</div> </div>
); );
} }