id's toegevoegd pt 2 + fix mattermost pipeline
All checks were successful
Docker Image CI / build-and-push (push) Successful in 1m11s
Docker Image CI / deploy (push) Successful in 33s

This commit is contained in:
2025-03-15 13:44:26 +01:00
parent d9829e1eef
commit 2d444b0300
7 changed files with 58 additions and 23 deletions

View File

@@ -5,21 +5,24 @@
iconStart="@tui.chevron-left"
size="m"
tuiIconButton
id="vorigeDag"
(click)="previousDay()"
type="button">
</button>
<h1 class="date" (click)="toggleCalendar()">{{ getDate() }}</h1>
<h1 class="date" id="geselecteerdeDatum" (click)="toggleCalendar()">{{ getDate() }}</h1>
<button
appearance="primary"
iconStart="@tui.chevron-right"
size="m"
tuiIconButton
id="volgendeDag"
(click)="nextDay()"
type="button">
</button>
</div>
<div class="calendar" *ngIf="showCalendar">
<tui-calendar
id="calenderDatum"
[value]="value"
(dayClick)="onDayClick($event)"
/>
@@ -30,6 +33,7 @@
appearance="secondary"
size="m"
tuiButton
id="vandaag"
(click)="setToday()"
type="button">
Vandaag
@@ -38,6 +42,7 @@
appearance="secondary"
size="m"
tuiButton
id="afspraakMaken"
(click)="isModalOpen = true"
type="button">
<tui-icon
@@ -54,6 +59,7 @@
<div *ngFor="let appointment of getAppointmentsForHour(hour)"
class="appointment"
[attr.id]="'afspraak-'+appointment.id"
(click)="selectAppointment(appointment)"
[ngClass]="{ 'large': (getAppointmentHeight(appointment) > 50) }"
[ngStyle]="getInlineStyles(appointment)">

View File

@@ -8,6 +8,7 @@
size="m"
tuiButton
appearance="secondary"
id="klantToevoegen"
type="button"
(click)="toggleCustomerModal()"
>
@@ -26,7 +27,7 @@
</tr>
</thead>
<tbody>
<tr *ngFor="let customer of customers" (click)="selectCustomer(customer)">
<tr *ngFor="let customer of customers" (click)="selectCustomer(customer)" [id]="customer.id">
<td>{{ customer.firstName }} {{ customer.lastName }}</td>
<td>{{ customer.email }}</td>
</tr>
@@ -47,6 +48,7 @@
<input
tuiTextfieldLegacy
type="text"
id="input-voornaam"
formControlName="firstName"
/>
</tui-input>
@@ -61,6 +63,7 @@
<input
tuiTextfieldLegacy
type="text"
id="input-achternaam"
formControlName="lastName"
/>
</tui-input>
@@ -74,6 +77,7 @@
<input
tuiTextfieldLegacy
autocomplete="email"
id="input-email"
type="email"
formControlName="email"
/>
@@ -83,6 +87,7 @@
appearance="secondary"
size="m"
tuiButton
id="opslaanKlant"
(click)="saveCustomer()"
[disabled]="customerForm.invalid"
type="button">