Compare commits

...

4 Commits

Author SHA1 Message Date
victorAnumudu ed38e0db98 made update link params optional 2026-02-24 09:18:06 +01:00
ameye 351f027a6f Merge branch 'payment-table-update' of MERMS/MermsPanelReactJS into master 2026-02-23 22:50:07 +00:00
victorAnumudu 20d56ee307 payment table updated 2026-02-23 19:14:36 +01:00
ameye f5c798c6c1 Merge branch 'header-profile-image' of MERMS/MermsPanelReactJS into master 2026-02-16 11:27:02 +00:00
3 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -64,8 +64,8 @@ export default function PaymentReportTable() {
return (
<tr key={index}>
<td>{item?.added}</td>
<td>{item?.name}</td>
<td>{item?.amount}</td>
<td>{item?.option_name}</td>
<td>{item?.currency}{item?.amount}</td>
<td>{item?.status}</td>
</tr>
)
+4 -4
View File
@@ -73,10 +73,10 @@ export default function LinksForm({data}) {
let reqData = {
token: localStorage.getItem('token'), // USER TOKEN
uid: localStorage.getItem('uid'), // USER UID
...infoToUpdate
url_list: {...infoToUpdate}
}
console.log(reqData)
// updateLinksMutation.mutate(reqData)
// console.log(reqData)
updateLinksMutation.mutate(reqData)
}
return (
@@ -137,7 +137,7 @@ export default function LinksForm({data}) {
</button>
</div>
<div className="modal-body">
<h5 className="text-center" style={{fontSize: '18px'}}>Are you sure, you want to update? gg</h5>
<h5 className="text-center" style={{fontSize: '18px'}}>Are you sure, you want to update?</h5>
{(updateLinksMutation.error || updateLinksMutation.isSuccess) && (
<div className="col-12">
<p className={`p-2 text-center ${updateLinksMutation.isSuccess ? 'text-success' : 'text-danger'}`}>
+1 -1
View File
@@ -105,7 +105,7 @@ export const updateLinks = (reqData) => {
let postData = {
...reqData,
}
return null //postAuxEnd(`/panel/account/links-update`, postData, false)
return postAuxEnd(`/panel/account/profilelinks-update`, postData, false)
}
// FUNCTION TO GET PRODUCT BY ID