未承認未完了
このコミットが含まれているのは:
コミット
6addbf1527
|
@ -346,10 +346,19 @@ class MeetingsController extends Controller {
|
|||
continue;
|
||||
}
|
||||
|
||||
if (count($l->approvals) == MeetingApprovals::select($meeting_approvals_select)->whereNotNull('approval_at')->where('meeting_id', (int)$l->id)->count()) {
|
||||
$cnt = MeetingApprovals::select($meeting_approvals_select)->whereNotNull('approval_at')->where('meeting_id', (int)$l->id)->count();
|
||||
$acnt = count($l->approvals);
|
||||
|
||||
if ($acnt != 0 && $acnt == $cnt) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if ($acnt == 0 && $cnt == 0) {
|
||||
if (!in_array($l, $result)) {
|
||||
$result[] = $l;
|
||||
}
|
||||
}
|
||||
|
||||
foreach ($l->approvals as $ii => $ll) {
|
||||
if (null === ($ll->child = Child::select($child_select)->where('id', (int)$ll->child_id)->first())) {
|
||||
$ll->child = new \stdClass();
|
||||
|
|
新しいイシューから参照