Merge pull request #75 from Pear-Trading/finn/yearlysubmit

added yearly submit
This commit is contained in:
Finn 2018-05-15 17:04:28 +01:00 committed by GitHub
commit c69fcb1bc1
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>