Discharge of employee: Immediate payment. Whenever an employer discharges an employee, the wages and compensation earned and unpaid at the time of such discharge shall become due and payable immediately.