まぁいっかー
このコミットが含まれているのは:
コミット
2626c98475
|
@ -463,13 +463,20 @@ class FathersController extends Controller {
|
|||
return ['status_code' => 400];
|
||||
}
|
||||
|
||||
foreach (json_decode($r->tel) as $tel) {
|
||||
// SMSを送ります。
|
||||
$message = '未承知のミーティングがあります。
|
||||
try {
|
||||
foreach (json_decode($r->tel) as $tel) {
|
||||
// SMSを送ります。
|
||||
$message = '未承知のミーティングがあります。
|
||||
以下より確認してください。
|
||||
'.url('/').'/c-account/meeting/detail/'.$r->meeting_id;
|
||||
|
||||
\Notification::route('nexmo', '81'.substr($tel, 1))->notify(new SmsNotification($message));
|
||||
\Notification::route('nexmo', '81'.substr($tel, 1))->notify(new SmsNotification($message));
|
||||
}
|
||||
}
|
||||
catch (\Throwable $e) {
|
||||
// 失敗
|
||||
Log::critical($e->getMessage());
|
||||
return ['status_code' => 400];
|
||||
}
|
||||
|
||||
return ['status_code' => 200];
|
||||
|
|
|
@ -236,6 +236,7 @@ class MeetingsController extends Controller {
|
|||
if (null === ($list = Meeting::select($meeting_select)->where('father_id', (int)$r->father_id)->get())) {
|
||||
return ['status_code' => 400];
|
||||
}
|
||||
|
||||
foreach ($list as $i => $l) {
|
||||
if (null !== ($l->approvals = MeetingApprovals::select($meeting_approvals_select)->whereNotNull('approval_at')->where('meeting_id', (int)$l->id)->get())) {
|
||||
foreach ($l->approvals as $ii => $ll) {
|
||||
|
|
新しいイシューから参照