inital commit

This commit is contained in:
2026-06-24 18:29:01 +06:00
commit f401802bf7
3918 changed files with 553085 additions and 0 deletions

51
resources/js/store/global/actions.js vendored Normal file
View File

@@ -0,0 +1,51 @@
import axiosClient from '@/config/axios'
export const loadMerchants = ({ commit }, filter_data) => {
return axiosClient
.post('merchantlist', filter_data)
.then(response => {
return Promise.resolve(response)
}).catch(exception => {
console.log('Merchants API Exception', exception);
})
}
export const allTransactions = ({ commit }, filter_data) => {
return axiosClient
.post('alltransaction', filter_data)
.then(response => {
return Promise.resolve(response)
}).catch(exception => {
console.log('All Transaction API Exception', exception);
})
}
export const loadRefundedTransactions = ({ commit }, filter_data) => {
return axiosClient
.post('refundedtransaction', filter_data)
.then(response => {
return Promise.resolve(response)
}).catch(exception => {
console.log('Refunded API Exception', exception);
})
}
export const loadChargebackTransactions = ({ commit }, filter_data) => {
return axiosClient
.get('chargeback/list', { params: filter_data })
.then(response => {
return Promise.resolve(response)
}).catch(exception => {
console.log('Chargeback API Exception', exception);
})
}
export const loadIntegratorInformation = () => {
return axiosClient
.get('integratorinfo')
.then(response => {
return Promise.resolve(response)
}).catch(exception => {
console.log('Integrator Information API Exception', exception);
})
}