{% extends 'layout/app.html.twig' %} {% block title %}{{ sourcingRequest.title }} - {{ 'app.portal'|trans }}{% endblock %} {% block breadcrumb %}{{ 'request.back'|trans }} / {{ sourcingRequest.externalReference }}{% endblock %} {% block app_content %}

{{ 'request.reference'|trans }} {{ sourcingRequest.externalReference }}

{{ sourcingRequest.title }}

{# Où en est MA proposition : jamais celle d'un autre sourceur. #} {% set lastDecision = proposal and proposal.latestVersion ? proposal.latestVersion.latestDecision : null %}

{{ 'proposal.mine'|trans }}

{% if proposal %} {% include 'proposal/_state.html.twig' with { state: proposal.state, audience: 'sourcer' } only %} {% else %} {{ 'proposal.state.none'|trans }} {% endif %}
{% if lastDecision and lastDecision.kind.value == 'adjustment_requested' %}

{{ 'proposal.adjustment_title'|trans }}

{{ lastDecision.comment }}

{% endif %} {% if proposal and proposal.state.value == 'accepted' %}

{{ 'proposal.not_an_order'|trans }}

{% endif %} {% if not canSubmit and not (proposal and proposal.state.frozen) %}

{{ 'proposal.read_only'|trans }}

{% endif %}
{% include 'request/_sheet.html.twig' with { sheet: sourcingRequest } only %}
{% endblock %}