убрал условие, вывел сообщение
This commit is contained in:
gofnnp 2023-01-19 22:17:36 +04:00
parent 987bc939a8
commit 9800f035f9
3 changed files with 3 additions and 3 deletions

View File

@ -160,7 +160,7 @@
</tr>
<tr>
<th>{{sumRef}}</th>
<th><button [disabled]="dis == true || this.order[0].status == 'newOrder' || this.order[0].status == 'cancel' || this.order[0].status == 'paymentOverdue'" (click)="confirm(order[0].external_id, order[0].payment[0].type, order[0].id)">Отменить</button></th>
<th><button (click)="confirm(order[0].external_id, order[0].payment[0].type, order[0].id)">Отменить</button></th>
<!--<th><button [disabled]="order[0].payment[0].summ == sumRef || pay == false || this.order[0].payment == []" (click)="confirm(order[0].external_id, order[0].payment[0].payload.id)">Возврат ДС</button></th>-->
<!--<th><button disabled>Возврат ДС</button></th>-->
</tr>

View File

@ -287,7 +287,7 @@ notif2() {
console.log('ERROR: ', err)
this.messageService.add({
severity: 'error',
summary: 'Произошла ошибка!',
summary: `Произошла ошибка! ${err.error.error.message}`,
})
}
}

View File

@ -4,7 +4,7 @@
export const environment = {
production: false,
appSelfDeliveryEndPoint: 'http://selfdelivery-pitsburg.mydatahosting.ru/admin_api',
appSelfDeliveryEndPoint: 'http://localhost:4200/api',
systemId: 'dfe16ca16a3598b812',
};