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
2019-01-30 22:00:26 +11:00

42 lines
1.1 KiB
PHP
Executable File

@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'] }}",
width: 330,
height: 330,
});
});
</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>
<a href="{{ $source['bitcoin']['uri'] }}">{{ $source['receiver']['address'] }}</a>
</h3>
<p>&nbsp;</p>
{!! Button::normal(strtoupper(trans('texts.return_to_invoice')))->large()->asLinkTo($invitation->getLink()) !!}
<p>&nbsp;</p>
</div>
<div class="col-md-6">
<center>
<div id="qrcode"></div>
</center>
</div>
</div>
@stop