feat(core-flows): create or update payment collections in RMA flows (#8676)

* feat(core-flows): create or update payment collections in RMA flows

* chore: change ui to pick payment link from unpaid payment collection

* Apply suggestions from code review

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>

* chore: fix mathbn

---------

Co-authored-by: Carlos R. L. Rodrigues <37986729+carlos-r-l-rodrigues@users.noreply.github.com>
This commit is contained in:
Riqwan ThamirandCarlos R. L. Rodrigues authored and GitHub committed 2024-08-20 18:40:58 +02:00
1 parent 29830f0077
commit 430d9a38c4
10 files changed
+193 -162

No files matched your search

@@ -12,6 +12,6 @@ export type AdminCreatePaymentCollectionType = z.infer<
export const AdminCreatePaymentCollection = z
.object({
order_id: z.string(),
amount: z.number().optional(),
amount: z.number(),
})
.strict()