diff --git a/invoice.py b/invoice.py index eb69dc2..5a1926a 100755 --- a/invoice.py +++ b/invoice.py @@ -44,6 +44,11 @@ with open(csv[0], 'r') as csv: for k,v in timesheet.items(): print(k) + subprocess.run(["ydotool", "type", f"{k} - Team Meetings\t0.25\t{rate}\t"]) + subprocess.run(["ydotool", "type", "\n"]) + for i in range(1,4): + subprocess.run(["ydotool", "type", f"{k} - RESERVED {i}\t0.00\t{rate}\t"]) + subprocess.run(["ydotool", "type", "\n"]) for i,h in v.items(): print(f' { i } - { h }') # Now actually do the work