Grocery-crud-1.6.4 & 2.0.1 field_type invisible not working

After some days error search on my code, i found that some error on add.php and edit.php of themes the field_type invisible don’t apply correct.
The solution that i found is the next:

On assets\grocery_crud\themes\datatables\views
Theme Datatables :
<?php
$counter = 0;
foreach($fields as $field)
{
$even_odd = $counter % 2 == 0 ? ‘odd’ : ‘even’;
$counter++;
if (!strpos($input_fields[$field->field_name]->crud_type, ‘invisible’) ){
//( after add.php/read.php Line 28 and edit.php Line 29 add )
?>
And //( after add.php/read.php Line 38 and edit.php Line 39 add ‘}’ )
<?php } }?>

On assets\grocery_crud\themes\flexigrid\views
Theme Flexigrid:
<?php
$counter = 0;
foreach($fields as $field)
{
$even_odd = $counter % 2 == 0 ? ‘odd’ : ‘even’;
$counter++;
if (!strpos($input_fields[$field->field_name]->crud_type, ‘invisible’) ){
//( add.php/read.php after Line 32 and edit.php Line 32 add )
?>
And //( add.php/read.php after Line 42 and edit.php Line 42 add ‘}’ )
<?php } }?>

I hope it works for you. Sorry for my bad english :wink: