Feature: Adding recipe templates to print recipes.
Feautre: Recipe export to xlsx Chore: Python 11 style type annotations Chore: Moved to sqlalchemy 2.0 Chore: Minimum python is 3.11 Fix: Fix nullability of a lot of fields in the database.
This commit is contained in:
@@ -1,12 +1,9 @@
|
||||
import { Component } from '@angular/core';
|
||||
import { FormControl, FormGroup } from '@angular/forms';
|
||||
import { MatDatepicker } from '@angular/material/datepicker';
|
||||
import { MatDialog } from '@angular/material/dialog';
|
||||
import { ActivatedRoute, Router } from '@angular/router';
|
||||
import * as moment from 'moment';
|
||||
import { Moment } from 'moment';
|
||||
|
||||
import { AuthService } from '../auth/auth.service';
|
||||
import { ToasterService } from '../core/toaster.service';
|
||||
|
||||
import { EmployeeFunctionsService } from './employee-functions.service';
|
||||
@@ -26,17 +23,9 @@ export class EmployeeFunctionsComponent {
|
||||
finishDate: FormControl<moment.Moment>;
|
||||
}>;
|
||||
|
||||
fingerprintForm: FormGroup<{}>;
|
||||
fingerprintFile: File | null = null;
|
||||
|
||||
constructor(
|
||||
private route: ActivatedRoute,
|
||||
private router: Router,
|
||||
private dialog: MatDialog,
|
||||
private toaster: ToasterService,
|
||||
private auth: AuthService,
|
||||
private ser: EmployeeFunctionsService,
|
||||
) {
|
||||
constructor(private toaster: ToasterService, private ser: EmployeeFunctionsService) {
|
||||
const startDate = moment().date(1);
|
||||
const finishDate = moment().date(startDate.daysInMonth());
|
||||
this.creditSalaryForm = new FormGroup({
|
||||
@@ -46,7 +35,6 @@ export class EmployeeFunctionsComponent {
|
||||
startDate: new FormControl(moment(), { nonNullable: true }),
|
||||
finishDate: new FormControl(moment(), { nonNullable: true }),
|
||||
});
|
||||
this.fingerprintForm = new FormGroup({});
|
||||
}
|
||||
|
||||
chosenYearHandler(normalizedYear: Moment) {
|
||||
|
||||
Reference in New Issue
Block a user