Notify when last Instrument's QC Calibration Internal Test fails
Avoid workarownds, be concise and keep it simple
Cache logicfor Instrument's latest reference analyses
Added alert in Analysis Service when invalid instruments get selected
Display the invalid instruments alert in AS only if 'Allow instruments'
Notify in AR Manage Results view if invalid instruments are used
Notify in WS Manage Results view if invalid instruments are used
Prevent from results being edited if unvalid instrument is assigned
Remove WorksheetInstrument relations and replace by AnalysisInstrument

Replace all WorksheetInstrument relations from Reference Analyses and
DuplicateAnalyses by AnalysisInstrument relation. Assignment of
Instruments directly to a Worksheet will not longer be used. The
assignment must be performed directly to each Analysis.
Analysis instrument assignment logic instead of worksheet assignment
Fix conflicts amongst WS setInstrument and ajaxSetInstrument
Method and Instrument selector for each Analysis in WS

Both fields are populated according to the Method-service restrictions
and if the service has the option AllowInstrumentEntryOfResults
Disable general Instrument selector from ManageResults view (WS)

The code-behind logic to set the selected instrument to each analysis
from the WS is already set. The logic takes into account if the instrument
can be set for any analysis regards to its method-service. Commented
because still need to refresh all the analysis-instrument selectors using js
after instrument being changed.
Added method and instrument selectors for each Analysis in WS Results view
Regular QC Analyses definetly added as Internal Calibration Tests
Automatic retraction of analyses with invalid instruments

Retract all the 'To be verified' analyses assigned to an invalid
instrument after QC results being submitted.
Some improvements regards to WS results capture for Reference
Analyses.
Retracted analysis list, email and pdf

Creation of a list of analyses retracted automatically due to a
QC failure, generate a pdf and send an email to labmanagers.
Supply Orders now set to only exclude negative product quantities
Merge pull request #1153 from bikalabs/bugfix/#1140

Supply Orders now set to only exclude negative product quantities
Spelling error, 'itemms'