Beispiel #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)
Beispiel #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()
Beispiel #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. "))
Beispiel #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. "))
Beispiel #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)
Beispiel #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)
Beispiel #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)
Beispiel #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 = ""
Beispiel #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': ''
     }
Beispiel #12
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
Beispiel #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
Beispiel #14
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/referencesample_big.png"
Beispiel #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
Beispiel #16
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.dashboard_cookie = None
     self.member = None
Beispiel #17
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.context = context
     self.request = request
Beispiel #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."))
Beispiel #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. ")
Beispiel #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
Beispiel #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. ")
Beispiel #22
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.getAnalysts = getUsers(context, ['Manager', 'LabManager', 'Analyst'])
Beispiel #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()
Beispiel #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
Beispiel #25
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.dashboard_cookie = None
     self.member = None
Beispiel #26
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
Beispiel #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)
Beispiel #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)
Beispiel #31
0
 def __init__(self, context, request):
     BrowserView.__init__(self, context, request)
     self.icon = self.portal_url + "/++resource++bika.lims.images/referencesample_big.png"