承知済みのみに送信するようになっておりますでしょうか?
このコミットが含まれているのは:
コミット
5af2933d2d
|
@ -815,8 +815,10 @@ class MeetingsController extends Controller {
|
|||
// 子供達を知らせます。
|
||||
if (null !== ($fr = FatherRelation::where('father_id', (int)session()->get('fathers')['id'])->get())) {
|
||||
foreach ($fr as $f) {
|
||||
if (null !== ($child = Child::where('id', $f->child_id)->first())) {
|
||||
Mail::to($child->email)->send(new MeetingEditNotification(session()->get('fathers')['company'], (int)$meeting_id));
|
||||
if (null !== ($meeting = MeetingApprovals::where('meeting_id', (int)$meeting_id)->where('child_id', $f->child_id)->whereNotNull('approval_at')->first())) {
|
||||
if (null !== ($child = Child::where('id', $f->child_id)->first())) {
|
||||
Mail::to($child->email)->send(new MeetingEditNotification(session()->get('fathers')['company'], (int)$meeting_id));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
新しいイシューから参照