Fixes for validation when adding clients / new users

This commit is contained in:
David Bomba 2024-03-10 21:28:50 +11:00
parent cdf78d90c7
commit 6b53322e95
5 changed files with 9772 additions and 15 deletions

View File

@ -177,6 +177,8 @@ class StoreClientRequest extends Request
$input['name'] = strip_tags($input['name']);
}
$input['id'] = null;
$this->replace($input);
}

View File

@ -95,6 +95,8 @@ class StoreUserRequest extends Request
$input['last_name'] = strip_tags($input['last_name']);
}
$input['id'] = null;
$this->replace($input);
}

View File

@ -123,7 +123,7 @@ class WebhookSingle implements ShouldQueue
]);
(new SystemLogger(
['message' => $response->getBody()->getHeaders(), 'body' => $data],
['message' => $response->getHeaders(), 'body' => $data],
SystemLog::CATEGORY_WEBHOOK,
SystemLog::EVENT_WEBHOOK_SUCCESS,
SystemLog::TYPE_WEBHOOK_RESPONSE,

File diff suppressed because one or more lines are too long

103
public/vendor/livewire/livewire.min.js vendored Normal file

File diff suppressed because one or more lines are too long