Skip to content

Commit 8dec50f

Browse files
committed
fix bonus-log
1 parent 1e997e4 commit 8dec50f

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

app/Filament/Resources/User/BonusLogResource.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,10 +36,10 @@ public static function getNavigationLabel(): string
3636
return __('admin.sidebar.bonus_log');
3737
}
3838

39-
public static function getModelLabel(): string
40-
{
41-
return sprintf('%s(%s)', get_model_label(static::getModel()), __('bonus-log.exclude_seeding_bonus'));
42-
}
39+
// public static function getModelLabel(): string
40+
// {
41+
// return sprintf('%s(%s)', get_model_label(static::getModel()), __('bonus-log.exclude_seeding_bonus'));
42+
// }
4343

4444
public static function form(Schema $schema): Schema
4545
{

public/bonus-log.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,9 +77,9 @@
7777
\Nexus\Nexus::js($resetJs, 'footer', false);
7878

7979
$rep = new \App\Repositories\BonusRepository();
80-
$total = $rep->getCount($uid, $category, $businessType);
80+
$total = $rep->getCount($category, $uid, $businessType);
8181
list($pagertop, $pagerbottom, $limit, $offset, $pageSize, $page) = pager(50, $total, "$pagerParam&");
82-
$list = $rep->getList($uid, $category, $businessType, $page + 1, $pageSize);
82+
$list = $rep->getList($category, $uid, $businessType, $page + 1, $pageSize);
8383
begin_main_frame();
8484
print($filterForm);
8585
print("<table id='bonus-log-table' width='100%' cellpadding='5'>");

0 commit comments

Comments
 (0)