Revised the variable in the "accounting_sample" management command.
This commit is contained in:
parent
e80aceb8ff
commit
1967359142
@ -155,7 +155,7 @@ class Command(BaseCommand):
|
||||
payday = today.replace(day=5)
|
||||
if payday > today:
|
||||
payday = self.previous_month(payday)
|
||||
for i in range(months):
|
||||
for _ in range(months):
|
||||
self.add_payroll(payday)
|
||||
payday = self.previous_month(payday)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user