src/app/payments/payment-create/payment-create.vm.ts
Properties |
loaderHeader |
loaderHeader:
|
Type : string
|
Default value : 'Sending Payment Request'
|
message |
message:
|
Type : string
|
Default value : 'Please wait a moment while we send your payment request.'
|
paymentDate |
paymentDate:
|
Type : string
|
Default value : new DatePipe(LOCALE).transform(new Date(), 'shortDate')
|
import { DatePipe } from '@angular/common';
import { LOCALE } from '../../app.constants';
export class PaymentCreateVm {
loaderHeader = 'Sending Payment Request';
message = 'Please wait a moment while we send your payment request.';
paymentDate: string = new DatePipe(LOCALE).transform(new Date(), 'shortDate');
}