fix: remove estimate paper button action.

This commit is contained in:
a.bouhuolia
2021-09-11 14:24:08 +02:00
parent ccd30cb2bd
commit a40029ba1d
6 changed files with 0 additions and 33 deletions

View File

@@ -60,11 +60,6 @@ function ReceiptsDataTable({
openAlert('receipt-delete', { receiptId: receipt.id });
};
// Handle drawer receipts.
const handleDrawerReceipt = ({ id }) => {
openDrawer('receipt-drawer', { receiptId: id });
};
// Handles receipt close action.
const handleCloseReceipt = (receipt) => {
openAlert('receipt-close', { receiptId: receipt.id });
@@ -127,7 +122,6 @@ function ReceiptsDataTable({
onEdit: handleEditReceipt,
onDelete: handleDeleteReceipt,
onClose: handleCloseReceipt,
onDrawer: handleDrawerReceipt,
onViewDetails: handleViewDetailReceipt,
onPrint: handlePrintInvoice,
}}