|
@@ -17,7 +17,13 @@ $button = array();
|
|
|
|
|
|
$merchant_id = Dever::input('search_option_merchant_id');
|
|
$merchant_id = Dever::input('search_option_merchant_id');
|
|
$account_id = Dever::input('search_option_account_id');
|
|
$account_id = Dever::input('search_option_account_id');
|
|
-
|
|
|
|
|
|
+$oper_table = Dever::input('oper_table');
|
|
|
|
+$oper_project = Dever::input('oper_project');
|
|
|
|
+if ($oper_project) {
|
|
|
|
+ $top = $oper_project . '/' . $oper_table . '.';
|
|
|
|
+} else {
|
|
|
|
+ $top = 'account.';
|
|
|
|
+}
|
|
$info = '';
|
|
$info = '';
|
|
|
|
|
|
if ($merchant_id) {
|
|
if ($merchant_id) {
|
|
@@ -30,7 +36,7 @@ if ($merchant_id) {
|
|
);
|
|
);
|
|
}
|
|
}
|
|
|
|
|
|
- $button['账户日志'] = array('location', 'l=project/database/list&project=pay&table=yspay_merchant_log&search_option_state=1&search_option_account_id=' . $account_id . '&search_option_merchant_id=' . $merchant_id . '&parent=account.yspay_merchant.yspay_cash');
|
|
|
|
|
|
+ $button['账户日志'] = array('location', 'l=project/database/list&project=pay&table=yspay_merchant_log&search_option_state=1&search_option_account_id=' . $account_id . '&search_option_merchant_id=' . $merchant_id . '&parent='.$top.'yspay_merchant.yspay_cash');
|
|
}
|
|
}
|
|
|
|
|
|
return array
|
|
return array
|