From 800922031f78ac468f4e799dbdbb18a28c4ee416 Mon Sep 17 00:00:00 2001 From: Michael Bromley Date: Tue, 1 Oct 2019 21:30:48 +0200 Subject: [PATCH] feat(admin-ui): Allow selection of payment to be refunded --- .../refund-order-dialog.component.html | 24 +++++++++++++++---- .../refund-order-dialog.component.scss | 3 +++ .../refund-order-dialog.component.ts | 8 ++++++- packages/admin-ui/src/i18n-messages/en.json | 6 +++-- 4 files changed, 34 insertions(+), 7 deletions(-) diff --git a/packages/admin-ui/src/app/order/components/refund-order-dialog/refund-order-dialog.component.html b/packages/admin-ui/src/app/order/components/refund-order-dialog/refund-order-dialog.component.html index abbcbdd4f1..a96f52c5b4 100644 --- a/packages/admin-ui/src/app/order/components/refund-order-dialog/refund-order-dialog.component.html +++ b/packages/admin-ui/src/app/order/components/refund-order-dialog/refund-order-dialog.component.html @@ -56,11 +56,26 @@ [items]="reasons" bindLabel="name" autofocus + [placeholder]="'order.refund-reason-required' | translate" bindValue="id" [addTag]="true" [(ngModel)]="reason" > + + + + +