var app = this ; | var app = this ; | ||||
if(this.checkForm()) { | if(this.checkForm()) { | ||||
var processCredit = event.currentTarget.getAttribute('data-process-credit') ; | var processCredit = event.currentTarget.getAttribute('data-process-credit') ; | ||||
if(processCredit == null) { | |||||
processCredit = 0 ; | |||||
} | |||||
var data = new FormData(); | var data = new FormData(); | ||||
data.append('date', this.date.getFullYear() + '-' | data.append('date', this.date.getFullYear() + '-' |