card count
This commit is contained in:
parent
4b498c7fc6
commit
4692c70378
@ -79,7 +79,7 @@ $table->columns([
|
||||
]);
|
||||
|
||||
$table->beforePrint(function () use ($table) {
|
||||
$count = $table->getCollection()->count();
|
||||
$count = Card::all()->count();
|
||||
$html = IconBtnCreateWidget::create(['url' => '/admin/card/create'])->run();
|
||||
$html .= "<div>Всего записей: $count</div>";
|
||||
return $html;
|
||||
|
Loading…
x
Reference in New Issue
Block a user