filter status buy
This commit is contained in:
@@ -132,7 +132,7 @@ function mybooks_kuri($page = 1){
|
|||||||
|
|
||||||
|
|
||||||
//все покупки
|
//все покупки
|
||||||
function payments_kuri(){
|
function payments_kuri($filter = 1 ){
|
||||||
|
|
||||||
$login = check_login_kuri();
|
$login = check_login_kuri();
|
||||||
|
|
||||||
@@ -150,6 +150,8 @@ function payments_kuri(){
|
|||||||
anbuy.number_id = price.price_id
|
anbuy.number_id = price.price_id
|
||||||
WHERE
|
WHERE
|
||||||
client_id = {$login['client_id']}
|
client_id = {$login['client_id']}
|
||||||
|
AND
|
||||||
|
buy_status = $filter
|
||||||
ORDER BY
|
ORDER BY
|
||||||
buy_id DESC
|
buy_id DESC
|
||||||
";
|
";
|
||||||
|
|||||||
Reference in New Issue
Block a user