@@ -85,7 +85,7 @@ class ExcelController extends \{{ namespace_prefix }}\{{ bundle_name }}\Controll
8585
8686 $colNum = 0 ;
8787 {% for column in builder . columns % }
88- {% if column . credentials is not empty % }
88+ {% if column . credentials is not empty and column . credentials is not same as ( ' AdmingenAllowed ' ) % }
8989 {% set credentials = column . credentials % }
9090 if ($this -> validateCredentials(' {{ credentials }}' )) {
9191 {% endif % }
@@ -95,7 +95,7 @@ class ExcelController extends \{{ namespace_prefix }}\{{ bundle_name }}\Controll
9595 $sheet -> getColumnDimension($columnLetter )-> setAutoSize(true );
9696
9797 $colNum ++ ;
98- {% if column . credentials is not empty % }
98+ {% if column . credentials is not empty and column . credentials is not same as ( ' AdmingenAllowed ' ) % }
9999 }
100100 {% endif % }
101101 {% endfor % }
@@ -112,7 +112,7 @@ class ExcelController extends \{{ namespace_prefix }}\{{ bundle_name }}\Controll
112112 foreach ($results as ${{ builder . ModelClass }}) {
113113 $colNum = 0 ;
114114 {% for name ,column in builder . columns % }
115- {% if column . credentials is not empty % }
115+ {% if column . credentials is not empty and column . credentials is not same as ( ' AdmingenAllowed ' ) % }
116116 {% set credentials = column . credentials % }
117117 if ($this -> validateCredentials(' {{ credentials }}' , ${{ builder . ModelClass }})) {
118118 {% endif % }
@@ -125,7 +125,7 @@ class ExcelController extends \{{ namespace_prefix }}\{{ bundle_name }}\Controll
125125 }
126126
127127 $sheet -> setCellValueByColumnAndRow($colNum , $row , $formatedValue );
128- {% if column . credentials is not empty % }
128+ {% if column . credentials is not empty and column . credentials is not same as ( ' AdmingenAllowed ' ) % }
129129 }
130130 {% endif % }
131131 // Inc is outside of the credentials check to be sync with headers.
0 commit comments