Work in progress betreft het tonen van afspraken naast elkaar
This commit is contained in:
@@ -89,7 +89,7 @@ export class NewItemComponent implements OnInit {
|
||||
|
||||
const customer = this.customerControl.value;
|
||||
|
||||
const appointment = new Appointment(title, description, startTime.hours, startTime.minutes, endTime.hours, endTime.minutes, correctDate, customer)
|
||||
const appointment = new AppointmentDto(title, description, startTime.hours, startTime.minutes, endTime.hours, endTime.minutes, correctDate, customer)
|
||||
this.waiting = true
|
||||
this.appointmentService.addAppointment(appointment, this.userService.currentCompany.id).subscribe(() => {
|
||||
this.waiting = false
|
||||
|
||||
Reference in New Issue
Block a user