diff --git a/app/routes/client.php b/app/routes/client.php index 4caca48..c23b833 100644 --- a/app/routes/client.php +++ b/app/routes/client.php @@ -143,7 +143,7 @@ function payments_kuri($filter = 1 ){ $paysql = " SELECT - date, anbuy.price AS price, buy_status, pricename, category_id, pricehash + buy_id, date, anbuy.price AS price, buy_status, pricename, category_id, pricehash FROM anbuy LEFT JOIN price ON diff --git a/app/views/payments.phtml b/app/views/payments.phtml index 89c12d5..7a2ad87 100644 --- a/app/views/payments.phtml +++ b/app/views/payments.phtml @@ -2,24 +2,28 @@
| Заказ | Дата | Продукт | Оплата | ||
| =$payment['buy_id']?> | =$payment['date']?> | + 2 && $payment['buy_status'] == 1):?>=$payment['pricename']?> | =$payment['pricename']?> | +-=$payment['price']?> руб. | неоплачен | -