@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.view_invoice')) @section('body') @if(Route::is('client.invoice.show'))
{{ $client->getSetting('custom_message_unpaid_invoice') }}@endcomponent @elseif($invoice->status_id === 4 && $client->getSetting('custom_message_paid_invoice')) @component('portal.ninja2020.components.message')
{{ $client->getSetting('custom_message_paid_invoice') }}@endcomponent @endif @if($invoice->isPayable()) @livewire('flow2.invoice-pay', ['invoices' => $invoices, 'invitation_id' => $invitation->id, 'db' => $db, 'variables' => $variables]) @endif @endsection