id's toegevoegd
This commit is contained in:
@@ -5,6 +5,7 @@
|
|||||||
tuiTextfieldLegacy
|
tuiTextfieldLegacy
|
||||||
formControlName="title"
|
formControlName="title"
|
||||||
type="text"
|
type="text"
|
||||||
|
id="titel"
|
||||||
/>
|
/>
|
||||||
</tui-input>
|
</tui-input>
|
||||||
<div
|
<div
|
||||||
@@ -16,6 +17,7 @@
|
|||||||
*ngFor="let action of quickActions"
|
*ngFor="let action of quickActions"
|
||||||
appearance="outline"
|
appearance="outline"
|
||||||
tuiButton
|
tuiButton
|
||||||
|
[attr.id]="action"
|
||||||
size="s"
|
size="s"
|
||||||
(click)="addAction(action)"
|
(click)="addAction(action)"
|
||||||
type="button">{{ action }}
|
type="button">{{ action }}
|
||||||
@@ -27,6 +29,7 @@
|
|||||||
<tui-combo-box
|
<tui-combo-box
|
||||||
[formControl]="customerControl"
|
[formControl]="customerControl"
|
||||||
[stringify]="stringify"
|
[stringify]="stringify"
|
||||||
|
id="klant"
|
||||||
tuiTextfieldSize="m">
|
tuiTextfieldSize="m">
|
||||||
Klant
|
Klant
|
||||||
<tui-data-list-wrapper
|
<tui-data-list-wrapper
|
||||||
@@ -38,6 +41,7 @@
|
|||||||
<button
|
<button
|
||||||
size="m"
|
size="m"
|
||||||
tuiButton
|
tuiButton
|
||||||
|
id="klantToevoegen"
|
||||||
(click)="toggleCustomerModal()"
|
(click)="toggleCustomerModal()"
|
||||||
iconStart="@tui.plus"
|
iconStart="@tui.plus"
|
||||||
type="button">
|
type="button">
|
||||||
@@ -53,6 +57,7 @@
|
|||||||
formControlName="date"
|
formControlName="date"
|
||||||
tuiTextfieldSize="m"
|
tuiTextfieldSize="m"
|
||||||
class="tui-space_vertical-4"
|
class="tui-space_vertical-4"
|
||||||
|
id="datum"
|
||||||
[tuiTextfieldLabelOutside]="false">
|
[tuiTextfieldLabelOutside]="false">
|
||||||
Datum
|
Datum
|
||||||
</tui-input-date>
|
</tui-input-date>
|
||||||
@@ -62,6 +67,7 @@
|
|||||||
formControlName="startTime"
|
formControlName="startTime"
|
||||||
tuiTextfieldSize="m"
|
tuiTextfieldSize="m"
|
||||||
class="tui-space_top-2"
|
class="tui-space_top-2"
|
||||||
|
id="van"
|
||||||
[tuiTextfieldLabelOutside]="false">
|
[tuiTextfieldLabelOutside]="false">
|
||||||
Van
|
Van
|
||||||
</tui-input-time>
|
</tui-input-time>
|
||||||
@@ -71,21 +77,22 @@
|
|||||||
formControlName="endTime"
|
formControlName="endTime"
|
||||||
tuiTextfieldSize="m"
|
tuiTextfieldSize="m"
|
||||||
class="tui-space_top-2"
|
class="tui-space_top-2"
|
||||||
|
id="tot"
|
||||||
[tuiTextfieldLabelOutside]="false">
|
[tuiTextfieldLabelOutside]="false">
|
||||||
Tot
|
Tot
|
||||||
</tui-input-time>
|
</tui-input-time>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<span *ngIf="appointmentForm.get('endTime')?.errors?.['endTimeInvalid']">
|
<span *ngIf="appointmentForm.get('endTime')?.errors?.['endTimeInvalid']">
|
||||||
<tui-error [error]="timeError"/>
|
<tui-error id="timeError" [error]="timeError"/>
|
||||||
</span>
|
</span>
|
||||||
<br>
|
<br>
|
||||||
<ng-container *ngIf="appointments.length > 0">
|
<ng-container *ngIf="appointments.length > 0">
|
||||||
<h3>Geplande afspraken die dag:</h3>
|
<h3>Geplande afspraken die dag:</h3>
|
||||||
<div class="appointments-container">
|
<div class="appointments-container">
|
||||||
<div *ngFor="let appointment of appointments" class="appointment-object">
|
<div *ngFor="let appointment of appointments" class="appointment-object" [attr.id]="appointment.title + '-' + appointment.customer">
|
||||||
<span class="title">{{ appointment.title }}</span>
|
<span class="title" id="titel-afspraak">{{ appointment.title }}</span>
|
||||||
<span class="name">
|
<span class="name" id="titel-naam">
|
||||||
<tui-icon
|
<tui-icon
|
||||||
icon="@tui.user"
|
icon="@tui.user"
|
||||||
[style.font-size.rem]="1"
|
[style.font-size.rem]="1"
|
||||||
@@ -102,7 +109,6 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</ng-container>
|
</ng-container>
|
||||||
|
|
||||||
<br>
|
<br>
|
||||||
<tui-textarea formControlName="notes">Notities</tui-textarea>
|
<tui-textarea formControlName="notes">Notities</tui-textarea>
|
||||||
</form>
|
</form>
|
||||||
@@ -111,6 +117,7 @@
|
|||||||
size="m"
|
size="m"
|
||||||
tuiButton
|
tuiButton
|
||||||
type="button" (click)="registerAppointment()"
|
type="button" (click)="registerAppointment()"
|
||||||
|
id="afspraakMaken"
|
||||||
[tuiAppearanceState]="formIsValid()">
|
[tuiAppearanceState]="formIsValid()">
|
||||||
Afspraak maken
|
Afspraak maken
|
||||||
</button>
|
</button>
|
||||||
@@ -120,6 +127,7 @@
|
|||||||
<tui-input
|
<tui-input
|
||||||
formControlName="firstName"
|
formControlName="firstName"
|
||||||
tuiTextfieldSize="m"
|
tuiTextfieldSize="m"
|
||||||
|
id="voornaam-nieuwe-klant"
|
||||||
[tuiTextfieldCleaner]="true">
|
[tuiTextfieldCleaner]="true">
|
||||||
Voornaam
|
Voornaam
|
||||||
<input
|
<input
|
||||||
@@ -131,6 +139,7 @@
|
|||||||
<tui-input
|
<tui-input
|
||||||
formControlName="lastName"
|
formControlName="lastName"
|
||||||
tuiTextfieldSize="m"
|
tuiTextfieldSize="m"
|
||||||
|
id="achternaam-nieuwe-klant"
|
||||||
[tuiTextfieldCleaner]="true">
|
[tuiTextfieldCleaner]="true">
|
||||||
Achternaam
|
Achternaam
|
||||||
<input
|
<input
|
||||||
@@ -142,6 +151,7 @@
|
|||||||
<tui-input
|
<tui-input
|
||||||
formControlName="email"
|
formControlName="email"
|
||||||
tuiTextfieldSize="m"
|
tuiTextfieldSize="m"
|
||||||
|
id="email-nieuwe-klant"
|
||||||
[tuiTextfieldCleaner]="true">
|
[tuiTextfieldCleaner]="true">
|
||||||
Email
|
Email
|
||||||
<input
|
<input
|
||||||
@@ -155,6 +165,7 @@
|
|||||||
appearance="secondary"
|
appearance="secondary"
|
||||||
size="m"
|
size="m"
|
||||||
tuiButton
|
tuiButton
|
||||||
|
id="klant-toevoegen"
|
||||||
[loading]=waiting
|
[loading]=waiting
|
||||||
(click)="saveCustomer()"
|
(click)="saveCustomer()"
|
||||||
type="button">
|
type="button">
|
||||||
|
|||||||
@@ -6,11 +6,11 @@
|
|||||||
</header>
|
</header>
|
||||||
<tui-textfield>
|
<tui-textfield>
|
||||||
<label tuiLabel>Gebruikersnaam</label>
|
<label tuiLabel>Gebruikersnaam</label>
|
||||||
<input formControlName="username" placeholder="Voer je gebruikersnaam in" tuiTextfield/>
|
<input formControlName="username" placeholder="Voer je gebruikersnaam in" id="username" tuiTextfield/>
|
||||||
</tui-textfield>
|
</tui-textfield>
|
||||||
<tui-textfield>
|
<tui-textfield>
|
||||||
<label tuiLabel>Wachtwoord</label>
|
<label tuiLabel>Wachtwoord</label>
|
||||||
<input formControlName="password" type="password" placeholder="Voer je wachtwoord in" tuiTextfield/>
|
<input formControlName="password" type="password" placeholder="Voer je wachtwoord in" id="password" tuiTextfield/>
|
||||||
</tui-textfield>
|
</tui-textfield>
|
||||||
<tui-error [error]="computedError"/>
|
<tui-error [error]="computedError"/>
|
||||||
<footer>
|
<footer>
|
||||||
|
|||||||
Reference in New Issue
Block a user