[Pani] Changed condition to update invoice details only on status change