|
@@ -988,9 +988,10 @@ class Buy
|
|
|
}
|
|
|
|
|
|
$search_option_type = Dever::input('search_option_type');
|
|
|
- if ($cash_type == 1 && $search_option_type) {
|
|
|
+ if ($cash_type == 1) {
|
|
|
if ($search_option_type == 1) {
|
|
|
|
|
|
+ echo 11;die;
|
|
|
$cash_order = Dever::db('cash/order')->select(array('type' => $info['type'], 'type_id' => $info['type_id'], 'source_order_id' => $info['id']));
|
|
|
|
|
|
$col = 'cash';
|
|
@@ -1002,7 +1003,7 @@ class Buy
|
|
|
$col = 'p_cash';
|
|
|
} elseif ($search_option_type == 3) {
|
|
|
|
|
|
- $cash_order = Dever::db('cash/order')->select(array('type' => $info['source_type'], 'type_id' => $info['source_id'], 'source_order_id' => $info['id']));
|
|
|
+ $cash_order = Dever::db('cash/order')->select(array('source_type' => $info['source_type'], 'source_id' => $info['source_id'], 'source_order_id' => $info['id']));
|
|
|
|
|
|
$col = 'num';
|
|
|
}
|