Hide view field if empty and add conditions to show parent values for some fields.