mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Revert "removed logging user without an email from acceptance reminder command"
This reverts commit 784aec3cbd
.
This commit is contained in:
parent
784aec3cbd
commit
e106e8ad2d
|
@ -71,6 +71,9 @@ class SendAcceptanceReminder extends Command
|
||||||
$acceptance = $unacceptedAssetGroup[0]['acceptance'];
|
$acceptance = $unacceptedAssetGroup[0]['acceptance'];
|
||||||
$locale = $acceptance->assignedTo?->locale;
|
$locale = $acceptance->assignedTo?->locale;
|
||||||
$email = $acceptance->assignedTo?->email;
|
$email = $acceptance->assignedTo?->email;
|
||||||
|
if(!$email){
|
||||||
|
$this->info($acceptance->assignedTo?->present()->fullName().' has no email address.');
|
||||||
|
}
|
||||||
$item_count = $unacceptedAssetGroup->count();
|
$item_count = $unacceptedAssetGroup->count();
|
||||||
|
|
||||||
if ($locale && $email) {
|
if ($locale && $email) {
|
||||||
|
|
Loading…
Reference in a new issue