(self, main_div)
draw the unregistered hours
draw the unregistered hours
draw the unregistered hours
def add_overtime_hours(self, main_div):
        '''draw the unregistered hours'''
        row_div = FloatDivWdg()
        main_div.add(row_div)
        process_div =  _get_div(self.process_len)
        process_div.add("overtime hours")
        #process_div.add_style('color: #999')
        row_div.add(process_div)
        for i in TimecardWdg.WEEK_CALENDAR:
            div = _get_div(50)
            div.add_class('center_content')
            row_div.add(div)
            span = SpanWdg()
            div.add(span)
            span.add_style('padding: 0 6px 0 6px')
            hour = self.overtime_dict.get(i)
            if hour:
                span.add(hour)
                span.add_class('timecard_overtime')
            else:
                span.add('&nbsp;')
def add_overtime_hours ( self , main_div ) : row_div = FloatDivWdg ( ) main_div . add ( row_div ) process_div = _get_div ( self . process_len ) process_div . add ( "overtime hours" ) #process_div.add_style('color: #999') row_div . add ( process_div ) for i in TimecardWdg . WEEK_CALENDAR : div = _get_div ( 50 ) div . add_class ( 'center_content' ) row_div . add ( div ) span = SpanWdg ( ) div . add ( span ) span . add_style ( 'padding: 0 6px 0 6px' ) hour = self . overtime_dict . get ( i ) if hour : span . add ( hour ) span . add_class ( 'timecard_overtime' ) else : span . add ( '&nbsp;' )