parent
c24e94c255
commit
ced1f14cff
@ -59,6 +59,7 @@ export interface Purchase {
|
||||
transactionCreateDate: string;
|
||||
orderSum: number;
|
||||
transactionSum: number;
|
||||
transactionType: 'CancelPayFromWallet' | 'PayFromWallet' | 'RefillWallet';
|
||||
}
|
||||
|
||||
export interface Transaction {
|
||||
|
||||
@ -58,7 +58,7 @@ export class OrdersComponent implements OnInit {
|
||||
// return same;
|
||||
// });
|
||||
return purchase;
|
||||
});
|
||||
}).filter((purchase: Purchase) => ['PayFromWallet', 'CancelPayFromWallet', 'RefillWallet'].includes(purchase.transactionType));
|
||||
this.purchasesShortArray = this.purchases.slice(0, this.lastViewOrder)
|
||||
this.ordersLoadingStatus = false;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user