{% extends "base.html" %} {% block title %}逐鹿人才-证件合同管理系统-查看合同 - {{ contract.name }}{% endblock %} {% block content %}

查看合同 - {{ contract.name }}

合同基本信息
合同编号{{ contract.contract_number }}
合同名称{{ contract.name }}
合同类型{{ contract.type.name }}
我方主体{{ contract.company_entity.name }}
我方签约人{{ contract.signer.name }}
签约方式{{ contract.signing_method }}
存储盒名称{{ contract.storage_box }}
开始日期{{ contract.start_date.strftime('%Y-%m-%d') }}
结束日期{{ contract.end_date.strftime('%Y-%m-%d') }}
合同收回时间 {% if contract.collected_date %}{{ contract.collected_date.strftime('%Y-%m-%d') }}{% else %}-{% endif %}
状态 {% if contract.is_active %} 有效 {% else %} 终止 {% endif %}
创建人{{ contract.creator.name }}
创建时间{{ contract.created_at.strftime('%Y-%m-%d %H:%M') }}
对方主体
    {% for cp in counterparties %}
  • {{ cp.name }}
  • {% endfor %}
{% if contract.notes %}
备注

{{ contract.notes }}

{% endif %} {% if attachments %}
附件
左右滑动查看所有附件
{% set preview_attachments = [] %} {% for attachment in attachments %} {% set ext = attachment.filepath.split('.')[-1].lower() %} {% if ext in ['pdf','jpg','jpeg','png','gif','bmp','tiff','webp'] %} {% set _ = preview_attachments.append(attachment) %} {% endif %} {% endfor %} {% for attachment in attachments %} {% set ext = attachment.filepath.split('.')[-1].lower() %}
{% if ext in ['pdf','jpg','jpeg','png','gif','bmp','tiff','webp'] %} {% set preview_index = preview_attachments.index(attachment) %} {% if ext == 'pdf' %} {% else %} {% endif %} {{ attachment.filename }} {% else %} {{ attachment.filename }} {% endif %}
{% endfor %}
{% endif %}
{% endblock %}