|
@@ -1458,10 +1458,10 @@ class CronComparedDataView(View):
|
|
count = len(all_order_list)
|
|
count = len(all_order_list)
|
|
paypal_api = paypalrestsdk.Api(PAYPAL_CRD)
|
|
paypal_api = paypalrestsdk.Api(PAYPAL_CRD)
|
|
for index, order in enumerate(all_order_list):
|
|
for index, order in enumerate(all_order_list):
|
|
|
|
+ total += float(order['price'])
|
|
if not order['trade_no']:
|
|
if not order['trade_no']:
|
|
more_order_list.append(order['orderID'])
|
|
more_order_list.append(order['orderID'])
|
|
continue
|
|
continue
|
|
- total += float(order['price'])
|
|
|
|
if all_order_list.index(order) != index:
|
|
if all_order_list.index(order) != index:
|
|
more_order_list.append(order['orderID'])
|
|
more_order_list.append(order['orderID'])
|
|
continue
|
|
continue
|