oak-pay-business/es/checkers/refund.js

19 lines
464 B
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

const checkers = [
{
// 退款所在的pay一定是可以退款状态且其上不能有另一个正在退款的请求
entity: 'refund',
type: 'row',
filter: {
pay: {
refundable: true,
refund$pay: {
'#sqp': 'not in',
iState: 'refunding',
}
},
},
action: 'create',
}
];
export default checkers;