Removed logging
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
d1085a0f46
commit
e717f1e780
1 changed files with 1 additions and 4 deletions
|
@ -74,10 +74,7 @@ class CustomFieldset extends Model
|
||||||
public function displayAnyFieldsInForm($form_type = null)
|
public function displayAnyFieldsInForm($form_type = null)
|
||||||
{
|
{
|
||||||
if ($this->fields) {
|
if ($this->fields) {
|
||||||
// \Log::error(print_r($this->fields, true));
|
|
||||||
\Log::error($this->fields->where('display_audit', '1')->count());
|
|
||||||
\Log::error($this->fields->where('display_checkin', '1')->count());
|
|
||||||
\Log::error($this->fields->where('display_checkout', '1')->count());
|
|
||||||
switch ($form_type) {
|
switch ($form_type) {
|
||||||
case 'audit':
|
case 'audit':
|
||||||
return $this->fields->where('display_audit', '1')->count() > 0;
|
return $this->fields->where('display_audit', '1')->count() > 0;
|
||||||
|
|
Loading…
Add table
Reference in a new issue