2023-10-26 16:44:22 +00:00
|
|
|
<mat-card>
|
|
|
|
<mat-card-title class="scan-header">
|
2023-10-27 13:44:04 +00:00
|
|
|
{{ vE.tipsEnterTip }}
|
2023-10-26 16:44:22 +00:00
|
|
|
</mat-card-title>
|
|
|
|
<mat-card-content>
|
|
|
|
<br>
|
|
|
|
<div align="center" class="card-contents">
|
|
|
|
<table cellspacing="0">
|
|
|
|
<tr>
|
2023-10-26 21:11:06 +00:00
|
|
|
<th align="center"> {{ vE.tipsSubtotal }}</th>
|
2023-10-26 16:44:22 +00:00
|
|
|
<th align="center"></th>
|
2023-10-26 21:11:06 +00:00
|
|
|
<th align="center">{{ vE.tipsTip }}</th>
|
2023-10-26 16:44:22 +00:00
|
|
|
<th align="center"></th>
|
2023-10-26 21:11:06 +00:00
|
|
|
<th align="center">{{ vE.tipsTotal }}</th>
|
2023-10-26 16:44:22 +00:00
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td align="center">{{orderTotal | currency}}</td>
|
|
|
|
<td align="center">+</td>
|
|
|
|
<td align="center">{{orderTotal * value | currency}}</td>
|
|
|
|
<td align="center">=</td>
|
|
|
|
<td align="center">{{orderTotal * (1 + value) | currency}}</td>
|
|
|
|
</tr>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
<br>
|
|
|
|
<div align="center" class="card-contents">
|
|
|
|
{{value | percent}}
|
|
|
|
<br>
|
|
|
|
<input type="range" min="0" max="1" step="0.01" [(ngModel)]="value">
|
|
|
|
</div>
|
|
|
|
</mat-card-content>
|
|
|
|
<mat-card-actions class="card-buttons">
|
|
|
|
<button mat-raised-button (click)="close()">
|
2023-10-26 21:11:06 +00:00
|
|
|
<mat-icon class="icon">close</mat-icon>{{ vE.tipsNoTipBtn }}
|
2023-10-26 16:44:22 +00:00
|
|
|
</button>
|
|
|
|
<button mat-raised-button color="primary" (click)="confirm()">
|
2023-10-26 21:11:06 +00:00
|
|
|
<mat-icon class="icon">done</mat-icon>{{ vE.tipsDoneBtn }}
|
2023-10-26 16:44:22 +00:00
|
|
|
</button>
|
|
|
|
</mat-card-actions>
|
|
|
|
</mat-card>
|