Additional Changes
This commit is contained in:
@@ -32,7 +32,7 @@ class ProjectDocumentsController extends Controller
|
||||
|
||||
$documents = $query->latest()->paginate(20)->withQueryString();
|
||||
$categories = \Modules\DocumentManagement\Models\DocumentCategory::all();
|
||||
$projects = \Modules\ProjectManagement\Models\Project::select('id', 'name', 'ulid')->get();
|
||||
$projects = \Modules\ProjectManagement\Models\Project::with('parentProject:id,ulid,name,code')->get(['id', 'ulid', 'name', 'code', 'project_type', 'parent_project_id']);
|
||||
|
||||
return \Inertia\Inertia::render('ProjectManagement::Projects/Modules/Documents', [
|
||||
'project' => $project,
|
||||
|
||||
Reference in New Issue
Block a user