@if ($crud->buttons->where('stack', $stack)->count())
	@foreach ($crud->buttons->where('stack', $stack) as $button)
	  @if ($button->type == 'model_function')
		{!! $entry->{$button->content}($entry, $crud); !!}
	  @else
		@include($button->content)
	  @endif
	@endforeach
@endif

@if ($crud->buttons->where('stack', $stack)->count())
	@foreach ($crud->buttons->where('stack', $stack) as $button)
	  @if ($button->type == 'model_function')
		{!! $entry->{$button->content}($crud); !!}
	  @else
		@include($button->content)
	  @endif
	@endforeach
@endif

Remove Entry parameter from button model_function
Remove Entry parameter from button model_function