Fixed Unit's on invoice line items

2 jobs for units in 3 minutes and 21 seconds (queued for 2 seconds)
Name Stage Failure
failed
test_job Test There is an unknown failure, please try again
Global symbol "$unit" requires explicit package name (did you forget to declare "my $unit"?) at /builds/nkukard/wiaflos/wiaflos/server/core/Invoicing.pm line 687.
Global symbol "$unit" requires explicit package name (did you forget to declare "my $unit"?) at /builds/nkukard/wiaflos/wiaflos/server/core/Invoicing.pm line 690.
Global symbol "$unit" requires explicit package name (did you forget to declare "my $unit"?) at /builds/nkukard/wiaflos/wiaflos/server/core/Invoicing.pm line 692.
Compilation failed in require at /builds/nkukard/wiaflos/wiaflos/server/api/Invoicing.pm line 29.
BEGIN failed--compilation aborted at /builds/nkukard/wiaflos/wiaflos/server/api/Invoicing.pm line 29.
Compilation failed in require at (eval 323) line 7.
BEGIN failed--compilation aborted at (eval 323) line 7.
)
ERROR: Job failed: exit code 1