multiple bugfixes from 20 Apr 2020 to 7 jan 2023
This commit is contained in:
parent
902e04c7e6
commit
63d062c4a7
122 changed files with 13163 additions and 12361 deletions
|
|
@ -28,7 +28,7 @@
|
|||
placeholder="Enter Contact number"
|
||||
[ngClass]="{ 'is-invalid': submitted && f.contactNo.errors }"
|
||||
/>
|
||||
<small *ngIf="message">{{ message }}</small>
|
||||
<small [class.d-none]="!contactMessage">{{contactMessage}}</small>
|
||||
<div
|
||||
*ngIf="submitted && f.contactNo.errors"
|
||||
class="invalid-feedback"
|
||||
|
|
@ -41,25 +41,47 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-4">
|
||||
<label for="inputEmail4">Owner Name</label> <span>*</span>
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputEmail4">Owner First Name</label> <span>*</span>
|
||||
<input
|
||||
formControlName="ownerName"
|
||||
formControlName="first_name"
|
||||
type="text"
|
||||
class="form-control"
|
||||
id="inputEmail4"
|
||||
placeholder="Please Enter Owner Name"
|
||||
[ngClass]="{ 'is-invalid': submitted && f.ownerName.errors }"
|
||||
placeholder="Enter First Name"
|
||||
[ngClass]="{ 'is-invalid': submitted && f.first_name.errors }"
|
||||
/>
|
||||
<div
|
||||
*ngIf="submitted && f.ownerName.errors"
|
||||
*ngIf="submitted && f.first_name.errors"
|
||||
class="invalid-feedback"
|
||||
>
|
||||
<div *ngIf="f.ownerName.errors.required">
|
||||
Owner Name is required
|
||||
<div *ngIf="f.first_name.errors.required">
|
||||
Owner First Name is required
|
||||
</div>
|
||||
<div *ngIf="f.ownerName.errors.pattern">
|
||||
Please enter valid name
|
||||
<div *ngIf="f.first_name.errors.pattern">
|
||||
Please enter valid first name
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="form-group col-md-2">
|
||||
<label for="inputEmail4">Owner Last Name</label> <span>*</span>
|
||||
<input
|
||||
formControlName="last_name"
|
||||
type="text"
|
||||
class="form-control"
|
||||
id="inputEmail4"
|
||||
placeholder="Enter Last Name"
|
||||
[ngClass]="{ 'is-invalid': submitted && f.last_name.errors }"
|
||||
/>
|
||||
<div
|
||||
*ngIf="submitted && f.last_name.errors"
|
||||
class="invalid-feedback"
|
||||
>
|
||||
<div *ngIf="f.last_name.errors.required">
|
||||
Owner Last Name is required
|
||||
</div>
|
||||
<div *ngIf="f.last_name.errors.pattern">
|
||||
Please enter valid last name
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -184,6 +206,7 @@
|
|||
<input
|
||||
formControlName="device_id"
|
||||
type="text"
|
||||
(keyup)="removeSpecialChar()"
|
||||
class="form-control"
|
||||
id="inputCity"
|
||||
[ngClass]="{ 'is-invalid': submitted && f.email.errors }"
|
||||
|
|
@ -200,7 +223,7 @@
|
|||
<div *ngIf="inventoryManagement" class="form-group col-md-4">
|
||||
<label for="inputCity">Device ID (IMEI)</label><span>*</span>
|
||||
<div>
|
||||
<select id="inventory" multiple="multiple">
|
||||
<select id="inventory" multiple="multiple">
|
||||
<option
|
||||
*ngFor="let option_1 of inventory"
|
||||
[value]="option_1.IMEI"
|
||||
|
|
@ -209,6 +232,10 @@
|
|||
</option>
|
||||
</select>
|
||||
</div>
|
||||
|
||||
<div *ngIf="invalidEmeiSelected" style="margin-top: 0.25rem;
|
||||
font-size: .875rem;
|
||||
color: #dc3545;">This IMEI is already added in system. Please choose different IMEI</div>
|
||||
<div
|
||||
*ngIf="submitted && f.device_id.errors"
|
||||
class="invalid-feedback"
|
||||
|
|
@ -216,7 +243,8 @@
|
|||
<div *ngIf="f.device_id.errors.required">
|
||||
Device Id is required
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="form-group col-md-4">
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue