Commit 60ec8cdd63d5852935449046e244fa699dc008f1
1 parent
46923feb4c
Exists in
master
espacios
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
src/js/controller.js
| ... | ... | @@ -17,9 +17,9 @@ angular.module('focaModalPrecioCondicion') |
| 17 | 17 | for(var i = 0; i < res.data.length; i++) { |
| 18 | 18 | var plazosTemp = ''; |
| 19 | 19 | for(var j = 0; j < res.data[i].plazoPago.length; j++) { |
| 20 | - if(j + 1 === res.data[i].plazoPago.length){ | |
| 20 | + if(j + 1 === res.data[i].plazoPago.length) { | |
| 21 | 21 | plazosTemp += res.data[i].plazoPago[j].dias; |
| 22 | - }else{ | |
| 22 | + }else { | |
| 23 | 23 | plazosTemp += res.data[i].plazoPago[j].dias + ', '; |
| 24 | 24 | } |
| 25 | 25 | } |