|
@@ -545,7 +545,7 @@ class Order
|
|
|
private function show_button($process, $info, $role)
|
|
|
{
|
|
|
$button = array();
|
|
|
- $cstatus = ',cstatus';
|
|
|
+ $cstatus = ',cstatus,soft_price';
|
|
|
if ($role['soft'] && $role['soft'] && $info['price'] > 0 && $info['status'] > 1) {
|
|
|
|
|
|
|
|
@@ -629,6 +629,7 @@ class Order
|
|
|
$parents = array_merge($parents, Dever::load('invite/api')->getParentAll($parent_member['id'], 20));
|
|
|
|
|
|
$parent_per = 0;
|
|
|
+ $max_per = 15;
|
|
|
$level_up = false;
|
|
|
foreach ($parents as $k => $v) {
|
|
|
$parent_info = Dever::db('agent/member')->find($v['uid']);
|
|
@@ -687,7 +688,7 @@ class Order
|
|
|
if ($k == 0) {
|
|
|
$parent_name = $this->show_parent_reward($parent_info, $info, $role, $v, $parent_role, $parent_level, $child_num);
|
|
|
}
|
|
|
- if ($parent_level['id']) {
|
|
|
+ if ($parent_level['id'] && $parent_level['value'] > 0) {
|
|
|
|
|
|
$param = array();
|
|
|
$param['type'] = 2;
|