feat(admin): deeper order/income filters, post pay-type, topic sales meta
Add order user/payment filters, income/rebate user_id filter, posts list pay_type dropdown, topic virtual_sales/coupon meta, and forum unlock facade methods used by hidecontent/payshow.
This commit is contained in:
1 parent
8d31e65ccd
commit
f197745830
11 files changed
+222
-30
No files matched your search
@@ -595,6 +595,18 @@ class AKSRT_Forum {
|
||||
return $this->topic_service()->unlock_topic_with_credits($user_id, $topic_id);
|
||||
}
|
||||
|
||||
public function has_user_unlocked_topic(int $user_id, int $topic_id): bool {
|
||||
return $this->topic_service()->has_user_unlocked_topic($user_id, $topic_id);
|
||||
}
|
||||
|
||||
public function has_user_paid_topic(int $user_id, int $topic_id): bool {
|
||||
return $this->topic_service()->has_user_paid_topic($user_id, $topic_id);
|
||||
}
|
||||
|
||||
public function resolve_topic_pay_price(int $topic_id, int $user_id = 0): array {
|
||||
return $this->topic_service()->resolve_topic_pay_price($topic_id, $user_id);
|
||||
}
|
||||
|
||||
public function prepare_vote_meta(array $data): array {
|
||||
return $this->topic_service()->prepare_vote_meta($data);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user