Small fixes (#2350)
* components.view should point to view, not create * Fix comment * Rename variable to accurately reflect its responsibility * Fix line breaks in serial key, remove places where adding line breaks makes no sense. Fixes #2344
This commit is contained in:
@@ -626,12 +626,12 @@ class AssetsController extends Controller
|
||||
if ($asset->save()) {
|
||||
|
||||
if ($request->input('checkin_at') == Carbon::now()->format('Y-m-d')) {
|
||||
$checkout_at = Carbon::now();
|
||||
$checkin_at = Carbon::now();
|
||||
} else {
|
||||
$checkout_at = $request->input('checkin_at').' 00:00:00';
|
||||
$checkin_at = $request->input('checkin_at').' 00:00:00';
|
||||
}
|
||||
//$checkout_at = e(Input::get('checkin_at'));
|
||||
$logaction = $asset->createLogRecord('checkin', $asset, $admin, $user, null, e(Input::get('note')), $checkout_at);
|
||||
//$checkin_at = e(Input::get('checkin_at'));
|
||||
$logaction = $asset->createLogRecord('checkin', $asset, $admin, $user, null, e(Input::get('note')), $checkin_at);
|
||||
|
||||
|
||||
$settings = Setting::getSettings();
|
||||
|
||||
Reference in New Issue
Block a user