invoice lines ui logic implemented