templates/front/liseuse-papier/block-option.html.twig line 1

Open in your IDE?
  1. <div class="col-lg-3 left_liseuse lf_lis">
  2.     <div id="formOptionPapierLiseuse">
  3.         {% if papierCourant.id is defined %}
  4.             <div class="global_right">
  5.                 {% for item in papiers %}
  6.                     {% if item.typeProduct ==  constant('App\\Entity\\Product::PAPIER') %}
  7.                         <div class="global_right_list d-sm-flex">
  8.                             <div class="txt_right d-inline-block text-truncate filePapierNameParent" ><a class="filePapierName" data-token="{{ item.token }}" style="color: #000;" href="{{ path('liseuse',{token:item.token}) }}" >{{ item.filePapierName }}</a></div>
  9.                             <div class="price_fichier" id="token-{{item.token }}">{{ number_format(item.prixHt) }}€ HT</div>
  10.                             <div class="icone_right">
  11.                                 {% if abonnementPro %}
  12.                                     <a class="saveDocLiseuse" href="{{ path('save_file_client',{tokeCartDetail:item.token}) }}"  data-toggle="tooltip"  data-title="Enregistrer mon fichier dans mon espace abonné"></a>
  13.                                 {% endif %}
  14.                                 {% if item.isModif %}
  15.                                     <a class="telechargerDocLiseuse telechargerDocLiseuseModif" href="{{ path('download_doc_liseuse',{token:item.token}) }}"  data-toggle="tooltip"  data-title="Enregistrer sous"></a>
  16.                                 {% else %}
  17.                                     <a class="telechargerDocLiseuse" href="{{ path('download_doc_liseuse',{token:item.token}) }}"  data-toggle="tooltip"  data-title="Enregistrer sous"></a>
  18.                                 {% endif %}
  19.                                 {% if item.id == papierCourant.id %}
  20.                                     <a href="{{ path('liseuse',{token:item.token}) }}" class="editPdfLiseuse filePapierNameIconEdit" data-token="{{ item.token }}" data-toggle="tooltip"  data-title="Modification pdf"></a>
  21.                                 {% else %}
  22.                                     <a href="{{ path('liseuse',{token:item.token}) }}"  class="editPdfLiseuse filePapierNameIconEdit" data-token="{{ item.token }}" data-toggle="tooltip"  data-title="Modifier mes options d’impression"></a>
  23.                                 {% endif %}
  24.                                 <a class="deletedPapierPageLiseuse" href="{{ path('liseuse_deleted',{token:item.token}) }}"  data-toggle="tooltip"  data-title="Supprimer"></a>
  25.                             </div>
  26.                         </div>
  27.                     {% endif %}
  28.                 {% endfor %}
  29.             </div>
  30.             <form id="formOptionPapier">
  31.                 <h3 class="text-center mt-0">{{ 'Je souhaite recevoir aujourd’hui des :' | trans({}, "productTranslate") }}</h3>
  32.                 <div class="d-flex bx_global_radio taille_full">
  33.                     <div class="taille tailleSelect">
  34.                         <input type="radio" name="souhaite_str" class="souhaite_str" id="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_DOC') }}" {% if papierCourant.souhaiteStr ==  constant('App\\Entity\\CartDetail::SOUHAITE_DOC')%}checked="checked"{% endif %} value="{{ constant('App\\Entity\\CartDetail::SOUHAITE_DOC') }}">
  35.                         <label for="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_DOC') }}" class="block taille ">{{ 'Impressions non reliées' | trans({}, "productTranslate") }}</label>
  36.                     </div>
  37.                     <div class="taille  tailleSelect">
  38.                         <input type="radio" name="souhaite_str"  class="souhaite_str" data-name="ma brochure" id="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_BROCHURE') }}" {% if papierCourant.souhaiteStr ==  constant('App\\Entity\\CartDetail::SOUHAITE_BROCHURE')%}checked="checked"{% endif %} value="{{ constant('App\\Entity\\CartDetail::SOUHAITE_BROCHURE') }}">
  39.                         <label for="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_BROCHURE') }}" class="block taille">{{ 'Brochures & documents reliés' | trans({}, "productTranslate") }}</label>
  40.                     </div>
  41.                     <div class="taille tailleSelect">
  42.                         <input type="radio" name="souhaite_str"  class="souhaite_str" data-name="mon livre" id="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_lIVRES') }}" {% if papierCourant.souhaiteStr ==  constant('App\\Entity\\CartDetail::SOUHAITE_lIVRES')%}checked="checked"{% endif %} value="{{ constant('App\\Entity\\CartDetail::SOUHAITE_lIVRES') }}">
  43.                         <label for="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_lIVRES') }}" class="block taille">{{ 'Livres' | trans({}, "productTranslate") }}</label>
  44.                     </div>
  45.                     <div class="taille tailleSelect">
  46.                         <input type="radio" name="souhaite_str"  class="souhaite_str" data-name="mon catalogue" id="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_CATALOGES') }}" {% if papierCourant.souhaiteStr ==  constant('App\\Entity\\CartDetail::SOUHAITE_CATALOGES')%}checked="checked"{% endif %} value="{{ constant('App\\Entity\\CartDetail::SOUHAITE_CATALOGES') }}">
  47.                         <label for="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_CATALOGES') }}" class="block taille">{{ 'Catalogues' | trans({}, "productTranslate") }}</label>
  48.                     </div>
  49.                     <div class="taille tailleSelect">
  50.                         <input type="radio" name="souhaite_str"  class="souhaite_str" data-name="mon livrets" id="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_LIVRETS') }}" {% if papierCourant.souhaiteStr ==  constant('App\\Entity\\CartDetail::SOUHAITE_LIVRETS')%}checked="checked"{% endif %} value="{{ constant('App\\Entity\\CartDetail::SOUHAITE_LIVRETS') }}">
  51.                         <label for="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_LIVRETS') }}" class="block taille">{{ 'Livrets & magasines' | trans({}, "productTranslate") }}</label>
  52.                     </div>
  53.                     <div class="taille tailleSelect">
  54.                         <input type="radio" name="souhaite_str"  class="souhaite_str" data-name="mon rapport" id="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_RAPORT') }}" {% if papierCourant.souhaiteStr ==  constant('App\\Entity\\CartDetail::SOUHAITE_RAPORT')%}checked="checked"{% endif %} value="{{ constant('App\\Entity\\CartDetail::SOUHAITE_RAPORT') }}">
  55.                         <label for="souhaite_str{{ constant('App\\Entity\\CartDetail::SOUHAITE_RAPORT') }}" class="block taille">{{ 'Rapports & thèses' | trans({}, "productTranslate") }}</label>
  56.                     </div>
  57.                 </div>
  58.                 <h3 class="text-center">{{ 'Paramètres d’impression' | trans({}, "productTranslate") }}</h3>
  59.                 <input type="hidden" value="{{ papierCourant.token }}" name="token_cart_detail" id="token_cart_detail">
  60.                 <input type="hidden" value="{{ papierCourant.qty }}" name="qty_total">
  61.                 <input type="hidden" value="{{ papierCourant.qtyColor }}" name="qty_color">
  62.                 <input type="hidden" value="{{ papierCourant.qtyNoir }}" name="qty_noir">
  63.                 <input type="hidden" value="{{ papierCourant.product.id }}" name="product_id">
  64.                 <input type="hidden" value="{{ arrayRegleReluire }}" id="arrayRegleReluire">
  65.                 {% if attrsFormat %}
  66.                     <div class="d-flex bx_global_radio taille_full">
  67.                         {% for item in attrsFormat %}
  68.                             {% if item.typeFormat  !=  constant('App\\Entity\\Attribut::TYPE_FORMAT_A6') %}
  69.                                 <div class="taille tailleSelect">
  70.                                     <input type="radio" data-format-type="{{ item.typeFormat }}" name="format" id="format{{ item.id }}" value="{{ item.id }}" {% if papierCourant.productAttribute.format.id == item.id %} checked="checked" {% endif %}>
  71.                                     <label for="format{{ item.id }}" class="block taille{% if loop.last %}4{% else %}1{% endif %}">{{ item.name | trans({}, "productTranslate") }}</label>
  72.                                 </div>
  73.                             {% endif %}
  74.                         {% endfor %}
  75.                     </div>
  76.                 {% endif %}
  77.                 {% if accCouleur %}
  78.                     <div class="d-flex bx_global_radio">
  79.                         {% for item in accCouleur %}
  80.                             <div class="taille tailleSelect">
  81.                                 <input type="radio" name="couleur" id="couleur{{ item.id }}" value="{{ item.id }}"
  82.                                        {% if papierCourant.cartDetailAccessoire is defined %}
  83.                                            {%  if checkColor(papierCourant.cartDetailAccessoire,item.id ) %}
  84.                                                checked="checked"
  85.                                            {% endif %}
  86.                                        {% endif %}
  87.                                 >
  88.                                 <label for="couleur{{ item.id }}" class="block taille5">{{ item.name | trans({}, "productTranslate") }}</label>
  89.                             </div>
  90.                         {% endfor %}
  91.                     </div>
  92.                 {% endif %}
  93.                 <div class="d-flex bx_global_radio">
  94.                     <div class="taille tailleSelect">
  95.                         <input type="radio" name="rectoverso" id="recto"
  96.                                value="{{ constant('App\\Entity\\ProductAttribute::RECTO') }}" {% if papierCourant.productAttribute.rectoverso == constant('App\\Entity\\ProductAttribute::RECTO') %} checked="checked" {% endif %}>
  97.                         <label for="recto" class="block taille5">{{ 'Recto' | trans({}, "productTranslate") }}</label>
  98.                     </div>
  99.                     <div class="taille tailleSelect">
  100.                         <input type="radio" name="rectoverso" id="rectoverso"
  101.                                value="{{ constant('App\\Entity\\ProductAttribute::VERSO') }}" {% if papierCourant.productAttribute.rectoverso == constant('App\\Entity\\ProductAttribute::VERSO') %} checked="checked" {% endif %}>
  102.                         <label for="rectoverso" class="block taille6">{{ 'Recto & Verso' | trans({}, "productTranslate") }}</label>
  103.                     </div>
  104.                 </div>
  105.                 <div class="d-flex bx_global_radio">
  106.                     <div class="taille tailleSelect">
  107.                         <input type="radio" name="isReluire" id="relie" value="1" {% if papierCourant.isReluire == true %}checked="checked"{% endif %}>
  108.                         <label for="relie" class="block taille5">{{ 'Relié' | trans({}, "productTranslate") }}</label>
  109.                     </div>
  110.                     <div class="taille tailleSelect">
  111.                         <input type="radio" name="isReluire" id="non-relie" value="0" {% if papierCourant.isReluire == false %}checked="checked"{% endif %}>
  112.                         <label for="non-relie" class="block taille6">{{ 'Non relié' | trans({}, "productTranslate") }} </label>
  113.                     </div>
  114.                 </div>
  115.                 {#/ si doc rectoverso et non relie/#}
  116.                 <div class="mt-3 docRectoversoGrandPetitCote " style="{% if papierCourant.petitCote == true or papierCourant.grandCote == true %}{% else %}display: none!important;{% endif %}">
  117.                     <div class="d-flex position-relative bx_global_radio bx1 rounded-0 border-0 mt-0 coteBlock displayNone">
  118.                         <div class="taille petit_cote_img" style="margin-right: 20px;width: 45%!important;">
  119.                             <input type="radio"  class="coteNameDoc" name="coteDoc" id="petitCoteDoc" value="petitCoteDoc" {% if papierCourant.petitCote == true %}checked="checked"{% endif %}>
  120.                             <label for="petitCoteDoc" class=" block taille8" style="height: 65%!important;">{{ 'Petit côté' | trans({}, "productTranslate") }} </label>
  121.                         </div>
  122.                         <div class="taille grand_cote_img" style="width: 45%!important;">
  123.                             <input type="radio"  class="coteNamDoce" name="coteDoc" id="grandCoteDoc" value="grandCoteDoc" {% if papierCourant.grandCote == true %}checked="checked"{% endif %}>
  124.                             <label for="grandCoteDoc" class=" block taille8 border-0 "  style="height: 65%!important;">{{ 'Grand côté' | trans({}, "productTranslate") }} </label>
  125.                         </div>
  126.                     </div>
  127.                 </div>
  128.                 {% if accReluire %}
  129.                     <div class="position-relative">
  130.                     <div class="abs_relie bx_global_radio rounded-0 border-0 mt-0" id="accReluire" style="position: initial; {% if papierCourant.isReluire == false %} display: none {% endif %}">
  131.                        <h4>Types de reliures souhaitée :</h4> {% for item in  accReluire %}
  132.                             {% if item.isDosCarre  == true  %}
  133.                                 {% set isCarreColle = true %}
  134.                             {% else %}
  135.                                 {% set isCarreColle = false %}
  136.                             {% endif %}
  137.                             {% if item.papierCovertureMat  == true or item.papierCovertureBrillant  == true  %}
  138.                                 {% set isPapierCouverture = true %}
  139.                             {% else %}
  140.                                 {% set isPapierCouverture = false %}
  141.                             {% endif %}
  142.                             {% if item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_TERMO') %}
  143.                                 {% set classReluireVer = 'ver_termo'  %}
  144.                                 {% set classReluireHorz = 'horz_termo'  %}
  145.                             {% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_PLASTIQUE') %}
  146.                                 {% set classReluireVer = 'ver_plastique'  %}
  147.                                 {% set classReluireHorz = 'horz_plastique'  %}
  148.                             {% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_METALIQUE') %}
  149.                                 {% set classReluireVer = 'ver_metalique'  %}
  150.                                 {% set classReluireHorz = 'horz_metalique'  %}
  151.                             {% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_GRAF') %}
  152.                                 {% set classReluireVer = 'ver_graf'  %}
  153.                                 {% set classReluireHorz = 'horz_graf'  %}
  154.                             {% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_POINT_METAL') %}
  155.                                 {% set classReluireVer = 'ver_point_metal'  %}
  156.                                 {% set classReluireHorz = 'horz_point_metal'  %}
  157.                             {% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_DOS_PIQUEE') %}
  158.                                 {% set classReluireVer = 'ver_point_metal'  %}
  159.                                 {% set classReluireHorz = 'horz_point_metal'  %}
  160.                              {% else %}
  161.                                 {% set classReluireVer = ''  %}
  162.                                 {% set classReluireHorz = ''  %}
  163.                              {% endif %}
  164.                                 {#<div class="taille border-bottom border-dark" {% if isCarreColle %}data-toggle="tooltip" data-original-title="Généralement utilisé pour les catalogues et les livrets"{% endif %}>#}
  165.                                 <div class="taille border-bottom border-dark" {% if isCarreColle %}data-toggle="tooltip" data-original-title=""{% endif %}>
  166.                                 <input type="radio" name="reluire" id="reluire{{ item.id }}" data-type-reluire="{{ item.typeReluire }}" class="reluireName" data-carre-colle="{% if isCarreColle %}1{% else %}0{% endif %}"
  167.                                        value="{{ item.id }}"
  168.                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id ==  item.id %}
  169.                                              checked="checked"
  170.                                         {% endif %}>
  171.                                 <label data-original-title=""  for="reluire{{ item.id }}" class="block taille7">
  172.                                     {{ item.name | trans({}, "productTranslate") }}
  173.                                     <span class="textAccQuoi textAccQuoiColorGris" style=""><a style="text-decoration: none;" href="/{{ item.pathPage }}" target="_blank"> {{ "c\'est quoi ?" | trans({}, "productTranslate") }}</a></span>
  174.                                     {% if isCarreColle %}<span style="font-size: 11px;">({{ 'Livrets, livres & catalogues' | trans({}, "productTranslate") }})</span> {% endif %}
  175.                                     <span style="clear: both;"></span>
  176.                                 </label>
  177.                             </div>
  178.                              {#option reluire #}
  179.                             {% set displayColorR = false %}
  180.                             <div class="reluire{{ item.id }} reluireBlock displayNone" style="
  181.                             {% if papierCourant.isReluire and getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote)  %}
  182.                                 {% set displayColorD = true %}
  183.                             {% else %}
  184.                                     display: none
  185.                             {% endif %}
  186.                                     ">
  187.                                 {% if item.imageReluire2 %}
  188.                                     <div>
  189.                                         <a href="{{ asset('/imageSite/'~item.imageReluire2) }}" data-lightbox="image" data-title=""><img style="    width: 100%; padding: 15px;text-align: center; max-height: 180px;" src="{{ asset('/imageSite/'~item.imageReluire2) }}" ></a>
  190.                                     </div>
  191.                                 {% endif %}
  192.                                 {% if item.petitCote  == true or item.grandCote  == true  %}
  193.                                     {% if isPapierCouverture  == true  %}
  194.                                         <div class="d-flex position-relative bx_global_radio bx1 rounded-0 border-0 mt-0 coteBlock displayNone"
  195.                                              style="display: none">
  196.                                             {#<div class="taille {{ classReluireHorz }} {% if isCarreColle  == true  %}horz1{% endif %}">#}
  197.                                                 {#<input type="radio"  data-carre-colle="{% if isCarreColle == true %}1{% else %}0{% endif %}" class="coteName" name="cote" id="petitCote{{ item.id }}" value="petitCote" {% if item.petitCote == false %} disabled {% endif %}#}
  198.                                                         {#{% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).petitCote  %}#}
  199.                                                             {#checked="checked"#}
  200.                                                         {#{% endif %}#}
  201.                                                 {#>#}
  202.                                                 {#<label for="petitCote{{ item.id }}" {% if item.petitCote  == false %} disabled {% endif %}class=" block taille8">Petit côté </label>#}
  203.                                             {#</div>#}
  204.                                             <div style="width: 100%;" class="taille {{ classReluireVer }} {% if isCarreColle  == true  %}ver1{% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_POINT_METAL') %}ver3{% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_DOS_PIQUEE') %}ver5{% else %}{% endif %}">
  205.                                                 <input type="radio"
  206.                                                        data-carre-colle="{% if isCarreColle == true %}1{% else %}{% if item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_POINT_METAL') %}2{% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_DOS_PIQUEE') %}3{% else %}0{% endif %}{% endif %}" class="coteName" name="cote" id="grandCote{{ item.id }}" value="grandCote" {% if item.grandCote == false %} disabled {% endif %}
  207.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).grandCote  %}
  208.                                                             checked="checked"
  209.                                                         {% endif %}
  210.                                                 >
  211.                                                 <label style="width: 100%;" for="grandCote{{ item.id }}" {% if item.grandCote  == false %} disabled {% endif %}
  212.                                                        class=" block taille8 border-0">{{ 'Grand côté' | trans({}, "productTranslate") }} </label>
  213.                                             </div>
  214.                                         </div>
  215.                                     {% else %}
  216.                                         <div class="d-flex position-relative bx_global_radio bx1 rounded-0 border-0 mt-0 coteBlock displayNone"
  217.                                              style="display: none">
  218.                                             <div class="taille {{ classReluireHorz }} {% if isCarreColle  == true  %}horz1{% endif %}">
  219.                                                 <input type="radio"  data-carre-colle="{% if isCarreColle == true %}1{% else %}0{% endif %}" class="coteName" name="cote" id="petitCote{{ item.id }}" value="petitCote" {% if item.petitCote == false %} disabled {% endif %}
  220.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).petitCote  %}
  221.                                                             checked="checked"
  222.                                                         {% endif %}
  223.                                                 >
  224.                                                 <label for="petitCote{{ item.id }}" {% if item.petitCote  == false %} disabled {% endif %}class=" block taille8">{{ 'Petit côté' | trans({}, "productTranslate") }} </label>
  225.                                             </div>
  226.                                             <div class="taille {{ classReluireVer }} {% if isCarreColle  == true  %}ver1{% endif %}">
  227.                                                 <input type="radio" data-carre-colle="{% if isCarreColle == true %}1{% else %}0{% endif %}" class="coteName" name="cote" id="grandCote{{ item.id }}" value="grandCote" {% if item.grandCote == false %} disabled {% endif %}
  228.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).grandCote  %}
  229.                                                             checked="checked"
  230.                                                         {% endif %}
  231.                                                 >
  232.                                                 <label for="grandCote{{ item.id }}" {% if item.grandCote  == false %} disabled {% endif %}
  233.                                                        class=" block taille8 border-0">{{ 'Grand côté' | trans({}, "productTranslate") }} </label>
  234.                                             </div>
  235.                                         </div>
  236.                                     {% endif %}
  237.                                 {% endif %}
  238.                                 {% if isPapierCouverture  == true  %}
  239.                                     {% if item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_POINT_METAL') or item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_DOS_PIQUEE') %}
  240.                                         <div class="taille border-bottom border-top border-dark couverturePapierBlock"  style="
  241.                                                 width: 100%!important;text-align: center;
  242.                                             {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) %}
  243.                                             {% else %}
  244.                                                     display: none
  245.                                             {% endif %}
  246.                                             ">
  247.                                             <h4 style="margin: 15px 0;margin-bottom: 15px;display: block;text-align: center;color: #969696;">{{ 'Papier de couverture' | trans({}, "productTranslate") }}</h4>
  248.                                         </div>
  249.                                         <div class="
  250.                                              {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) %}
  251.                                                      d-flex
  252.                                              {% endif %}
  253.                                          position-relative bx_global_radio bx1 rounded-0 border-0 mt-0 couverturePapierBlock displayNone"
  254.                                              style="
  255.                                              {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) %}
  256.                                              {% else %}
  257.                                                      display: none
  258.                                              {% endif %}
  259.                                              ">
  260.                                             <div {% if item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_POINT_METAL') %}id="papierCoverture3" class="taille  horz4" {% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_DOS_PIQUEE') %}id="papierCoverture5" class="taille  horz6" {% endif %}>
  261.                                                 <input type="radio" class="papierCovertureName" name="papierCoverture" id="papierCovertureMat{{ item.id }}" value="papierCovertureMat" {% if item.papierCovertureMat == false %} disabled {% endif %}
  262.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).papierCovertureMat  %}
  263.                                                             checked="checked"
  264.                                                         {% endif %}
  265.                                                 >
  266.                                                 <label style="font-size: 13px;text-align: center;padding-top: 84px!important;" for="papierCovertureMat{{ item.id }}" {% if item.petitCote  == false %} disabled {% endif %}class=" block taille8">{{ 'Papier Mat 160g' | trans({}, "productTranslate") }}</label>
  267.                                             </div>
  268.                                             <div {% if item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_POINT_METAL') %} id="papierCoverture4" class="taille ver4"{% elseif item.typeReluire  == constant('App\\Entity\\Accessoire::TYPE_RELUIRE_DOS_PIQUEE') %} id="papierCoverture6" class="taille ver6"{% endif %} >
  269.                                                 <input type="radio" class="papierCovertureName" name="papierCoverture" id="papierCovertureBrillant{{ item.id }}" value="papierCovertureBrillant" {% if item.papierCovertureBrillant == false %} disabled {% endif %}
  270.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).papierCovertureBrillant  %}
  271.                                                             checked="checked"
  272.                                                         {% endif %}
  273.                                                 >
  274.                                                 <label style="font-size: 13px;min-width: 100px;text-align: center;padding-top: 84px!important;" for="papierCovertureBrillant{{ item.id }}" {% if item.papierCovertureBrillant  == false %} disabled {% endif %}
  275.                                                        class=" block taille8 border-0">{{ 'Papier Brillant 160g' | trans({}, "productTranslate") }} </label>
  276.                                             </div>
  277.                                         </div>
  278.                                     {% else %}
  279.                                         <div class="taille border-bottom border-top border-dark couverturePapierBlock" data-toggle="tooltip" data-original-title="Par défaut, la première et dernière page de votre PDF seront imprimées sur du papier 300g semi souple" style="
  280.                                                 width: 100%!important;text-align: center;
  281.                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) %}
  282.                                         {% else %}
  283.                                                 display: none
  284.                                         {% endif %}
  285.                                                 ">
  286.                                             {#<div class="titreCouvertureOption block taille7">Papier de couverture</div>#}
  287.                                             <h4 style="margin: 15px 0;margin-bottom: 15px;display: block;text-align: center;color: #969696;">Papier de couverture</h4>
  288.                                         </div>
  289.                                         <div class="
  290.                                          {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) %}
  291.                                                  d-flex
  292.                                          {% endif %}
  293.                                      position-relative bx_global_radio bx1 rounded-0 border-0 mt-0 couverturePapierBlock displayNone"
  294.                                              style="
  295.                                              {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) %}
  296.                                              {% else %}
  297.                                                      display: none
  298.                                              {% endif %}
  299.                                                      ">
  300.                                             <div id="papierCoverture1" class="taille  horz2">
  301.                                                 <input type="radio" class="papierCovertureName" name="papierCoverture" id="papierCovertureMat{{ item.id }}" value="papierCovertureMat" {% if item.papierCovertureMat == false %} disabled {% endif %}
  302.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).papierCovertureMat  %}
  303.                                                             checked="checked"
  304.                                                         {% endif %}
  305.                                                 >
  306.                                                 <label style="font-size: 13px;text-align: center;padding-top: 84px!important;" for="papierCovertureMat{{ item.id }}" {% if item.petitCote  == false %} disabled {% endif %}class=" block taille8">{{ 'Papier 300G Mat' | trans({}, "productTranslate") }}</label>
  307.                                             </div>
  308.                                             <div id="papierCoverture2" class="taille ver2">
  309.                                                 <input type="radio" class="papierCovertureName" name="papierCoverture" id="papierCovertureBrillant{{ item.id }}" value="papierCovertureBrillant" {% if item.papierCovertureBrillant == false %} disabled {% endif %}
  310.                                                         {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and   getAccessoireReluire(papierCourant.id).papierCovertureBrillant  %}
  311.                                                             checked="checked"
  312.                                                         {% endif %}
  313.                                                 >
  314.                                                 <label style="font-size: 13px;min-width: 100px;text-align: center;padding-top: 84px!important;" for="papierCovertureBrillant{{ item.id }}" {% if item.papierCovertureBrillant  == false %} disabled {% endif %}
  315.                                                        class=" block taille8 border-0">{{ 'Papier 300G brillant' | trans({}, "productTranslate") }} </label>
  316.                                             </div>
  317.                                         </div>
  318.                                     {% endif %}
  319.                                 {% endif %}
  320.                                 {% if getValByJson(item.couleurDos)|length > 0 %}
  321.                                 <div class="bx_global_radio reluireColorD color_box border-bottom border-dark rounded-0 mt-0 colorDosBlock displayNone"
  322.                                      style="
  323.                                      {% if isPapierCouverture  == true  %}
  324.                                           {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and (getAccessoireReluire(papierCourant.id).papierCovertureBrillant or getAccessoireReluire(papierCourant.id).papierCovertureMat)  %}
  325.                                          {% else %}
  326.                                                  display: none;
  327.                                          {% endif %}
  328.                                      {% else %}
  329.                                          {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote)  %}
  330.                                          {% else %}
  331.                                                  display: none;
  332.                                          {% endif %}
  333.                                      {% endif %}
  334.                                              ">
  335.                                     <h4>{{ 'Couleur dos cartonné' | trans({}, "productTranslate") }}</h4>
  336.                                     <div class="d-flex pl-3 pr-3 justify-content-center">
  337.                                         {% if getValByJson(item.couleurDos,'colorBlackDos') %}
  338.                                             <div class="taille noir">
  339.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="noir_{{ item.id }}"
  340.                                                         {% if displayColorD(papierCourant.id,item.id,'colorBlackDos') %}
  341.                                                             checked="checked"
  342.                                                             {% set displayColorR = true %}
  343.                                                         {% endif %}
  344.                                                        value="colorBlackDos">
  345.                                                 <label for="noir_{{ item.id }}" class=" block taille9" title="noir">{{ 'Noir' | trans({}, "productTranslate") }}</label>
  346.                                             </div>
  347.                                         {% endif %}
  348.                                         {% if getValByJson(item.couleurDos,'colorBlancDos') %}
  349.                                             <div class="taille blanc">
  350.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="blanc_{{ item.id }}"
  351.                                                         {% if displayColorD(papierCourant.id,item.id,'colorBlancDos') %}
  352.                                                             checked="checked"
  353.                                                             {% set displayColorR = true %}
  354.                                                         {% endif %}
  355.                                                        value="colorBlancDos">
  356.                                                 <label for="blanc_{{ item.id }}" class=" block taille9" title="{{ 'blanc' | trans({}, "productTranslate") }}">{{ 'blanc' | trans({}, "productTranslate") }}</label>
  357.                                             </div>
  358.                                         {% endif %}
  359.                                         {% if getValByJson(item.couleurDos,'colorBlueDos') %}
  360.                                             <div class="taille bleu">
  361.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="bleu_{{ item.id }}"
  362.                                                         {% if displayColorD(papierCourant.id,item.id,'colorBlueDos') %}
  363.                                                             checked="checked"
  364.                                                             {% set displayColorR = true %}
  365.                                                         {% endif %}
  366.                                                        value="colorBlueDos">
  367.                                                 <label for="bleu_{{ item.id }}" class=" block taille9" title="{{ 'Bleu' | trans({}, "productTranslate") }}">{{ 'Bleu' | trans({}, "productTranslate") }}</label>
  368.                                             </div>
  369.                                         {% endif %}
  370.                                         {% if getValByJson(item.couleurDos,'colorGreenDos') %}
  371.                                             <div class="taille vert">
  372.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="vert_{{ item.id }}"
  373.                                                         {% if displayColorD(papierCourant.id,item.id,'colorGreenDos') %}
  374.                                                             checked="checked"
  375.                                                             {% set displayColorR = true %}
  376.                                                         {% endif %}
  377.                                                        value="colorGreenDos">
  378.                                                 <label for="vert_{{ item.id }}" class=" block taille9" title="{{ 'Vert' | trans({}, "productTranslate") }}">{{ 'Vert' | trans({}, "productTranslate") }}</label>
  379.                                             </div>
  380.                                         {% endif %}
  381.                                         {% if getValByJson(item.couleurDos,'colorRedDos') %}
  382.                                             <div class="taille rouge">
  383.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="rouge_{{ item.id }}"
  384.                                                         {% if displayColorD(papierCourant.id,item.id,'colorRedDos') %}
  385.                                                             checked="checked"
  386.                                                             {% set displayColorR = true %}
  387.                                                         {% endif %}
  388.                                                        value="colorRedDos">
  389.                                                 <label for="rouge_{{ item.id }}" class=" block taille9" title="{{ 'Rouge' | trans({}, "productTranslate") }}">{{ 'Rouge' | trans({}, "productTranslate") }}</label>
  390.                                             </div>
  391.                                         {% endif %}
  392.                                         {% if getValByJson(item.couleurDos,'colorYellowDos') %}
  393.                                             <div class="taille jaune">
  394.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="jaune_{{ item.id }}"
  395.                                                         {% if displayColorD(papierCourant.id,item.id,'colorYellowDos') %}
  396.                                                             checked="checked"
  397.                                                             {% set displayColorR = true %}
  398.                                                         {% endif %}
  399.                                                        value="colorYellowDos">
  400.                                                 <label for="jaune_{{ item.id }}" class=" block taille9" title="{{ 'Jaune' | trans({}, "productTranslate") }}">{{ 'Jaune' | trans({}, "productTranslate") }}</label>
  401.                                             </div>
  402.                                         {% endif %}
  403.                                         {% if getValByJson(item.couleurDos,'colorTransDos') %}
  404.                                             <div class="taille transparent">
  405.                                                 <input type="radio" name="couleurDos" class="couleurDos colorBox" id="trans_{{ item.id }}"
  406.                                                         {% if displayColorD(papierCourant.id,item.id,'colorTransDos') %}
  407.                                                             checked="checked"
  408.                                                             {% set displayColorR = true %}
  409.                                                         {% endif %}
  410.                                                        value="colorTransDos">
  411.                                                 <label for="trans_{{ item.id }}" class=" block taille9"
  412.                                                        title="{{ 'Transparent' | trans({}, "productTranslate") }}">{{ 'Transparent' | trans({}, "productTranslate") }}</label>
  413.                                             </div>
  414.                                         {% endif %}
  415.                                     </div>
  416.                                 </div>
  417.                                 {% endif %}
  418.                                 {% if getValByJson(item.couleur)|length > 0 %}
  419.                                 <div class="bx_global_radio reluireColorR color_box  rounded-0 border-bottom border-dark border-top-0 mt-0 colorBlock displayNone"
  420.                                      style="
  421.                                      {% if isCarreColle  == true  %}
  422.                                            {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and displayColorR  and (getAccessoireReluire(papierCourant.id).papierCovertureBrillant or getAccessoireReluire(papierCourant.id).papierCovertureMat) %}
  423.                                          {% else %}
  424.                                                  display: none;
  425.                                          {% endif %}
  426.                                      {% else %}
  427.                                          {% if getAccessoireReluire(papierCourant.id) and  getAccessoireReluire(papierCourant.id).accessoire.id == item.id  and  (getAccessoireReluire(papierCourant.id).grandCote or getAccessoireReluire(papierCourant.id).petitCote) and displayColorR  %}
  428.                                          {% else %}
  429.                                                  display: none;
  430.                                          {% endif %}
  431.                                      {% endif %}
  432.                                              ">
  433.                                     <h4>{{ 'Couleur' | trans({}, "productTranslate") }} {{ item.name | trans({}, "productTranslate") }}</h4>
  434.                                     <div class="d-flex pl-3 pr-3 justify-content-center">
  435.                                             {% if getValByJson(item.couleur,'colorBlackR') %}
  436.                                                 <div class="taille noir">
  437.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="noir_select_{{ item.id }}"
  438.                                                             {% if displayColorR(papierCourant.id,item.id,'colorBlackR') %}
  439.                                                                 checked="checked"
  440.                                                             {% endif %}
  441.                                                            value="colorBlackR">
  442.                                                     <label for="noir_select_{{ item.id }}" class=" block taille9"
  443.                                                            title="{{ 'Noir' | trans({}, "productTranslate") }}">{{ 'Noir' | trans({}, "productTranslate") }}</label>
  444.                                                 </div>
  445.                                             {% endif %}
  446.                                             {% if getValByJson(item.couleur,'colorBlancR') %}
  447.                                                 <div class="taille blanc">
  448.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="blanc_select_{{ item.id }}"
  449.                                                             {% if displayColorR(papierCourant.id,item.id,'colorBlancR') %}
  450.                                                                 checked="checked"
  451.                                                             {% endif %}
  452.                                                            value="colorBlancR">
  453.                                                     <label for="blanc_select_{{ item.id }}" class=" block taille9"
  454.                                                            title="{{ 'blanc' | trans({}, "productTranslate") }}">{{ 'blanc' | trans({}, "productTranslate") }}</label>
  455.                                                 </div>
  456.                                             {% endif %}
  457.                                             {% if getValByJson(item.couleur,'colorBlueR') %}
  458.                                                 <div class="taille bleu">
  459.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="bleu_select_{{ item.id }}"
  460.                                                             {% if displayColorR(papierCourant.id,item.id,'colorBlueR') %}
  461.                                                                 checked="checked"
  462.                                                             {% endif %}
  463.                                                            value="colorBlueR">
  464.                                                     <label for="bleu_select_{{ item.id }}" class=" block taille9"
  465.                                                            title="{{ 'Bleu' | trans({}, "productTranslate") }}">{{ 'Bleu' | trans({}, "productTranslate") }}</label>
  466.                                                 </div>
  467.                                             {% endif %}
  468.                                             {% if getValByJson(item.couleur,'colorGreenR') %}
  469.                                                 <div class="taille vert">
  470.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="vert_select_{{ item.id }}"
  471.                                                             {% if displayColorR(papierCourant.id,item.id,'colorGreenR') %}
  472.                                                                 checked="checked"
  473.                                                             {% endif %}
  474.                                                            value="colorGreenR">
  475.                                                     <label for="vert_select_{{ item.id }}" class=" block taille9"
  476.                                                            title="{{ 'Vert' | trans({}, "productTranslate") }}">{{ 'Vert' | trans({}, "productTranslate") }}</label>
  477.                                                 </div>
  478.                                             {% endif %}
  479.                                             {% if getValByJson(item.couleur,'colorRedR') %}
  480.                                                 <div class="taille rouge">
  481.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="rouge_select_{{ item.id }}"
  482.                                                             {% if displayColorR(papierCourant.id,item.id,'colorRedR') %}
  483.                                                                 checked="checked"
  484.                                                             {% endif %}
  485.                                                            value="colorRedR">
  486.                                                     <label for="rouge_select_{{ item.id }}" class=" block taille9"
  487.                                                            title="{{ 'Rouge' | trans({}, "productTranslate") }}">{{ 'Rouge' | trans({}, "productTranslate") }}</label>
  488.                                                 </div>
  489.                                             {% endif %}
  490.                                             {% if getValByJson(item.couleur,'colorYellowR') %}
  491.                                                 <div class="taille jaune">
  492.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="jaune_select_{{ item.id }}"
  493.                                                             {% if displayColorR(papierCourant.id,item.id,'colorYellowR') %}
  494.                                                                 checked="checked"
  495.                                                             {% endif %}
  496.                                                            value="colorYellowR">
  497.                                                     <label for="jaune_select_{{ item.id }}" class=" block taille9"
  498.                                                            title="{{ 'Jaune' | trans({}, "productTranslate") }}">{{ 'Jaune' | trans({}, "productTranslate") }}</label>
  499.                                                 </div>
  500.                                             {% endif %}
  501.                                             {% if getValByJson(item.couleur,'colorTransR') %}
  502.                                                 <div class="taille transparent">
  503.                                                     <input type="radio" name="couleurR" class="couleurR colorBox" id="trans_select_{{ item.id }}"
  504.                                                             {% if displayColorR(papierCourant.id,item.id,'colorTransR') %}
  505.                                                                 checked="checked"
  506.                                                             {% endif %}
  507.                                                            value="colorTransR">
  508.                                                     <label for="trans_select_{{ item.id }}" class=" block taille9"
  509.                                                            title="{{ 'Transparent' | trans({}, "productTranslate") }}">{{ 'Transparent' | trans({}, "productTranslate") }}</label>
  510.                                                 </div>
  511.                                             {% endif %}
  512.                                         </div>
  513.                                 </div>
  514.                                 {% endif %}
  515.                             </div>
  516.                         {% endfor %}
  517.                     </div>
  518.                     </div>
  519.                 {% endif %}
  520.                 <div>
  521.                     {#<div class="bx_select">#}
  522.                         {#<div class=" page_check ">#}
  523.                             {#<label class="labelMarge" > Imprimer sans marges  <i data-toggle="tooltip" style="cursor: pointer" data-placement="bottom" data-title="Un bord perdu de 3 mm sera appliqué autour de votre document." class="fa fa-info-circle fa-lg" aria-hidden="true"></i></label>#}
  524.                             {#<input type="checkbox" name="marge" id="marge" class="inputMarge" {% if papierCourant.imprimSansMarge %} checked="checked" {% endif %}>#}
  525.                         {#</div>#}
  526.                     {#</div>#}
  527.                     <div class="bx_select text-center">
  528.                         <label for="papier" class="labelFormatPapier">{{ 'Papier' | trans({}, "productTranslate") }}</label>
  529.                         <div class="d-flex">
  530.                             <div class="f_family" id="gramgeSelect" style="width: 100%!important;">
  531.                                 {% include 'front/liseuse-papier/gramage.html.twig' %}
  532.                             </div>
  533.                         </div>
  534.                     </div>
  535.                     <div class="bx_select" style="margin-bottom: 15px;">
  536.                         <label for="exemplaire" class="labelFormatExemplaire">{{ 'Exemplaire(s)' | trans({}, "productTranslate") }}</label>
  537.                         {#<div class="number">#}
  538.                             {#<span class="minus" style="cursor: pointer;font-size: 20px;">-</span>#}
  539.                             {#<input type="text" value="{{ papierCourant.nbrPapier }}" name="nbrCopie">#}
  540.                             {#<span class="plus" style="cursor: pointer;font-size: 20px;">+</span>#}
  541.                         {#</div>#}
  542.                         <div class="d-flex">
  543.                             <div class="f_family numbr_lis_option" id="exemplaireSelect" style="    width: 95% !important;">
  544.                                 <a style=" width: 100%!important;" class="btn btn-primary collapsed" data-toggle="collapse" href="#collapsePapierexemplaire" role="button" aria-expanded="true" aria-controls="collapsePapierexemplaire" id="papierExemplaire">
  545.                                     {% if papierCourant.nbrPapier %}{{ papierCourant.nbrPapier }}{% else %}Nombre d’exemplaires{% endif %}
  546.                                 </a>
  547.                                 <input type="hidden" name="nbrCopie" value="{{ papierCourant.nbrPapier }}" id="nbrCopie">
  548.                                 <div class="collapse" id="collapsePapierexemplaire">
  549.                                     {% for item in 1..9 %}
  550.                                         <span class="exemplaireSelector fontFamily font-click{% if papierCourant.nbrPapier == item %} active {% endif %}"  data-name="{{ item }}" data-value="{{ item }}" data-value-css="exemplaire_click">{{ item }}</span>
  551.                                     {% endfor %}
  552.                                     <span class="exemplaireSelector10Plus exemplaireSelector fontFamily font-click{% if papierCourant.nbrPapier > 9 %} active {% endif %}"  data-value-css="exemplaire_click">10 +</span>
  553.                                 </div>
  554.                             </div>
  555.                         </div>
  556.                     </div>
  557.                 </div>
  558.                 <div class="bx_select mt-0 mb-3">
  559.                     <a href="https://airtable.com/appGsxeAfcCr2kzZa/shrpJFziCBqalzRDi" target="_blank" id="btnExemplairePlus50" >{{ 'Demander un devis pour 50+' | trans({}, "productTranslate") }}</a>
  560.                 </div>
  561.                 <div class="bx_select mt-2 mb-2 btnReluireBlock" {% if getAccessoireReluire(papierCourant.id) %} {% else %}style="display: none"{% endif %}>
  562.                     <a href="#" id="btnReluireExemple" data-token="{{ papierCourant.token }}">{{ 'À quoi ressemblera' | trans({}, "productTranslate") }} <span id="nomDoc"> {{ 'ma brochuire' | trans({}, "productTranslate") }}</span> ?</a>
  563.                 </div>
  564.                 <div class="bx_select mt-4 mb-4">
  565.                     <div class="imprimeur_commentaire_btn">
  566.                         <a style="padding-left: 0px;padding-right: 0;background-image:none;display: block;width: 95%;" href="#" id="imprimeur_commentaire_btn" >{{ 'Ajouter un commentaire' | trans({}, "productTranslate") }}</a>
  567.                     </div>
  568.                     <div class="imprimeur_commentaire"  style="max-width: 100%;margin-right: 20px;display: none">
  569.                         <textarea name="commentaire" class="imprimeur_commentaire_input" id="commentaireLiseuse" placeholder="Ajouter un commentaire à l’imprimeur  ?">{{ papierCourant.commentaire }}</textarea>
  570.                     </div>
  571.                 </div>
  572.                 <div class="col-12 p-md-0 mt-4 mb-4 form-check_link_lf_lis">
  573.                         <div class="form-check pl-0">
  574.                             <label class="container" id="decoupeLabel">
  575.                                 {{ 'Découpe du document' | trans({}, "productTranslate") }} + 1,99 € <span  data-toggle="tooltip" style="cursor: pointer" data-placement="bottom" data-title="{{ 'Votre document sera imprimé tel que vous le voyez sur la liseuse. En sélectionnant l’option de découpe, votre fichier devra comporter un fond perdu et des marges de sécurité entre 5 et 8mm' | trans({}, "productTranslate") }}" ><img style="width: 14px;margin-left: 3px;" src="{{ asset('/images/information.png') }}"></span>
  576.                                 <input type="checkbox" name="isDecoupeDoc" id="isDecoupeDoc" class="inputMarge" {% if papierCourant.isDecoupeDoc %} checked="checked" {% endif %}>
  577.                                 <span class="checkmark"></span>
  578.                             </label>
  579.                         </div>
  580.                 </div>
  581.             </form>
  582.         {% endif %}
  583.         {% if papierCourant %}
  584.             {#<h3 class="text-center titreMenuPdfLiseuse titretop100pdf">Notre Top 100 des livres et documents <br> essentiels à imprimer#}
  585.                 {#<span class="livicon-evo" data-options="#}
  586.                             {#name: label-new.svg;#}
  587.                             {#style: lines;#}
  588.                             {#size: 30px;#}
  589.                             {#strokeColor: #000000;#}
  590.                             {#strokeColorAction: #000;#}
  591.                             {#repeat:loop;#}
  592.                             {#colorsOnHover: custom#}
  593.                         {#"></span>#}
  594.             {#</h3>#}
  595.             {#<div class="box_header1 box_headerLiseuse boxtop100pdf">#}
  596.                 {#<div class=" bx_global_radio  input-group md-form form-sm form-2 bloc-liseuse-doc">#}
  597.                     {#<input class="form-control input_search_top_pdf_liseuse" id="inputPdf" placeholder="Quels documents ou livres recherchez-vous aujourd’hui?"  type="text" >#}
  598.                     {#<div class="input-group-append " id="searchBtn">#}
  599.                         {#<button id="buttonSearchLiv" class="buttonSearchDoc" disabled="disabled"><span class="search_top" id="spanSearchBtn"></span></button>#}
  600.                     {#</div>#}
  601.                 {#</div>#}
  602.                 {#<div>#}
  603.                     {#<h4>De quel type de documents avez vous besoin ?</h4>#}
  604.                     {#<div class="d-flex bx_global_radio taille_full bottom_lis_doc">#}
  605.                         {#{% for category in categories %}#}
  606.                             {#<div class="taille">#}
  607.                                 {#<input type="radio" name="categoryPdf" id="categoryId{{ category.id }}" value="{{ category.id }}" >#}
  608.                                 {#<label for="categoryId{{ category.id }}" class="block taille">{{ category.titre }}</label>#}
  609.                             {#</div>#}
  610.                         {#{% endfor %}#}
  611.                     {#</div>#}
  612.                 {#</div>#}
  613.                 {#<div class="bx_global_radio_result_pdf">#}
  614.                     {#<input type="hidden" value="0" id="offset">#}
  615.                     {#<div class="row" id="blocTopProduct" style="width: 100%;">#}
  616.                         {#<div class=" row blocTopProductwithoutPagination  mb-3" style="width: 100%;"></div>#}
  617.                     {#</div>#}
  618.                     {#<span id="endPdf"></span>#}
  619.                 {#</div>#}
  620.             {#</div>#}
  621.         {% endif %}
  622.         <div class="global_right">
  623.             <div class=" mb-4">
  624.                 <div class="mr-3"><a href="#" id="addFichierLiseuseBtnSecond" class="addFichierLiseuse">{{ '+ Ajouter un ou plusieurs autres fichiers' | trans({}, "productTranslate") }}</a></div>
  625.                 {#<div class="mt-1"><a class="newFichierLiseuse">Nouveau</a></div>#}
  626.             </div>
  627.         </div>
  628.         {% if displayBtnDuplicate %}
  629.             <div class="col-12 p-md-0 mt-5 form-check_link_lf_lis">
  630.                 {% if checkIsduplicatePerference %}
  631.                     <p >{{ 'Voulez-vous appliquer ces options de paramétrage à tous vos documents ?' | trans({}, "productTranslate") }}</p>
  632.                     <p id="appAllPreferenceQ" style="background-image: none;"></p>
  633.                     <div class="form-check" style="margin-bottom: 100px;">
  634.                         <label class="container">
  635.                             {{ 'Appliquer à tous les documents' | trans({}, "productTranslate") }}
  636.                             <input type="checkbox" id="appAllPreference" {% if papierCourant.cart and  papierCourant.cart.appliqueParam %}checked="checked"{% endif %} data-token="{{ papierCourant.token }}">
  637.                             <span class="checkmark"></span>
  638.                         </label>
  639.                     </div>
  640.                 {% else %}
  641.                     <p id="appAllPreferenceQ">{{ "Vos documents uploadés ne peuvent avoir l\'option des mêmes paramétrages de reliure" | trans({}, "productTranslate") }}</p>
  642.                 {% endif %}
  643.             </div>
  644.         {% endif %}
  645.     </div>
  646. </div>
  647. <!-- Modal  upload -->
  648. {% if abonnementPro %}
  649.     {% if  checkIsComptableAboPro(app.user) %}
  650.         <div class="modal fade " id="addFichierLiseuseProduct" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
  651.             <div class="modal-dialog modal-lg" style="margin-top: 3vw;">
  652.                 <div class="modal-content modalProduct">
  653.                     <div class="modal-header">
  654.                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  655.                             <span aria-hidden="true">×</span>
  656.                         </button>
  657.                     </div>
  658.                     <div class="modal-body">
  659.                         <div class="alert alert-warning part_mon_compte fade show p-2" role="alert">
  660.                             <strong>{{ "Oups!" | trans({}, "productTranslate")|raw }}</strong> {{ "vous n\'êtes pas autorisé à imprimer" | trans({}, "productTranslate") }}
  661.                             <button type="button" class="close" data-dismiss="alert" aria-label="Close">
  662.                                 <span aria-hidden="true"></span>
  663.                             </button>
  664.                         </div>
  665.                     </div>
  666.                 </div>
  667.             </div>
  668.         </div>
  669.     {% else %}
  670.         <div class="modal_type_model1 modal fade" id="addFichierLiseuseProduct" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  671.             <div class="modal-dialog modal-lg" role="document" style="margin-top: 1vw;">
  672.                 <div class="modal-content">
  673.                     <div class="modal-header">
  674.                         <h2 class="modal-title" id="exampleModalLabel">Ajouter vos documents</h2>
  675.                         <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  676.                             <span aria-hidden="true">&times;</span>
  677.                         </button>
  678.                     </div>
  679.                     <div class="modal-body">
  680.                         <div class="row modal_model1">
  681.                             <div class="col-md-6">
  682.                                 <div class="glob_modal_model1 pb-0" style="height: 100%;display: flex;flex-direction: column;flex-wrap: wrap;">
  683.                                     <img style="width: fit-content;margin-left: auto;margin-right: auto;" src="{{ asset('images/modal_img1.png') }}">
  684.                                     <h4>{{ 'Depuis votre navigateur internet' | trans({}, "productTranslate") }}</h4>
  685.                                     <div id="fileuploaderLiseuse1"></div>
  686.                                     <input type="hidden" id="product_imprission_id" value="{% if productPapier.id is defined %}{{ productPapier.id }}{% endif %}">
  687.                                     <div class="link_modal_model1 mt-auto"> <a href="#" id="uploadPdfPageLiseuse" style="margin-bottom: 16px;">{{ 'Importer mes fichiers' | trans({}, "productTranslate") }}</a> </div>
  688.                                 </div>
  689.                             </div>
  690.                             <div class="col-md-6">
  691.                                 <div class="glob_modal_model1"  style="height: 100%;display: flex;flex-direction: column;flex-wrap: wrap;">
  692.                                     <img style="width: fit-content;margin-left: auto;margin-right: auto;" src="{{ asset('images/modal_img2.png') }}">
  693.                                     <h4>{{ 'Depuis votre espace abonné' | trans({}, "productTranslate") }}</h4>
  694.                                     <h5 style="margin-bottom:0px;">{{ 'Livraison le jour même sur créneau de 30 mn dans plus de 10 villes ou sous 48H maximum dans le reste de la France.' | trans({}, "productTranslate") }}</h5>
  695.                                     <h5 style="margin-bottom:0px;">{{ 'Plus de 100 combinaisons de reliures' | trans({}, "productTranslate") }}</h5>
  696.                                     <h5 style="margin-bottom:0px;">{{ 'Vous pouvez importer jusqu’a 30 fichiers' | trans({}, "productTranslate") }}</h5>
  697.                                     <h5 style="margin-bottom:0px;">{{ 'Livraison gratuite dès 29€' | trans({}, "productTranslate") }}</h5>
  698.                                     <h5 style="margin-bottom:0px;">{{ 'Prix instantané avec la technologie auto detect' | trans({}, "productTranslate") }}</h5>
  699.                                     <div style="margin-top: 48px;" class="link_modal_model1 right_modal_model1 mt-auto"> <a href="{{ path('file_user_page_b2b') }}">{{ 'Abonnement' | trans({}, "productTranslate") }} {{ getNameAbonnementPro(app.user)|raw }} </a> </div>
  700.                                 </div>
  701.                             </div>
  702.                         </div>
  703.                     </div>
  704.                 </div>
  705.             </div>
  706.         </div>
  707.     {% endif%}
  708. {% else %}
  709.     <div class="modal_type_model1 modal fade" id="addFichierLiseuseProduct" tabindex="-1" role="dialog" aria-labelledby="exampleModalLabel" aria-hidden="true">
  710.         <div class="modal-dialog modal-lg" role="document" style="margin-top: 1vw;">
  711.             <div class="modal-content">
  712.                 <div class="modal-header">
  713.                     <h2 class="modal-title" id="exampleModalLabel">{{ 'Ajouter vos documents' | trans({}, "productTranslate") }}</h2>
  714.                     <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  715.                         <span aria-hidden="true">&times;</span>
  716.                     </button>
  717.                 </div>
  718.                 <div class="modal-body">
  719.                     <div class="row modal_model1">
  720.                         <div class="col-md-6">
  721.                             <div class="glob_modal_model1 pb-0" style="height: 100%;display: flex;flex-direction: column;flex-wrap: wrap;">
  722.                                 <img style="width: fit-content;margin-left: auto;margin-right: auto;" src="{{ asset('images/modal_img1.png') }}">
  723.                                 <h4>{{ 'Depuis votre navigateur internet' | trans({}, "productTranslate") }}</h4>
  724.                                 <div id="fileuploaderLiseuse1"></div>
  725.                                 <input type="hidden" id="product_imprission_id" value="{% if productPapier.id is defined %}{{ productPapier.id }}{% endif %}">
  726.                                 <div class="link_modal_model1 mt-auto"> <a href="#" id="uploadPdfPageLiseuse">{{ 'Importer mes fichiers' | trans({}, "productTranslate") }}</a> </div>
  727.                             </div>
  728.                         </div>
  729.                         <div class="col-md-6">
  730.                             <div class="glob_modal_model1"  style="height: 100%;display: flex;flex-direction: column;flex-wrap: wrap;">
  731.                                 <img style="width: fit-content;margin-left: auto;margin-right: auto;"  class="imgUploadDesktop" src="{{ asset('images/modal_img2.png') }}">
  732.                                 <h4>{{ 'Depuis votre compte Plus' | trans({}, "productTranslate")|raw }}
  733.                                     <span style="font-size: 12px;display: block;">{{ '*5.99€/mois. Abonnement sans engagement de durée, résiliable en 1 clic à tous moments' | trans({}, "productTranslate")|raw }}</span>
  734.                                 </h4>
  735.                                 <h5 style="margin-bottom:0px;">{{ '<strong>Livraison gratuite illimitée</strong>' | trans({}, "productTranslate")|raw }}</h5>
  736.                                 <h5 style="margin-bottom:0px;">{{ '<strong>Paiement automatique à J+30</strong> dès votre 2eme commande' | trans({}, "productTranslate")|raw }}</h5>
  737.                                 <h5 style="margin-bottom:0px;">{{ '<strong>Jusqu’à 50% de réduction</strong> sur notre catalogue de <strong>plus de 300 produits</strong>' | trans({}, "productTranslate")|raw }} </h5>
  738.                                 {% set textPrixAboPremumLiseuse = getConfigWording(constant('App\\Entity\\ConfigWording::W_liseuse_abo')) %}
  739.                                 <h5 style="margin-bottom:0px;display:none;"   class="hiddenLitextAbonnementDiv">{% if textPrixAboPremumLiseuse %}{{ textPrixAboPremumLiseuse.description|trans|raw }}{% else %}{{ 'Pour la reprographie, <strong>un prix fixe à la page</strong> de 0,12€ la n&b et 0,15€ la couleur quelque soit le grammage et le format' | trans({}, "productTranslate")|raw }}{% endif %}</h5>
  740.                                 <h5 style="margin-bottom:0px;display:none;"   class="hiddenLitextAbonnementDiv">{{ '<strong>Editeur PDF gratuit</strong> pour modifier et organiser vos PDF' | trans({}, "productTranslate")|raw }}</h5>
  741.                                 <h5 style="margin-bottom:0px;display:none;"   class="hiddenLitextAbonnementDiv">{{ '<strong>20 000 modèles</strong> à personnaliser pour vos créas' | trans({}, "productTranslate")|raw }}</h5>
  742.                                 <span><a class="enSavoirPlusAceuill" href="#">{{ 'En savoir plus' | trans({}, "productTranslate")|raw }}</a></span>
  743.                                 <div style="margin-top: 48px;" class="link_modal_model1 right_modal_model1 mt-auto"> <a href="{{ path('abonnementPro_adresse_facture') }}?typeAbonnement={{ constant('App\\Entity\\AbonnementPro::TYPE_PRO') }}&typeComptePaiement=1&isFree=1">{{ 'Je m’abonne à Copees Plus' | trans({}, "productTranslate")|raw }} </a> </div>
  744.                             </div>
  745.                         </div>
  746.                     </div>
  747.                 </div>
  748.             </div>
  749.         </div>
  750.     </div>
  751. {% endif %}
  752. {#fin modal#}
  753. <div class="modal fade " id="exemplairePapierProduct" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">²
  754.     <div class="modal-dialog modal-lg" style="margin-top: 3vw;max-width: 370px;">
  755.         <div class="modal-content" style="padding-left: 20px;padding-right: 20px;">
  756.             <div class="modal-header pl-0 pr-0">
  757.                 <h5 class="modal-title h4" style="text-align: left;font-size: 23px;">{{ "Choisir le Nombre d\'exemplaire" | trans({}, "productTranslate") }}</h5>
  758.                 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  759.                     <span aria-hidden="true">×</span>
  760.                 </button>
  761.             </div>
  762.             <div class="modal-body">
  763.                 <div class="" style="">
  764.                     <div class="form-group" style=" max-width: 195px; margin-right: 15px;">
  765.                         <input type="number" class="form-control" id="exemplaireManuel" value="" placeholder="Entrer un nombre" style="width: 100%;">
  766.                     </div>
  767.                     <button class="btn btn-primary" id="exemplaireManuelBtn">{{ 'Valider' | trans({}, "productTranslate") }}</button>
  768.                 </div>
  769.             </div>
  770.         </div>
  771.     </div>
  772. </div>
  773. <div class="modal fade " id="typeReluireExemple" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
  774.     <div class="modal-dialog modal-lg" style="margin-top: 3vw;">
  775.         <div class="modal-content" style="border: 10px solid #FDF18D;">
  776.             <div class="modal-header">
  777.                 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  778.                     <span aria-hidden="true">×</span>
  779.                 </button>
  780.             </div>
  781.             <div class="modal-body">
  782.                 <div id="imgReluire" style="text-align: center;">
  783.                     <img src="{{ asset('/images/reluire_thermoreliure.jpeg') }}" >
  784.                 </div>
  785.             </div>
  786.         </div>
  787.     </div>
  788. </div>
  789. <div class="modal fade " id="minMaxReluireCheck" tabindex="-1" role="dialog" aria-hidden="true" style="display: none;">
  790.     <div class="modal-dialog modal-lg" style="margin-top: 3vw;">
  791.         <div class="modal-content" style="border: 10px solid #FDF18D;">
  792.             <div class="modal-header">
  793.                 <button type="button" class="close" data-dismiss="modal" aria-label="Close">
  794.                     <span aria-hidden="true">×</span>
  795.                 </button>
  796.             </div>
  797.             <div class="modal-body" id="textNonEligibleReluire">
  798.             </div>
  799.         </div>
  800.     </div>
  801. </div>
  802. <style>
  803.     .labelMarge{
  804.         width: 86%!important;
  805.     }
  806.     .inputMarge{
  807.         height: 30px!important;width: 30px!important;
  808.     }
  809.     #fileuploaderLiseuse1{
  810.         width: 100%;
  811.     }
  812.     #addFichierLiseuseProduct .ajax-upload-dragdrop {
  813.         border: none;
  814.         color: #000;
  815.         padding: 0;
  816.     }
  817.     #addFichierLiseuseProduct  .ajax-file-upload-error b{
  818.         display: none;
  819.     }
  820. </style>
  821. <script>
  822.     var productAttribute = '{{ productAttribute|raw }}';
  823. </script>