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 15, 2023
2 parents ec3c467 + 05bc9f1 commit ea8181d
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -60,9 +60,10 @@ public function store(Request $request, $accessoryUserId = null, $backto = null)

$this->authorize('checkin', $accessory);

$checkin_at = date('Y-m-d');
$checkin_hours = date('H:i:s');
$checkin_at = date('Y-m-d H:i:s');
if ($request->filled('checkin_at')) {
$checkin_at = $request->input('checkin_at');
$checkin_at = $request->input('checkin_at').' '.$checkin_hours;
}

// Was the accessory updated?
Expand Down

0 comments on commit ea8181d

Please sign in to comment.