added yearly submit

This commit is contained in:
piratefinn 2018-05-15 16:48:51 +01:00
parent 233c523353
commit b373d4e63f
2 changed files with 6 additions and 0 deletions

3
.gitignore vendored
View file

@ -41,6 +41,9 @@ testem.log
/e2e/*.js /e2e/*.js
/e2e/*.map /e2e/*.map
# build
/dist
# local env variable # local env variable
/src/environments/environment.local.ts /src/environments/environment.local.ts
/src/environments/environment.prod.ts /src/environments/environment.prod.ts

View file

@ -62,6 +62,9 @@
<label class="btn btn-secondary mb-0" [class.active]="recurringType == 'quarterly'"> <label class="btn btn-secondary mb-0" [class.active]="recurringType == 'quarterly'">
<input value="quarterly" type="radio" name="radios" style="display:none;" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">Quarterly <input value="quarterly" type="radio" name="radios" style="display:none;" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">Quarterly
</label> </label>
<label class="btn btn-secondary mb-0" [class.active]="recurringType == 'yearly'">
<input value="yearly" type="radio" name="radios" style="display:none;" [(ngModel)]="recurringType" (ngModelChange)="transactionFormValidate()">Yearly
</label>
</div> </div>
</div> </div>
<span class="help-block">Please give the period of time the purchase will recur from "Time of Transaction".</span> <span class="help-block">Please give the period of time the purchase will recur from "Time of Transaction".</span>