mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-14 15:13:29 +01:00
e5a230e0c7
* Adjustments for tests * Implement handling of temp downloading resources * Refactor paths * Refactors for file paths * Refactor paths * Add in S3 adapter * Refactor company Documment URL * Refactor for entity pdf performance * Refactors for invoice generation * Enhancements for emails invoices * Emails * Fixes for client portal queries
46 lines
1.2 KiB
PHP
46 lines
1.2 KiB
PHP
@extends('portal.default.layouts.master')
|
|
@section('body')
|
|
<main class="main">
|
|
<div class="container-fluid">
|
|
|
|
{!! Former::framework('TwitterBootstrap4'); !!}
|
|
|
|
{!! Former::horizontal_open()
|
|
->id('payment_form')
|
|
->route('client.invoices.bulk')
|
|
->method('POST'); !!}
|
|
|
|
{!! 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())
|
|
<div class="float-right">
|
|
<button class="btn btn-primary">{{ ctrans('texts.pay_now') }}</button>
|
|
</div>
|
|
@endif
|
|
|
|
</div>
|
|
</div>
|
|
|
|
{!! Former::close() !!}
|
|
|
|
<div class="row mt-4">
|
|
<div class="col-md-12">
|
|
|
|
<embed src="{{ $invoice->pdf_file_path() }}#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>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</main>
|
|
</body>
|
|
@endsection |