1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-11 05:32:39 +01:00
invoiceninja/resources/views/portal/default/invoices/show.blade.php

46 lines
1.2 KiB
PHP
Raw Normal View History

2019-08-29 06:07:04 +02:00
@extends('portal.default.layouts.master')
@section('body')
<main class="main">
<div class="container-fluid">
2019-09-05 07:04:52 +02:00
{!! Former::framework('TwitterBootstrap4'); !!}
2019-09-05 01:52:49 +02:00
2019-09-05 07:04:52 +02:00
{!! Former::horizontal_open()
->id('payment_form')
->route('client.invoices.bulk')
->method('POST'); !!}
2019-09-05 01:52:49 +02:00
2019-09-05 07:04:52 +02:00
{!! Former::hidden('hashed_ids')->id('hashed_ids')->value( $invoice->hashed_id ) !!}
{!! Former::hidden('action')->id('action')->value('payment') !!}
<div class="row mt-4">
<div class="col-md-12">
@if($invoice->isPayable())
2019-09-05 07:04:52 +02:00
<div class="float-right">
<button class="btn btn-primary">{{ ctrans('texts.pay_now') }}</button>
</div>
@endif
2019-09-05 07:04:52 +02:00
</div>
2019-09-05 01:52:49 +02:00
</div>
2019-09-05 07:04:52 +02:00
{!! Former::close() !!}
<div class="row mt-4">
<div class="col-md-12">
2019-09-05 01:52:49 +02:00
<embed src="{{ asset($invoice->pdf_url()) }}#toolbar=1&navpanes=1&scrollbar=1" type="application/pdf" width="100%" height="1180px" />
<div id="pdfCanvas" style="display:none;width:100%;background-color:#525659;border:solid 2px #9a9a9a;padding-top:40px;text-align:center">
<canvas id="theCanvas" style="max-width:100%;border:solid 1px #CCCCCC;"></canvas>
</div>
2019-08-29 06:07:04 +02:00
</div>
</div>
</main>
</body>
@endsection