Включила кнопку возврата ДС
This commit is contained in:
parent
35fa921b20
commit
8310a3ace5
@ -150,8 +150,8 @@
|
|||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th>{{sumRef}}</th>
|
<th>{{sumRef}}</th>
|
||||||
<!--<th><button [disabled]="order[0].payment[0].summ == sumRef" (click)="confirm(order[0].external_id, order[0].payment[0].payload.id)">Возврат ДС</button></th>-->
|
<th><button [disabled]="order[0].payment[0].summ == sumRef" (click)="confirm(order[0].external_id, order[0].payment[0].payload.id)">Возврат ДС</button></th>
|
||||||
<th><button disabled>Возврат ДС</button></th>
|
<!--<th><button disabled>Возврат ДС</button></th>-->
|
||||||
</tr>
|
</tr>
|
||||||
</ng-template>
|
</ng-template>
|
||||||
</p-table>
|
</p-table>
|
||||||
@ -159,7 +159,7 @@
|
|||||||
</ng-template>
|
</ng-template>
|
||||||
|
|
||||||
<p-toast position="bottom-right" key="br" closable="false"></p-toast>
|
<p-toast position="bottom-right" key="br" closable="false"></p-toast>
|
||||||
<p-confirmDialog header="Предупреждение" icon="pi pi-exclamation-triangle" defaultFocus="reject" rejectButtonStyleClass="p-button-outlined"></p-confirmDialog>
|
<p-confirmDialog header="Предупреждение" icon="pi pi-exclamation-triangle" defaultFocus="reject" rejectButtonStyleClass="p-button-outlined" [style]="{width: '30vw'}"></p-confirmDialog>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -318,7 +318,7 @@ notif2() {
|
|||||||
|
|
||||||
confirm(id: any, qr_id: any) {
|
confirm(id: any, qr_id: any) {
|
||||||
this.confirmationService.confirm({
|
this.confirmationService.confirm({
|
||||||
message: 'Вы действительно хотите отменить заказ?',
|
message: 'Вы действительно хотите сделать возврат оплаты? Статус заказа при этом не изменится. В случае отмены оплаты необходимо обязательно предупредить кассира.',
|
||||||
accept: () => {
|
accept: () => {
|
||||||
this.doAdminRefund(id, qr_id)
|
this.doAdminRefund(id, qr_id)
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user