26/8/1404

This commit is contained in:
2025-11-17 09:34:35 +03:30
parent 080f6428d2
commit 9c4391be42
7 changed files with 32 additions and 17 deletions
+4 -2
View File
@@ -1,5 +1,5 @@
import useAxios from '@/utils/useAxios'
import type { Transfer, Verification } from '@/models/physicalreceive'
import type { Transfer, TransferList, Verification } from '@/models/physicalreceive'
export const cardVerification = async (obj: Verification): Promise<any> => {
return await useAxios.post(`/customer/vc_validate`, obj)
@@ -9,4 +9,6 @@ export const transferRegister = async (obj: Transfer): Promise<any> => {
return await useAxios.post(`/customer/havale`, obj)
}
export const getTransfers = async () => await useAxios.get<Transfer[]>(`/customer/price_triggers`)
export async function getTransfers(payload: TransferList) {
return await useAxios.post(`customer/havale_list` , payload)
}