root 5年前
コミット
fcb48ef451
1個のファイルの変更5行の追加0行の削除
  1. 5
    0
      app/Http/Controllers/Main/TaskController.php

+ 5
- 0
app/Http/Controllers/Main/TaskController.php ファイルの表示

$site = SiteSetting::first(); $site = SiteSetting::first();
$compound = Compound::with('ConfidentialFile','Attachment','CompoundInvestigation')->where('kpd', $kpd)->first(); $compound = Compound::with('ConfidentialFile','Attachment','CompoundInvestigation')->where('kpd', $kpd)->first();
if(empty($compound))
{
$kpd = (int)$kpd;
$compound = Compound::with('ConfidentialFile','Attachment','CompoundInvestigation')->where('kpd', $kpd)->first();
}
$file = ConfidentialFile::with(['Memo' => function($q){ $file = ConfidentialFile::with(['Memo' => function($q){
$q->orderBy('updated_at','ASC'); $q->orderBy('updated_at','ASC');
}],['Investigation' => function($q){ }],['Investigation' => function($q){

読み込み中…
キャンセル
保存