Force expected checkin to be formatted as a date (not datetime) since it’s a date field in the DB

This commit is contained in:
snipe 2017-11-08 18:03:47 -08:00
parent 1bb1480f67
commit c162c02304

View file

@ -93,7 +93,7 @@ class CheckoutNotification extends Notification
'first_name' => $target->present()->fullName(),
'item_name' => $item->present()->name(),
'checkout_date' => $item->last_checkout,
'expected_checkin' => $item->expected_checkin,
'expected_checkin' => $item->expected_checkin->format('Y-m-d'),
'item_tag' => $item->asset_tag,
'note' => $this->params['note'],
'item_serial' => $item->serial,