管理者画面からミーティング編集の修正

このコミットが含まれているのは:
守矢諏訪子 2022-02-08 18:35:10 +09:00
コミット 8798667c65
1個のファイルの変更1行の追加1行の削除

ファイルの表示

@ -813,7 +813,7 @@ class MeetingsController extends Controller {
$meeting->save();
// 子供達を知らせます。
if (null !== ($fr = FatherRelation::where('father_id', (int)session()->get('fathers')['id'])->get())) {
if (null !== ($fr = FatherRelation::where('father_id', (int)$meeting->id)->get())) {
foreach ($fr as $f) {
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())) {