tsrman.github.io/alpha/index.html
2025-01-14 18:07:38 +07:00

44 lines
1.7 KiB
HTML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Альфа РБ перевод по кор счету</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width,initial-scale=1,user-scalable=no" />
<script type="text/javascript" src="jquery.min.js"></script>
<script type="text/javascript" src="qrcode.js"></script>
</head>
<body>
<label for="fname">Полное ФИО</label>
<input id="textFIO" type="text" value="" style="width:50%" /><br />
<label for="fname">Номер счета</label>
<input id="textACC" type="text" value="" style="width:50%" /><br />
<input id="text" type="button" value="Сгенерировать" /><br />
<div id="qrcode" style="width:100px; height:100px; margin-top:15px;"></div>
<script type="text/javascript">
text1 = "ST00012|Name=ЗАО \"Альфа-Банк\"|PersonalAcc=30111810900000000504|BankName=ПАО \"СБЕРБАНК\"|BIC=044525225|CorrespAcc=30101810400000000225|Sum=10000|Purpose=Получатель ";
text2 = " Счет ";
text3 = " Перевод собственных средств|PayeeINN=7707083893|KPP=540602001";
var qrcode = new QRCode(document.getElementById("qrcode"), {
width : 512,
height : 512
});
function makeCode () {
// var elText = document.getElementById("text");
var elText = text1 + document.getElementById("textFIO").value + text2 + document.getElementById("textACC").value + text3;
qrcode.makeCode(elText);
}
$(document).ready(function() {
$("#text").click(function(){
makeCode();
});
});
</script>
</body>