mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-16 16:13:20 +01:00
35 lines
953 B
PHP
35 lines
953 B
PHP
|
@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'] }}",
|
||
|
});
|
||
|
});
|
||
|
</script>
|
||
|
|
||
|
@stop
|
||
|
|
||
|
|
||
|
@section('payment_details')
|
||
|
|
||
|
<div class="row">
|
||
|
<div class="col-md-6">
|
||
|
<img src="{{ asset('/images/gateways/logo_Bitcoin.png') }}"/>
|
||
|
<p> </p>
|
||
|
<h2>{{ $source['bitcoin']['amount'] / 100000000 }} BTC</h2>
|
||
|
<h3>{{ $source['receiver']['address'] }}</h3>
|
||
|
<p> </p>
|
||
|
{!! Button::normal(strtoupper(trans('texts.cancel')))->large()->asLinkTo($invitation->getLink()) !!}
|
||
|
</div>
|
||
|
<div class="col-md-6">
|
||
|
<div id="qrcode"></div>
|
||
|
</div>
|
||
|
</div>
|
||
|
|
||
|
@stop
|