Skip to content

A free open source IT asset/license management system

only creator can see share checkbox

akemidx6a770832ba1b
diff --git a/resources/views/reports/custom.blade.php b/resources/views/reports/custom.blade.php
index 4620f3bda6..16511f1c00 100644
--- a/resources/views/reports/custom.blade.php
+++ b/resources/views/reports/custom.blade.php
@@ -80,7 +80,7 @@
</div>
</div>
- @if($template->created_by)
+ @if($template->created_by == auth()->id())
<div class="col-md-7 col-md-offset-7">
<label class="form-control">
<input type="checkbox" name="share_report_template" value="1" @checked($template->share_report_template) />