problem description
when using laraveladmin, the requirement is to check which stores a user owns in the line operation. I use a custom operation, but there is no way to pass id and cannot recognize the variable
.the environmental background of the problems and what methods you have tried
related codes
/ / Please paste the code text below (do not replace the code with pictures)
$grid- > actions (function ($actions) {
$actions->getKey();
$actions->append("<a href="order/"."{$actions->getKey()}"><i class="fa fa-eye" data-toggle="modal" data-target="-sharpmyModal"></i></a>");
});
what result do you expect? What is the error message actually seen?
wants to pass id in the past, but it will be escaped no matter what.