子のメールアドレス
このコミットが含まれているのは:
コミット
09e4a6d892
|
@ -267,7 +267,7 @@ class ChildrenController extends Controller {
|
||||||
return ['status_code' => 400];
|
return ['status_code' => 400];
|
||||||
}
|
}
|
||||||
$result = [];
|
$result = [];
|
||||||
$child_select = ['id', 'image', 'first_name', 'last_name', 'company', 'tel'];
|
$child_select = ['id', 'image', 'first_name', 'last_name', 'company', 'tel', 'email'];
|
||||||
|
|
||||||
if (null === ($list = FatherRelation::select('child_id')->where('father_id', (int)$r->father_id)->orderBy('created_at', 'desc')->get())) {
|
if (null === ($list = FatherRelation::select('child_id')->where('father_id', (int)$r->father_id)->orderBy('created_at', 'desc')->get())) {
|
||||||
return ['status_code' => 400];
|
return ['status_code' => 400];
|
||||||
|
|
|
@ -156,7 +156,7 @@ class MeetingApprovalsController extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
$meeting_approvals_select = ['id', 'child_id', 'approval_at'];
|
$meeting_approvals_select = ['id', 'child_id', 'approval_at'];
|
||||||
$child_select = ['id', 'image', 'last_name', 'first_name', 'tel'];
|
$child_select = ['id', 'image', 'last_name', 'first_name', 'tel', 'email'];
|
||||||
|
|
||||||
if (null === ($params = MeetingApprovals::select($meeting_approvals_select)->where('meeting_id', (int)$r->meeting_id)->whereNotNull('approval_at')->get())) {
|
if (null === ($params = MeetingApprovals::select($meeting_approvals_select)->where('meeting_id', (int)$r->meeting_id)->whereNotNull('approval_at')->get())) {
|
||||||
// エラーの場合
|
// エラーの場合
|
||||||
|
@ -178,7 +178,7 @@ class MeetingApprovalsController extends Controller {
|
||||||
}
|
}
|
||||||
|
|
||||||
$meeting_select = ['id', 'child_id', 'approval_at'];
|
$meeting_select = ['id', 'child_id', 'approval_at'];
|
||||||
$child_select = ['id', 'image', 'last_name', 'first_name', 'tel'];
|
$child_select = ['id', 'image', 'last_name', 'first_name', 'tel', 'email'];
|
||||||
|
|
||||||
if (null === ($params = MeetingApprovals::select($meeting_select)->where('meeting_id', (int)$r->meeting_id)->whereNull('approval_at')->get())) {
|
if (null === ($params = MeetingApprovals::select($meeting_select)->where('meeting_id', (int)$r->meeting_id)->whereNull('approval_at')->get())) {
|
||||||
// エラーの場合
|
// エラーの場合
|
||||||
|
|
新しいイシューから参照