Created
September 16, 2018 13:54
-
-
Save skd1993/2c97371f8fc6019383957d1906ac2e3e to your computer and use it in GitHub Desktop.
rent-list.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div class="row"> | |
<div class="input-field col s6"> | |
<input [(ngModel)]="meterCurr" name="meterCurr" type="number"> | |
<label class="active" for="meterCurr">meter curr</label> | |
</div> | |
<div class="input-field col s6"> | |
<input [(ngModel)]="paid" name="paid" type="number"> | |
<label class="active" for="paid">paid</label> | |
</div> | |
<div class="input-field col s6"> | |
<input [(ngModel)]="extraCost" name="extraCost" type="number"> | |
<label class="active" for="extraCost">extra cost</label> | |
</div> | |
<div class="col s12 m12"> | |
<p>curr: {{meterCurr}}</p> | |
<p>prev: {{meterPrev}}</p> | |
<p>paid: {{paid}}</p> | |
<p>extras: {{extraCost}}</p> | |
<p>Total: {{total}}</p> | |
<p>Due: {{total-paid}}</p> | |
<button class="btn waves-effect waves-light" type="submit" name="action" (click)="submit()">Submit</button> | |
</div> | |
</div> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment