small bug deciding payment status
This commit is contained in:
@@ -589,9 +589,9 @@ def create_a_delivery(user_id):
|
||||
# 5 = unknown
|
||||
|
||||
if cash_payment is True:
|
||||
delivery_payment_method = 1
|
||||
delivery_payment_method = 0
|
||||
if card_payment is True:
|
||||
delivery_payment_method = 2
|
||||
delivery_payment_method = 1
|
||||
if check_payment is True:
|
||||
delivery_payment_method = 3
|
||||
if other_payment is True:
|
||||
|
||||
Reference in New Issue
Block a user