1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-14 15:13:29 +01:00
invoiceninja/resources/views/portal/ninja2020/quotes/show.blade.php

41 lines
1.8 KiB
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.quote'), 'entity_number' => $quote->number]))
2020-03-23 18:10:42 +01:00
@push('head')
2021-05-16 01:41:12 +02:00
<meta name="pdf-url" content="{{ asset($quote->pdf_file_path(null, 'url', true)) }}">
<script src="{{ asset('js/vendor/pdf.js/pdf.min.js') }}"></script>
<meta name="show-quote-terms" content="{{ $settings->show_accept_quote_terms ? true : false }}">
<meta name="require-quote-signature" content="{{ $client->company->account->hasFeature(\App\Models\Account::FEATURE_INVOICE_SETTINGS) && $settings->require_quote_signature }}">
2021-08-30 15:49:16 +02:00
@include('portal.ninja2020.components.no-cache')
2021-10-11 15:06:21 +02:00
<script src="{{ asset('vendor/signature_pad@2.3.2/signature_pad.min.js') }}"></script>
@endpush
2020-03-23 18:10:42 +01:00
@section('body')
2020-11-16 15:37:09 +01:00
@if(!$quote->isApproved() && $client->getSetting('custom_message_unpaid_invoice'))
@component('portal.ninja2020.components.message')
2020-11-16 15:37:09 +01:00
{{ $client->getSetting('custom_message_unpaid_invoice') }}
@endcomponent
@endif
@if($quote->status_id === \App\Models\Quote::STATUS_SENT)
<div class="mb-4">
@include('portal.ninja2020.quotes.includes.actions', ['quote' => $quote])
</div>
@else
<p class="text-right text-gray-900 text-sm mb-4">{{ ctrans('texts.quotes_with_status_sent_can_be_approved') }}</p>
2020-03-23 18:10:42 +01:00
@endif
2021-06-30 20:41:06 +02:00
@include('portal.ninja2020.components.entity-documents', ['entity' => $quote])
@include('portal.ninja2020.components.pdf-viewer', ['entity' => $quote])
@include('portal.ninja2020.invoices.includes.terms', ['entities' => [$quote], 'entity_type' => ctrans('texts.quote')])
@include('portal.ninja2020.invoices.includes.signature')
@endsection
2020-03-23 18:10:42 +01:00
@section('footer')
<script src="{{ asset('js/clients/quotes/approve.js') }}"></script>
2020-03-23 18:10:42 +01:00
@endsection