feat(dashboard,types,js-sdk,payment): ability to refund payment in order page (#8385)

* feat(dashboard,types,js-sdk,payment): ability to refund payment in order page

* chore: use confirmation variant for capture payment

* chore: change refund design accords to figma

* chore: move to js-sdk + currency input
This commit is contained in:
Riqwan Thamir
2024-08-01 19:13:41 +02:00
committed by GitHub
parent 6efdba1967
commit 7ae1d80380
14 changed files with 308 additions and 15 deletions

View File

@@ -33,6 +33,9 @@ export default class Refund {
})
payment!: Rel<Payment>
@Property({ columnType: "text", nullable: true })
payment_id: string
@Property({
onCreate: () => new Date(),
columnType: "timestamptz",