Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
snipe committed Dec 2, 2024
2 parents 6874f70 + a7d5b39 commit 1bbe9bf
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/Http/Requests/AssetCheckoutRequest.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@ public function rules()
$settings = \App\Models\Setting::getSettings();

$rules = [
'assigned_user' => 'integer|required_without_all:assigned_asset,assigned_location',
'assigned_asset' => 'integer|required_without_all:assigned_user,assigned_location',
'assigned_location' => 'integer|required_without_all:assigned_user,assigned_asset',
'assigned_user' => 'required_without_all:assigned_asset,assigned_location',
'assigned_asset' => 'required_without_all:assigned_user,assigned_location',
'assigned_location' => 'required_without_all:assigned_user,assigned_asset',
'status_id' => 'exists:status_labels,id,deployable,1',
'checkout_to_type' => 'required|in:asset,location,user',
'checkout_at' => [
Expand Down

0 comments on commit 1bbe9bf

Please sign in to comment.