fixed typo
This commit is contained in:
@@ -91,7 +91,7 @@ def portfolio(request):
|
||||
total_valeur += item.valeur
|
||||
total_pv += item.plus_value
|
||||
if total_valeur == 0:
|
||||
total_pc_value
|
||||
total_pc_value = 0
|
||||
else:
|
||||
total_pc_value = total_pv / total_valeur * 100
|
||||
total_rdt += item.rendement
|
||||
|
||||
Reference in New Issue
Block a user