feat: client actions (reject-transfer) (#1087)

Fixes: #1086
This commit is contained in:
Karan Takalkar
2020-07-14 10:43:15 +05:30
committed by GitHub
parent f861e466bf
commit 5573738d86
9 changed files with 146 additions and 8 deletions
@@ -7,7 +7,7 @@
<mat-card-content fxLayout="column">
<mat-form-field>
<mat-label>Closed On Date</mat-label>
<mat-label>Transfer Date</mat-label>
<input matInput [matDatepicker]="transferDatePicker" required formControlName="transferDate">
<mat-datepicker-toggle matSuffix [for]="transferDatePicker"></mat-datepicker-toggle>
<mat-datepicker #transferDatePicker></mat-datepicker>
@@ -1,7 +1,6 @@
/** Angular Imports */
import { Component, OnInit } from '@angular/core';
import { FormGroup, FormBuilder, Validators } from '@angular/forms';
import { DatePipe } from '@angular/common';
import { FormGroup, FormBuilder } from '@angular/forms';
import { ActivatedRoute, Router } from '@angular/router';
/** Custom Services */
@@ -58,7 +57,7 @@ export class UndoClientTransferComponent implements OnInit {
}
/**
* Submits the form and undo the trandsfer of client
* Submits the form and undo the transfer of client
* if successful redirects to the client.
*/
submit() {