()
| 28 | } |
| 29 | |
| 30 | adjustedPrice () { |
| 31 | let amt = this.get('amount') |
| 32 | if ((this.get('coupons') != null) && (this.get('coupons').length > 0)) { |
| 33 | amt = this.get('coupons')[0].amount |
| 34 | } |
| 35 | return amt |
| 36 | } |
| 37 | |
| 38 | translateName () { |
| 39 | if (/year_subscription/.test(this.get('name'))) { |
no test coverage detected