Skip to content

Commit

Permalink
paylink param to autofills email to send to. Support pay/payee and …
Browse files Browse the repository at this point in the history
…to/email
  • Loading branch information
amark committed Apr 3, 2024
1 parent 3e137e6 commit 327e5f1
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -783,10 +783,13 @@
$('.date .font').text(params.date || new Date().toLocaleDateString("en-US").replace(/\//g, '-')).attr("blank", false);

params.payee && $('.payee .font').text(params.payee).attr("blank", false);
params.pay && $('.payee .font').text(params.pay).attr("blank", false);
params.amount && $('.amount .font').text(params.amount).attr("blank", false);
params.amounts && $('.amounts .font').text(params.amounts).attr("blank", false);
params.bank && $('.bank').text(params.bank).attr("blank", false);
params.memo && $('.memo .font').text(params.memo).attr("blank", false);
params.to && $('.submit input').val(params.to).attr("blank", false);
params.email && $('.submit input').val(params.email).attr("blank", false);

/* expected from the recipient */
// $('.address')
Expand Down

0 comments on commit 327e5f1

Please sign in to comment.