'Set indicator for portal'

def set_indicator(self):

    if ((self.per_billed < 100) and (self.per_delivered < 100)):
        self.indicator_color = u'orange'
        self.indicator_title = _(u'Not    Paid    and    Not    Delivered')
    elif ((self.per_billed == 100) and (self.per_delivered < 100)):
        self.indicator_color = u'orange'
        self.indicator_title = _(u'Paid    and    Not    Delivered')
    else:
        self.indicator_color = u'green'
        self.indicator_title = _(u'Paid')
