Compensation for loss of earnings is paid for full or partial inability to work caused by the injury to be compensated.