diff --git a/client/src/containers/Customers/CustomersLanding/components.js b/client/src/containers/Customers/CustomersLanding/components.js
index 7b824dbcf..08e9cb893 100644
--- a/client/src/containers/Customers/CustomersLanding/components.js
+++ b/client/src/containers/Customers/CustomersLanding/components.js
@@ -35,7 +35,7 @@ export function ActionsMenu({
onClick={safeCallback(onEdit, original)}
/>
}
+ icon={}
text={formatMessage({ id: 'duplicate' })}
onClick={safeCallback(onDuplicate, original)}
/>
diff --git a/client/src/containers/Items/components.js b/client/src/containers/Items/components.js
index 24af7fb21..9e33ca911 100644
--- a/client/src/containers/Items/components.js
+++ b/client/src/containers/Items/components.js
@@ -96,7 +96,7 @@ export function ItemsActionMenuList({
onClick={safeCallback(onEditItem, original)}
/>
}
+ icon={}
text={formatMessage({ id: 'duplicate' })}
onClick={safeCallback(onDuplicate, original)}
/>
diff --git a/client/src/containers/Purchases/Bills/BillsLanding/components.js b/client/src/containers/Purchases/Bills/BillsLanding/components.js
index 0aa2d04a0..31ca5750c 100644
--- a/client/src/containers/Purchases/Bills/BillsLanding/components.js
+++ b/client/src/containers/Purchases/Bills/BillsLanding/components.js
@@ -38,6 +38,7 @@ export function ActionsMenu({
}
text={formatMessage({ id: 'mark_as_opened' })}
onClick={safeCallback(onOpen, original)}
/>
diff --git a/client/src/containers/Vendors/VendorsLanding/components.js b/client/src/containers/Vendors/VendorsLanding/components.js
index 15ad5dc36..239df38a1 100644
--- a/client/src/containers/Vendors/VendorsLanding/components.js
+++ b/client/src/containers/Vendors/VendorsLanding/components.js
@@ -34,7 +34,7 @@ export function ActionsMenu({
onClick={safeCallback(onEdit, original)}
/>
}
+ icon={}
text={formatMessage({ id: 'duplicate' })}
onClick={safeCallback(onDuplicate, original)}
/>
diff --git a/client/src/hooks/query/bills.js b/client/src/hooks/query/bills.js
index 34d762866..b730a5246 100644
--- a/client/src/hooks/query/bills.js
+++ b/client/src/hooks/query/bills.js
@@ -123,7 +123,7 @@ export function useOpenBill(props) {
const apiRequest = useApiRequest();
return useMutation(
- (id) => apiRequest.delete(`purchases/bills/${id}/open`),
+ (id) => apiRequest.post(`purchases/bills/${id}/open`),
{
onSuccess: () => {
queryClient.invalidateQueries('BILLS');
diff --git a/client/src/static/json/icons.js b/client/src/static/json/icons.js
index 7ca4d037a..d5e8b7f9a 100644
--- a/client/src/static/json/icons.js
+++ b/client/src/static/json/icons.js
@@ -406,10 +406,10 @@ export default {
],
viewBox: '0 0 24 24',
},
- 'duplicate-18': {
+ 'duplicate-16': {
path: [
- 'M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12V1zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2zm0 16H8V7h11v14z',
+ 'M15 0H5c-.55 0-1 .45-1 1v2h2V2h8v7h-1v2h2c.55 0 1-.45 1-1V1c0-.55-.45-1-1-1zm-4 4H1c-.55 0-1 .45-1 1v10c0 .55.45 1 1 1h10c.55 0 1-.45 1-1V5c0-.55-.45-1-1-1zm-1 10H2V6h8v8z',
],
- viewBox: '0 0 24 24',
+ viewBox: '0 0 16 16',
},
};