Open jesnagifto opened 1 year ago
$grid->column('Details')->modal('operations', function ($model) {
$comments = $model->Operations()->take(10)->get()->map(function ($comment) { return $comment->only(['id', 'location', 'image']); }); return new Table(['ID', 'Fishname', 'Locataion'], $comments->toArray());
});
the values not showing? how to solve this?
check the relationship Operations referred in $model->Operations()
Description:
$grid->column('Details')->modal('operations', function ($model) {
});
Steps To Reproduce: