fix receipt model showing on audit
This commit is contained in:
parent
1f62063ed7
commit
236186bd39
1 changed files with 1 additions and 2 deletions
|
@ -483,8 +483,7 @@ export default function ReimbursementManagementPortal() {
|
||||||
}
|
}
|
||||||
}));
|
}));
|
||||||
|
|
||||||
setSelectedReceipt(receipt);
|
// Don't show the receipt modal when auditing
|
||||||
setShowReceiptModal(true);
|
|
||||||
toast.success('Receipt audited successfully');
|
toast.success('Receipt audited successfully');
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
console.error('Error auditing receipt:', error);
|
console.error('Error auditing receipt:', error);
|
||||||
|
|
Loading…
Reference in a new issue