enable video upload option in telepd

This commit is contained in:
venbatechnologies@gmail.com 2021-09-27 14:46:12 +05:30
parent 0f8bb9f36f
commit 74d76043c3
3 changed files with 3 additions and 3 deletions

View File

@ -159,7 +159,7 @@
mat-raised-button mat-icon-button class="mr-1 mb-1 hover-icon" type="button" (click)="onClickSmsLink(master)"
matTooltip="Send Link Via SMS" matTooltipPosition="above" >
<mat-icon>description</mat-icon>
</button>&nbsp;&nbsp;</span>
</button>&nbsp;&nbsp;</span>
<!-- <div class="fab-group" *ngIf="master.fk_pd_type == '3'"> -->
<!-- </div> -->
<span matTooltip="{{!videoplayback.enableBtn ? 'Recorded video is available after the PD is completed' : 'Play Recorded Video'}}" matTooltipPosition="above">

View File

@ -47,7 +47,7 @@ export class PdTrigerService {
return this._http.post(this.apiUrl + 'getListOfMaster', { "master_name": TableName })
.pipe(
catchError(this.handleError('role', []))
)
)
}
saveForm(records: any,curr_vendor_ans_fetch_status?): Observable<any> {
records.fk_createdby = this._aws.getlocale();

View File

@ -142,7 +142,7 @@
matTooltip="Is Field visit done ?" matTooltipPosition="above" >
<mat-icon>how_to_reg</mat-icon>
</button>
<button *ngIf="master.fk_pd_type == '2'" mat-stroked-button class="mr-1 mb-1" color="primary" (click)="uploadRecordedVideo()">
<button *ngIf="master.fk_pd_type == '3' || master.fk_pd_type == '2'" mat-stroked-button class="mr-1 mb-1" color="primary" (click)="uploadRecordedVideo()">
<mat-icon>videocam</mat-icon>&nbsp;
<strong>Upload</strong>
</button>