From d26b1d87af85c3d8cea9fe8f38dfe99c1f8396cd Mon Sep 17 00:00:00 2001 From: qianhy Date: Tue, 31 Jan 2023 17:16:08 +0800 Subject: [PATCH] cost fixbug payway about --- admin/controllers/items/Cost.php | 2 +- admin/views/items/cost/get.php | 5 ++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/admin/controllers/items/Cost.php b/admin/controllers/items/Cost.php index 36624f86..1e8dd3c9 100644 --- a/admin/controllers/items/Cost.php +++ b/admin/controllers/items/Cost.php @@ -472,7 +472,7 @@ class Cost extends HD_Controller{ if($o_ids){ $where = ["id in ($o_ids)" => null]; $fields = "id, name, mobile, owner_name, owner_mobile, c_time, biz_id, admin_id, payway, - if(payway=1,'贷款','全款') as payway_name, + if(payway=1,'全款','贷款') as payway_name, (select type from lc_biz where id = lc_receiver_orders_v2.biz_id) as biz_type, (select biz_name from lc_biz where id = lc_receiver_orders_v2.biz_id) as biz_name, (select uname from lc_app_licheb_users where id = lc_receiver_orders_v2.admin_id) as admin_name"; diff --git a/admin/views/items/cost/get.php b/admin/views/items/cost/get.php index 4d3f0bc0..f72ebd49 100644 --- a/admin/views/items/cost/get.php +++ b/admin/views/items/cost/get.php @@ -353,8 +353,8 @@ -
-
+
+
@@ -476,7 +476,6 @@
-