@extends('portal.ninja2020.layout.app') @section('meta_title', ctrans('texts.view_invoice')) @push('head') @include('portal.ninja2020.components.no-cache') @endpush @section('header') @if($errors->any())
{{ $error }}
@endforeach{{ $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()) @else