#NEWLINE# @ property #NEWLINE# @ memoized #NEWLINE# def data_providers( self ) : #NEWLINE# #INDENT# config = self . report_config #NEWLINE# if self . location : #NEWLINE# #INDENT# if ( self . location . location_type . name . upper ( ) == 'FACILITY' ) : #NEWLINE# #INDENT# self . use_datatables = True #NEWLINE# return [ InventoryHistoryData ( config = self ) , RandRHistory ( config = config ) , Notes ( config = config ) , RecentMessages ( config = config ) , RegistrationData ( config = dict ( loc_type = 'FACILITY' , ** config ) , css_class = 'row_chart_all' ) , RegistrationData ( config = dict ( loc_type = 'DISTRICT' , ** config ) , css_class = 'row_chart_all' ) , RegistrationData ( config = dict ( loc_type = 'REGION' , ** config ) , css_class = 'row_chart_all' ) ] #NEWLINE# #UNINDENT# else : #NEWLINE# #INDENT# self . use_datatables = False #NEWLINE# return [ RandRSubmissionData ( config = config ) , DistrictSummaryData ( config = config ) , SohSubmissionData ( config = config ) , DeliverySubmissionData ( config = config ) , ProductAvailabilitySummary ( config = config , css_class = 'row_chart_all' ) ] #NEWLINE# #UNINDENT# #UNINDENT# else : #NEWLINE# #INDENT# return [ ]