close #2880 Enhancement: Username changed, but not reflecting on list of recurring invoice

This commit is contained in:
Cüneyt Şentürk
2023-04-12 15:35:06 +03:00
parent ee5822f062
commit d9e29e2a18
4 changed files with 47 additions and 8 deletions

View File

@ -152,7 +152,7 @@ class Customers extends Controller
$response = $this->ajaxDispatch(new UpdateContact($customer, $request));
if ($response['success']) {
$response['redirect'] = route('customers.index');
$response['redirect'] = route('customers.show', $response['data']->id);
$message = trans('messages.success.updated', ['type' => $customer->name]);