mirror of
https://github.com/bigcapitalhq/bigcapital.git
synced 2026-02-21 15:20:34 +00:00
BIG-204 payment transactions context menu actions.
This commit is contained in:
@@ -40,15 +40,15 @@ function BillPaymentTransactionTable({
|
|||||||
});
|
});
|
||||||
|
|
||||||
// Handles delete bill payment transactions.
|
// Handles delete bill payment transactions.
|
||||||
const handleDeleteBillPaymentTransactons = ({ bill_id }) => {
|
const handleDeleteBillPaymentTransactons = ({ bill_payment_id }) => {
|
||||||
openAlert('bill-delete', {
|
openAlert('payment-made-delete', {
|
||||||
billId: bill_id,
|
paymentMadeId: bill_payment_id,
|
||||||
});
|
});
|
||||||
};
|
};
|
||||||
|
|
||||||
// Handles edit bill payment transactions.
|
// Handles edit bill payment transactions.
|
||||||
const handleEditBillPaymentTransactions = ({ bill_id }) => {
|
const handleEditBillPaymentTransactions = ({ bill_payment_id }) => {
|
||||||
history.push(`/bills/${bill_id}/edit`);
|
history.push(`/payment-mades/${bill_payment_id}/edit`);
|
||||||
closeDrawer('bill-drawer');
|
closeDrawer('bill-drawer');
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user