mirror of
https://github.com/lkddi/nexusphp.git
synced 2026-04-03 14:10:57 +08:00
fix bonus-log
This commit is contained in:
@@ -36,10 +36,10 @@ class BonusLogResource extends Resource
|
||||
return __('admin.sidebar.bonus_log');
|
||||
}
|
||||
|
||||
public static function getModelLabel(): string
|
||||
{
|
||||
return sprintf('%s(%s)', get_model_label(static::getModel()), __('bonus-log.exclude_seeding_bonus'));
|
||||
}
|
||||
// public static function getModelLabel(): string
|
||||
// {
|
||||
// return sprintf('%s(%s)', get_model_label(static::getModel()), __('bonus-log.exclude_seeding_bonus'));
|
||||
// }
|
||||
|
||||
public static function form(Schema $schema): Schema
|
||||
{
|
||||
|
||||
@@ -77,9 +77,9 @@ JS;
|
||||
\Nexus\Nexus::js($resetJs, 'footer', false);
|
||||
|
||||
$rep = new \App\Repositories\BonusRepository();
|
||||
$total = $rep->getCount($uid, $category, $businessType);
|
||||
$total = $rep->getCount($category, $uid, $businessType);
|
||||
list($pagertop, $pagerbottom, $limit, $offset, $pageSize, $page) = pager(50, $total, "$pagerParam&");
|
||||
$list = $rep->getList($uid, $category, $businessType, $page + 1, $pageSize);
|
||||
$list = $rep->getList($category, $uid, $businessType, $page + 1, $pageSize);
|
||||
begin_main_frame();
|
||||
print($filterForm);
|
||||
print("<table id='bonus-log-table' width='100%' cellpadding='5'>");
|
||||
|
||||
Reference in New Issue
Block a user