@if ((query | async)?.data?.rider?.transactions; as transactions) { {{ 'profile.dateTime' | translate }} {{ 'profile.transactionType' | translate }} {{ 'profile.amount' | translate }} {{ 'profile.documentNumber' | translate }} {{ 'profile.details' | translate }} {{ 'profile.actions' | translate }} @for (data of table.data; track data) { {{ data.createdAt | timeago }} {{ data.action === 'Deduct' ? ('enum.transactionType.' + data.deductType | translate) : ('enum.transactionType.' + data.rechargeType | translate) }} @if (data.status != 'Done') { {{ 'enum.transactionStatus.' + data.status | translate }} } {{data.action === 'Recharge' ? '+' : ''}}{{ data.amount | currency: data.currency }} {{ data.refrenceNumber }} {{ data.description }} @if (data.operatorId !== null) { {{ 'table.viewOperator' | translate }} } @if (data.paymentGatewayId !== null) { {{ 'table.viewGateway' | translate }} } @if (data.requestId !== null) { {{ 'table.viewRequest' | translate }} } } } @if ((query | async)?.data?.rider?.wallet; as riderWallets) { Amount @for (item of walletTable.data; track item) { {{ item.balance | currency: item.currency }} } }
Type @if (formTransaction.value.action === null) {
} @if (formTransaction.value.action === 'Recharge') { Recharge Type @for (type of rechargeTypes; track type) { } } @if (formTransaction.value.action === 'Deduct') { Deduct Type @for (type of deductTypes; track type) { } } Amount Currency @for (currency of getUniquieCurrencies((query | async)?.data?.regions?.nodes); track currency) { } Document Number Description