Merge pull request #9245 from beganovich/rff-validation

RFF validation errors on invoice show page
This commit is contained in:
David Bomba 2024-02-05 05:47:23 +11:00 committed by GitHub
commit fe823423ca
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -10,6 +10,16 @@
@endpush @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') @section('body')
@if($invoice->isPayable() && $client->getSetting('custom_message_unpaid_invoice')) @if($invoice->isPayable() && $client->getSetting('custom_message_unpaid_invoice'))