peng 1 жил өмнө
parent
commit
49539f23cc

+ 2 - 0
AdminController/ServeManagementController.py

@@ -1285,6 +1285,8 @@ class serveManagement(View):
                                                                   "paypal_num", "paypal_total", "time").order_by(
                 '-time')[(page - 1) * line:page * line]
             for item in daily_reconciliation_qs:
+                item['ansjer_handle'] = 0 if item['ansjer_total'] and item['ansjer_num'] else 1
+                item['paypal_handle'] = 0 if item['paypal_total'] and item['paypal_num'] else 1
                 item['order_info'] = []
                 if not item['order_ids']:
                     continue