<%inherit file="/base/base.html"/> <%namespace file="/utils/sidebars.html" name="sidebars" /> <%def name="javascripts()" filter="trim">
% if evidence.qr_code:
% endif

Evidence ${evidence.reference|h}

Details

% if evidence.case_id is not None: % if check_perms(evidence, 'edit'):

Edit Evidence % endif % if check_perms(evidence, 'dis-associate'): | Remove Evidence

% else:

% endif % elif evidence.case_id is None: % if check_perms(evidence, 'dis-associate'):

Associate evidence with a case % endif % if check_perms(evidence, 'remove'): | Remove evidence completely from Foreman

% else:

% endif % endif % if evidence.case_id is not None: % endif
Case ${evidence.case.case_name|h} % if evidence.case.status == "Archived": [${evidence.case.status|h}] % endif
Date Evidence Added ${evidence.date_added|h}
Evidence Type ${evidence.type|h}
User who added evidence ${evidence.user.fullname|h}
Originator ${evidence.originator|h}
Bag Number ${evidence.evidence_bag_number|h}
Storage Location ${evidence.location|h}
Current status % if evidence.current_status.check_in == True: In storage % else: Checked out by ${evidence.current_status.user.fullname|h} % endif
Comments ${evidence.comment|h}

Chain of Custody

% for chain in evidence.user_handled: % endfor
Record Date User Date of Movement Custodian Action Comment Attachments
${chain.date|h} ${chain.user.fullname|h} ${chain.custody_date|h} ${chain.custodian|h} % if chain.check_in == True: Evidence checked in % else: Evidence checked out % endif ${chain.comment|h} % if chain.custody_receipt is not None: ${chain.custody_receipt_label|h} % endif
% if evidence.case_id is not None: % if check_perms(evidence, 'check-in-out'):
% if evidence.current_status.check_in == True:

Check out the evidence

% else:

Check in the evidence

% endif % endif % endif

Photographs

% if evidence.photographs: <% import os %> % for file in os.listdir(photo_location): % endfor % endif