Example #1
0
    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.selection_macros = SelectionMacrosView(context, request)
        self.icon = self.portal_url + "/++resource++bika.lims.images/query_big.png"
        self.getAnalysts = getUsers(context, ['Manager', 'LabManager', 'Analyst'])

        request.set('disable_border', 1)
Example #2
0
 def __init__(self, context, request, publish=False):
     BrowserView.__init__(self, context, request)
     self.context = context
     self.request = request
     self._publish = publish
     self._ars = [self.context]
     self._digester = AnalysisRequestDigester()
Example #3
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/worksheet_big.png"
     self.title = self.context.translate(_("Add Control Reference"))
     self.description = self.context.translate(_(
                          "Select services in the left column to locate "
                          "reference samples. Select a reference by clicking it. "))
Example #4
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/worksheet_big.png"
     self.title = self.context.translate(_("Add Blank Reference"))
     self.description = self.context.translate(_(
                          "Select services in the left column to locate "
                          "reference samples. Select a reference by clicking it. "))
Example #5
0
    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.selection_macros = SelectionMacrosView(context, request)
        self.icon = "++resource++bika.lims.images/query_big.png"
        self.getAnalysts = getUsers(context, ["Manager", "LabManager", "Analyst"])

        request.set("disable_border", 1)
Example #6
0
    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.selection_macros = SelectionMacrosView(context, request)
        self.icon = "++resource++bika.lims.images/query_big.png"
        self.getAnalysts = getUsers(context,
                                    ['Manager', 'LabManager', 'Analyst'])

        request.set('disable_border', 1)
Example #7
0
    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.context = context
        self.request = request

        # dependencies to resolve
        self.deferred = []

        self.request.set('disable_border', 1)
    def __init__(self, context, request):
        BrowserView.__init__(self, context, request)
        self.context = context
        self.request = request

        # dependencies to resolve
        self.deferred = []

        self.request.set('disable_border', 1)
Example #9
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.context = context
     self.request = request
     self._rows = None
     self._dates = None
     path = "/++resource++bika.health.images"
     self.icon = self.portal_url + path + "/historicresults_big.png"
     self.title = self.context.translate(_("Historic Results"))
     self.description = ""
Example #10
0
 def __init__(self, context, request, report=None):
     BrowserView.__init__(self, context, request)
     self.report = report
     self.headings = {
         'header': _("Analysis turnaround times over time"),
         'subheader': _("The turnaround time of analyses plotted over time")
     }
     self.formats = {
         'columns': 2,
         'col_heads': [_('Date'), _('Turnaround time (h)')],
         'class': ''
     }
 def __init__(self, context, request, report=None):
     BrowserView.__init__(self, context, request)
     self.report = report
     self.headings = {
         'header': _("Analysis requests and analyses per client"),
         'subheader': _("Number of Analysis requests and analyses per client"),
     }
     self.formats = {
         'columns': 3,
         'col_heads': [
             _('Client'),
             _('Number of requests'),
             _('Number of analyses')],
         'class': ''
     }
Example #12
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
Example #13
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.getAnalysts = getUsers(context,
                                 ['Manager', 'LabManager', 'Analyst'])
     self.layout_displaylist = WORKSHEET_LAYOUT_OPTIONS
Example #14
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/referencesample_big.png"
Example #15
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/sample_big.png"
     self.allow_edit = True
Example #16
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.dashboard_cookie = None
     self.member = None
Example #17
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.context = context
     self.request = request
Example #18
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/worksheet_big.png"
     self.title = self.context.translate(_("Add Duplicate"))
     self.description = self.context.translate(_("Select a destinaton position and the AR to duplicate."))
Example #19
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = "++resource++bika.lims.images/worksheet_big.png"
     self.title = _("Add Control Reference")
     self.description = _("Select services in the left column to locate "
                          "reference samples. Select a reference by clicking it. ")
Example #20
0
 def __init__(self, context, request, report=None):
     BrowserView.__init__(self, context, request)
     self.report = report
     self.selection_macros = SelectionMacrosView(self.context, self.request)
     self.cells = dict()
     self.workbook = None
Example #21
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = "++resource++bika.lims.images/worksheet_big.png"
     self.title = _("Add Blank Reference")
     self.description = _("Select services in the left column to locate "
                          "reference samples. Select a reference by clicking it. ")
Example #22
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.getAnalysts = getUsers(context, ['Manager', 'LabManager', 'Analyst'])
Example #23
0
 def __init__(self, context, request, report=None):
     BrowserView.__init__(self, context, request)
     self.report = report
     self.selection_macros = SelectionMacrosView(self.context, self.request)
     self.uids_map = dict()
Example #24
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/sample_big.png"
     self.allow_edit = True
Example #25
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.dashboard_cookie = None
     self.member = None
Example #26
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
Example #27
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.context = context
     self.request = request
 def __init__(self, context, request, report=None):
     self.report = report
     BrowserView.__init__(self, context, request)
Example #29
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.getAnalysts = getUsers(context, ['Manager', 'LabManager', 'Analyst'])
     self.layout_displaylist = WORKSHEET_LAYOUT_OPTIONS
 def __init__(self, context, request, report=None):
     self.report = report
     BrowserView.__init__(self, context, request)
Example #31
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/referencesample_big.png"