From 77c5616117512da8804cbd4990e557b30a9df78c Mon Sep 17 00:00:00 2001 From: Ilham Firdausi Putra <ilhamfputra31@gmail.com> Date: Fri, 30 Nov 2018 14:45:11 +0700 Subject: [PATCH] add qrcode to profile --- app/views/profile.php | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/app/views/profile.php b/app/views/profile.php index 3cc0389..1926d08 100644 --- a/app/views/profile.php +++ b/app/views/profile.php @@ -43,9 +43,17 @@ <div class ="profile-row"> <div class ="profile-icon"><img src="../../public/images/bank.png"></div> <div class ="profile-label">Bank account</div> - <div class ="profile-value"><?php echo $data['no_kartu']?></div> + <div class ="profile-value"><?php echo $data['no_kartu']?></div> + <input id="no-kartu" type="button" value="<?php echo $data['no_kartu']?>" hidden/> + </div> + <div class="qr-code"> + <p>QR code</p> + <img id="qr-img" src=""> </div> </div> + + </div> + <script src="../../public/js/profile.js"></script> </body> </html> \ No newline at end of file -- GitLab