Skip to content

Commit

Permalink
product name added
Browse files Browse the repository at this point in the history
  • Loading branch information
Sm1pleScr1pt committed Oct 11, 2024
1 parent ce997e5 commit 9836027
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions blocks/applyloanform/applyloantemplate.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ export function appplyLoanTemplate(properties) {
const liItem = document.createElement('li');
liItem.textContent = item.litext;
liItem.setAttribute('data-loan-type', item.loantype);
liItem.setAttribute('data-loan-name', item.loanname);
liItem.setAttribute('data-get-input', 'form-loan-type');
liItem.classList.add('subpoints');
ul.appendChild(liItem);
Expand Down
2 changes: 1 addition & 1 deletion blocks/applyloanform/loanformapi.js
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export function resendOtpAPI(source) {

export function workFlow() {
getAccessToken()
.then((accesstoken) => generateOTPAPI(accesstoken, cutomerNo().value, loanProduct().dataset.loanType, 'Leadform'))
.then((accesstoken) => generateOTPAPI(accesstoken, cutomerNo().value, loanProduct().dataset.loanName, 'Leadform'))
.then(() => {
// console.log("Data inserted successfully");
verifyOtpBtnClick();
Expand Down

0 comments on commit 9836027

Please sign in to comment.