diff --git a/ng6-seed/src/app/reports/smc-credit/smc-credit.component.ts b/ng6-seed/src/app/reports/smc-credit/smc-credit.component.ts index 6c74b5600..b4f49685d 100644 --- a/ng6-seed/src/app/reports/smc-credit/smc-credit.component.ts +++ b/ng6-seed/src/app/reports/smc-credit/smc-credit.component.ts @@ -63,13 +63,14 @@ export class SmcCreditComponent implements OnInit { constructor(private excelExportService:ExcelExportService,private reportService:ReportsService,private dialog: MatDialog,private router:Router,private route: ActivatedRoute,private form_builder:FormBuilder,private notifier:NotifierService) { this.reportform = this.form_builder.group({ - from_date:[null],to_date:[null],officer_name:[null],lender_id:[null]}); + from_date:[null],to_date:[null],officer_name:[null],lender_id:[null],,date_type:[null]}); } ngOnInit(){ this.maxDate = new Date(); // this.getMISDailyReport(); + this.reportform.get('date_type').setValue('3'); } getMISDailyReport() {