Strict done!!

This commit is contained in:
2020-11-23 16:42:54 +05:30
parent af343cb7f9
commit afe746ecdc
142 changed files with 1258 additions and 907 deletions
@@ -18,7 +18,11 @@ const serviceName = 'EmployeeAttendanceService';
export class EmployeeAttendanceService {
constructor(private http: HttpClient, private log: ErrorLoggerService) {}
get(id: string, startDate: string, finishDate: string): Observable<EmployeeAttendance> {
get(
id: string | null,
startDate: string | null,
finishDate: string | null,
): Observable<EmployeeAttendance> {
const getUrl: string = id === null ? url : `${url}/${id}`;
const options = { params: new HttpParams() };
if (startDate !== null) {