diff --git a/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js b/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js index a7986f4d8..ff4e9eb99 100644 --- a/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js +++ b/client/src/containers/Purchases/PaymentMades/PaymentMadeList.js @@ -87,7 +87,7 @@ function PaymentMadeList({ }, [deletePaymentMade, requestDeletePaymentMade, formatMessage]); const handleEditPaymentMade = useCallback((payment) => { - history.push(`/payment-made/${payment.id}/edit`); + history.push(`/payment-mades/${payment.id}/edit`); }); // Calculates the selected rows count. diff --git a/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js b/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js index 781a804cd..8ed4582af 100644 --- a/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js +++ b/client/src/containers/Purchases/PaymentMades/PaymentMadesEmptyStatus.js @@ -21,7 +21,7 @@ export default function PaymentMadesEmptyStatus() { intent={Intent.PRIMARY} large={true} onClick={() => { - history.push('/payment-made/new'); + history.push('/payment-mades/new'); }} > New bill payment