Fairoj : Issues Fixes

This commit is contained in:
venbatechnologies@gmail.com 2019-10-24 18:01:04 +05:30
parent 727843ac4e
commit 30d4891805
3 changed files with 11 additions and 11 deletions

View File

@ -95,7 +95,7 @@
</mat-form-field>
<mat-form-field style="width: 15%">
<input matInput autocomplete="off" placeholder="STD Code" formControlName="person_stdcode"
type="text" OnlyNumber >
type="text" OnlyNumber maxlength="5" >
<mat-error>Enter Valid STD Code Number.</mat-error>
</mat-form-field> &nbsp; - &nbsp;
<mat-form-field style="width: 35%">
@ -233,12 +233,12 @@
</mat-form-field>
<mat-form-field style="width: 15%">
<input matInput autocomplete="off" placeholder="STD Code" formControlName="person_stdcode"
OnlyNumber type="text">
OnlyNumber type="text" maxlength="5">
<mat-error>Enter Valid STD Code Number.</mat-error>
</mat-form-field> &nbsp; - &nbsp;
<mat-form-field style="width: 35%">
<input matInput autocomplete="off" placeholder="Client Contact Person Landline Number"
formControlName="person_landline" type="text" OnlyNumber>
formControlName="person_landline" type="text" OnlyNumber maxlength="8">
<mat-error>Enter Valid LandLine Number.</mat-error>
</mat-form-field>
</div>
@ -373,12 +373,12 @@
</mat-form-field>
<mat-form-field style="width: 15%">
<input matInput autocomplete="off" placeholder="STD Code" formControlName="person_stdcode"
type="text" OnlyNumber>
type="text" OnlyNumber maxlength="5">
<mat-error>Enter Valid STD Code Number.</mat-error>
</mat-form-field> &nbsp; - &nbsp;
<mat-form-field style="width: 35%">
<input matInput autocomplete="off" placeholder="Client Contact Person Landline Number"
formControlName="person_landline" type="text" OnlyNumber>
formControlName="person_landline" type="text" OnlyNumber maxlength="8">
<mat-error>Enter Valid LandLine Number.</mat-error>
</mat-form-field>
</div>

View File

@ -98,7 +98,7 @@
</mat-form-field>
<mat-form-field style="width: 15%">
<input matInput autocomplete="off" placeholder="STD Code"
formControlName="person_stdcode" type="text" OnlyNumber >
formControlName="person_stdcode" type="text" OnlyNumber maxlength="5">
<mat-error>Enter Valid STD Code Number.</mat-error>
</mat-form-field> &nbsp; - &nbsp;
<mat-form-field style="width: 35%">
@ -271,13 +271,13 @@
</mat-form-field>
<mat-form-field style="width: 15%">
<input matInput autocomplete="off" placeholder="STD Code"
formControlName="person_stdcode" type="text" OnlyNumber>
formControlName="person_stdcode" type="text" OnlyNumber maxlength="5">
<mat-error>Enter Valid STD Code Number.</mat-error>
</mat-form-field> &nbsp; - &nbsp;
<mat-form-field style="width: 35%">
<input matInput autocomplete="off"
placeholder="Contact Person Landline Number"
formControlName="person_landline" type="text" OnlyNumber>
formControlName="person_landline" type="text" OnlyNumber maxlength="8">
<mat-error>Enter Valid LandLine Number.</mat-error>
</mat-form-field>
</div>
@ -449,13 +449,13 @@
</mat-form-field>
<mat-form-field style="width: 15%">
<input matInput autocomplete="off" placeholder="STD Code"
formControlName="person_stdcode" type="text" OnlyNumber>
formControlName="person_stdcode" type="text" OnlyNumber maxlength="5">
<mat-error>Enter Valid STD Code Number.</mat-error>
</mat-form-field> &nbsp; - &nbsp;
<mat-form-field style="width: 35%">
<input matInput autocomplete="off"
placeholder="Contact Person Landline Number"
formControlName="person_landline" type="text" OnlyNumber>
formControlName="person_landline" type="text" OnlyNumber maxlength="8">
<mat-error>Enter Valid LandLine Number.</mat-error>
</mat-form-field>
</div>

View File

@ -4,7 +4,7 @@
<div class="ml-xs mr-xs" style="width: 100%;">
<mat-card-title><span> PD MIS Report </span>
<button class="btn_export" mat-raised-button color="primary" (click)="exp.exportTable('xlsx',{fileName:'Daily MIS Report'})" [disabled]="dataLength == 0 ? true : false || dataLength == -1 ? true : false" >Export CSV</button>
<button class="btn_export" mat-raised-button color="primary" (click)="exp.exportTable('xlsx',{fileName:'Daily MIS Report'})" [disabled]="dataLength == 0 ? true : false || dataLength == -1 ? true : false" >Excel Export</button>
<!-- (click)="ExportTOExcel()" -->
</mat-card-title>