Merge branch 'backend' of https://github.com/nakazawakan/kikikanri into c_account
このコミットが含まれているのは:
コミット
ba71a34f07
|
@ -151,8 +151,8 @@ class MeetingsController extends Controller {
|
|||
if (null === ($l->meeting_images = MeetingImage::select($meeting_images_select)->where('meeting_id', (int)$l->id)->get())) {
|
||||
$l->meeting_images = [];
|
||||
}
|
||||
if (null === ($l->fathers = Father::select($father_select)->where('id', (int)$l->father_id)->get())) {
|
||||
$l->fathers = [];
|
||||
if (null === ($l->fathers = Father::select($father_select)->where('id', (int)$l->father_id)->first())) {
|
||||
$l->fathers = new \stdObject();
|
||||
}
|
||||
if (null === ($l->meeting_approvals = MeetingApprovals::select($meeting_approvals_select)->whereNotNull('approval_at')->where('meeting_id', (int)$l->id)->orderBy('updated_at', 'desc')->get())) {
|
||||
$l->meeting_approvals = [];
|
||||
|
@ -189,8 +189,8 @@ class MeetingsController extends Controller {
|
|||
if (null === ($l->meeting_images = MeetingImage::select($meeting_images_select)->where('meeting_id', (int)$l->id)->get())) {
|
||||
$l->meeting_images = [];
|
||||
}
|
||||
if (null === ($l->fathers = Father::select($father_select)->where('id', (int)$l->father_id)->get())) {
|
||||
$l->fathers = [];
|
||||
if (null === ($l->fathers = Father::select($father_select)->where('id', (int)$l->father_id)->first())) {
|
||||
$l->fathers = new \stdObject();
|
||||
}
|
||||
if (null === ($l->meeting_approvals = MeetingApprovals::select($meeting_approvals_select)->whereNull('approval_at')->where('meeting_id', (int)$l->id)->orderBy('approval_at', 'asc')->get())) {
|
||||
$l->meeting_approvals = [];
|
||||
|
|
新しいイシューから参照