1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-09-22 17:31:35 +02:00
invoiceninja/resources/views/portal/ninja2020/credits/show.blade.php

22 lines
803 B
PHP
Raw Normal View History

2020-03-23 18:10:42 +01:00
@extends('portal.ninja2020.layout.app')
@section('meta_title', ctrans('texts.entity_number_placeholder', ['entity' => ctrans('texts.credit'), 'entity_number' => $credit->number]))
2020-03-23 18:10:42 +01:00
2020-11-12 12:17:49 +01:00
@push('head')
2021-05-16 01:41:12 +02:00
<meta name="pdf-url" content="{{ $credit->pdf_file_path(null, 'url', true) }}">
2020-11-12 12:17:49 +01:00
<script src="{{ asset('js/vendor/pdf.js/pdf.min.js') }}"></script>
@endpush
2020-03-23 18:10:42 +01:00
@section('body')
2021-06-30 20:40:58 +02:00
@include('portal.ninja2020.components.entity-documents', ['entity' => $credit])
@include('portal.ninja2020.components.pdf-viewer', ['entity' => $credit])
<div class="flex justify-center">
<canvas id="pdf-placeholder" class="shadow rounded-lg bg-white lg:hidden mt-4 p-4"></canvas>
2020-03-23 18:10:42 +01:00
</div>
@endsection
2020-11-12 12:17:49 +01:00
@section('footer')
<script src="{{ asset('js/clients/shared/pdf.js') }}"></script>
@endsection