Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,19 +164,22 @@ export class ClientApprovalComponent implements AfterViewInit {
}

approveClients() {
const businessDate = this.settingsService.businessDate || new Date();
const formfields: FormfieldBase[] = [
new DatepickerBase({
controlName: 'actDate',
label: 'Date',
Comment thread
Ruba-Tawk-FOO marked this conversation as resolved.
value: new Date(),
value: businessDate,
maxDate: businessDate,
type: 'datetime-local',
required: true
})
];
const data = {
title: 'Enter Clients Activation Date',
layout: { addButtonText: 'Confirm' },
formfields: formfields
formfields: formfields,
pristine: false
};
const clientApprovalDialogRef = this.dialog.open(FormDialogComponent, { data });
clientApprovalDialogRef.afterClosed().subscribe((response: any) => {
Expand Down
Loading