feat(web-admin): add presign save auto-submit helpers and silent finance submit option
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
0398cb3897
commit
e56d8d7f51
3 files changed
+109
-2
No files matched your search
@@ -71,10 +71,13 @@ export function fetchUpdatePresignTransfer(transferId: string, data: Record<stri
|
||||
})
|
||||
}
|
||||
|
||||
export function fetchSubmitPresignTransferFinance(transferId: string) {
|
||||
export function fetchSubmitPresignTransferFinance(
|
||||
transferId: string,
|
||||
options?: { showSuccessMessage?: boolean }
|
||||
) {
|
||||
return request.post({
|
||||
url: `/web/admin/presign-transfers/${transferId}/submit-receipt-finance`,
|
||||
showSuccessMessage: true
|
||||
showSuccessMessage: options?.showSuccessMessage !== false
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user