Add validation errors to invoice show page

This commit is contained in:
Benjamin Beganović 2024-02-04 17:08:40 +01:00
parent 1b898508f8
commit 73e9b1c9cb

View File

@ -10,6 +10,16 @@
@endpush
@section('header')
@if($errors->any())
<div class="alert alert-failure mb-4">
@foreach($errors->all() as $error)
<p>{{ $error }}</p>
@endforeach
</div>
@endif
@endsection
@section('body')
@if($invoice->isPayable() && $client->getSetting('custom_message_unpaid_invoice'))