module shop crud
This commit is contained in:
@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace app\modules\module_shop\table\columns;
|
||||
|
||||
use Itguild\Tables\ActionColumn\ActionColumn;
|
||||
|
||||
class ModuleShopPackActionColumn extends ActionColumn
|
||||
{
|
||||
protected string $prefix = "/pack/";
|
||||
|
||||
public function fetch()
|
||||
{
|
||||
$link = $this->baseUrl . $this->prefix . $this->id;
|
||||
return " <a href='$link' class='btn btn-info'>Заархивировать</a> ";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user