子のメールアドレス

このコミットが含まれているのは:
守矢諏訪子 2021-12-15 16:22:19 +09:00
コミット 09e4a6d892
2個のファイルの変更3行の追加3行の削除

ファイルの表示

@ -267,7 +267,7 @@ class ChildrenController extends Controller {
return ['status_code' => 400];
}
$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())) {
return ['status_code' => 400];

ファイルの表示

@ -156,7 +156,7 @@ class MeetingApprovalsController extends Controller {
}
$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())) {
// エラーの場合
@ -178,7 +178,7 @@ class MeetingApprovalsController extends Controller {
}
$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())) {
// エラーの場合