mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-06-23 20:00:33 -04:00
updates for Forte
This commit is contained in:
parent
59ba737f5d
commit
31da9cf5ab
@ -146,9 +146,14 @@ class ACH implements LivewireMethodInterface
|
||||
$this->forte->client,
|
||||
$this->forte->client->company,
|
||||
);
|
||||
|
||||
$error = Validator::make([], []);
|
||||
|
||||
$error->getMessageBag()->add('gateway_error', $response->response->response_desc);
|
||||
return redirect('client/invoices')->withErrors($error);
|
||||
|
||||
return redirect()->route('client.invoice.show', ['invoice' => $payment_hash->fee_invoice->hashed_id])->withErrors($error);
|
||||
|
||||
// return response()->redirect('client/invoices')->withErrors($error);
|
||||
}
|
||||
|
||||
SystemLogger::dispatch(
|
||||
|
@ -4,6 +4,15 @@
|
||||
</div>
|
||||
|
||||
<div class="p-2">
|
||||
@if($errors->any())
|
||||
<div class="alert alert-error">
|
||||
<ul>
|
||||
@foreach($errors->all() as $error)
|
||||
<li class="text-sm">{{ $error }}</li>
|
||||
@endforeach
|
||||
</ul>
|
||||
</div>
|
||||
@endif
|
||||
@livewire($this->component, [], key($this->componentUniqueId()))
|
||||
</div>
|
||||
</div>
|
||||
|
Loading…
x
Reference in New Issue
Block a user