mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-12-25 15:17:52 -05:00
30 lines
903 B
PHP
30 lines
903 B
PHP
@extends('portal.ninja2020.layout.app')
|
|
@section('meta_title', ctrans('texts.view_invoice'))
|
|
|
|
@push('head')
|
|
@endpush
|
|
|
|
@section('body')
|
|
|
|
@if($invoice->isPayable() && $client->getSetting('custom_message_unpaid_invoice'))
|
|
@component('portal.ninja2020.components.message')
|
|
<pre>{{ $client->getSetting('custom_message_unpaid_invoice') }}</pre>
|
|
@endcomponent
|
|
@elseif($invoice->status_id === 4 && $client->getSetting('custom_message_paid_invoice'))
|
|
@component('portal.ninja2020.components.message')
|
|
<pre>{{ $client->getSetting('custom_message_paid_invoice') }}</pre>
|
|
@endcomponent
|
|
@endif
|
|
|
|
@if($invoice->isPayable())
|
|
@livewire('flow2.invoice-pay', ['invoices' => $invoices, 'invitation_id' => $invitation->id, 'db' => $db, 'variables' => $variables])
|
|
@endif
|
|
|
|
@endsection
|
|
|
|
@section('footer')
|
|
@endsection
|
|
|
|
@push('head')
|
|
@endpush
|