1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-16 16:13:20 +01:00
invoiceninja/resources/views/payments/stripe/bitcoin.blade.php

39 lines
1.0 KiB
PHP
Raw Normal View History

2017-10-23 20:47:24 +02:00
@extends('payments.payment_method')
@section('head')
@parent
<script type="text/javascript" src="{{ asset('js/qrcode.min.js') }}"></script>
<script type="text/javascript">
$(function() {
var qrcode = new QRCode(document.getElementById("qrcode"), {
text: "{{ $source['bitcoin']['uri'] }}",
2017-10-23 22:09:38 +02:00
width: 300,
height: 300,
2017-10-23 20:47:24 +02:00
});
});
</script>
@stop
@section('payment_details')
<div class="row">
<div class="col-md-6">
<img src="{{ asset('/images/gateways/logo_Bitcoin.png') }}"/>
<p>&nbsp;</p>
<h2>{{ $source['bitcoin']['amount'] / 100000000 }} BTC</h2>
<h3>{{ $source['receiver']['address'] }}</h3>
<p>&nbsp;</p>
{!! Button::normal(strtoupper(trans('texts.cancel')))->large()->asLinkTo($invitation->getLink()) !!}
</div>
<div class="col-md-6">
2017-10-23 22:09:38 +02:00
<center>
<div id="qrcode"></div>
</center>
2017-10-23 20:47:24 +02:00
</div>
</div>
@stop