Fix legacy hosting order page 500 from stale route names.
Deploy Ladill Hosting / deploy (push) Successful in 21s
Deploy Ladill Hosting / deploy (push) Successful in 21s
Point show.blade.php at hosting.legacy.* routes and add the missing input-error component. Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,9 @@
|
|||||||
|
@props(['messages'])
|
||||||
|
|
||||||
|
@if ($messages)
|
||||||
|
<ul {{ $attributes->merge(['class' => 'text-sm text-red-600 space-y-1']) }}>
|
||||||
|
@foreach ((array) $messages as $message)
|
||||||
|
<li>{{ $message }}</li>
|
||||||
|
@endforeach
|
||||||
|
</ul>
|
||||||
|
@endif
|
||||||
@@ -49,7 +49,7 @@
|
|||||||
this.passwordSuccess = '';
|
this.passwordSuccess = '';
|
||||||
|
|
||||||
try {
|
try {
|
||||||
const res = await fetch('{{ route('hosting.reset-panel-password', $order) }}', {
|
const res = await fetch('{{ route('hosting.legacy.reset-panel-password', $order) }}', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
@@ -300,7 +300,7 @@
|
|||||||
this.error = '';
|
this.error = '';
|
||||||
this.success = '';
|
this.success = '';
|
||||||
try {
|
try {
|
||||||
const res = await fetch('{{ route('hosting.renew', $order) }}', {
|
const res = await fetch('{{ route('hosting.legacy.renew', $order) }}', {
|
||||||
method: 'POST',
|
method: 'POST',
|
||||||
headers: {
|
headers: {
|
||||||
'Content-Type': 'application/json',
|
'Content-Type': 'application/json',
|
||||||
|
|||||||
Reference in New Issue
Block a user