{% extends 'layout.twig' %}

{% block body %}

	<div class="contenu clearfix"  id="fournisseurs">
	<h1>
    	{{ 'Fournisseurs' | trad }}
    </h1>
    
    {{ ariane() }}
    
    <h2>{{ 'Héritage du groupe' | trad }} : {{ groupement.RS }} ({{ groupement.CODE }}) - {{ 'Fournisseur secondaire' | trad }} {{ fournisseur.RS }} ({{ fournisseur.CODE }})</h2>
    
    <div class="tab-content">

			<div id="heritage-groupements" class="tab-pane fade clearfix in active">
				
				<form method="post" name="mise-a-jour" id="mise-a-jour" class="bg_form padding_form border_form clearfix">
    				
    				<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<p class="titre gras">{{ 'Groupement fournisseur' | trad }}</p>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2 align-center gras">
    						<p class="titre white-tooltip" data-placement="bottom" data-toggle="tooltip" title="Transfert du groupement vers le fournisseur"><img src="{{ baseUrl() }}IconeV2/Misc/transfert_donnees.png" /></p>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<p class="titre gras">{{ 'Fournisseur' | trad }}</p>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<input type="text" class="form-control full" value="{{ groupement.RS }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2 align-center gras">
    						
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<input type="text" class="form-control full" value="{{ fournisseur.RS }}" disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class=" col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Condition de Paiement' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.COND_PAIE }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                            </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Condition de Paiement' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.COND_PAIE }}" disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Mode de Paiement' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.MODE_PAIE }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Mode de Paiement' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.MODE_PAIE }}" disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Mode de Livraison' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.LIV }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center" style="display:none;">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Mode de Livraison' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.LIV }}" disabled/>
        				</div>
					</div>
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Autorisé à Cde e-proc ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="autorisation_eproc" name="autorisation_eproc" {% if groupement.AUTOCC | boolSql %}checked{% endif %} disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center" style="display:none;">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Autorisé à Cde e-proc ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="autorisation_eproc" name="autorisation_eproc"  {% if fournisseur.AUTOCC | boolSql %}checked{% endif %} disabled/>
        				</div>
					</div>
					
					<div class="row border-top">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label class="no-padding">{{ 'Seuil de Cde e-proc différents Catalogue/hors Catalogue ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="seuil_cat_horscat" name="seuil_cat_horscat"  {% if groupement.SEUILEPDIF | boolSql %}checked{% endif %} disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center" style="display:none">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label class="no-padding">{{ 'Seuil de Cde e-proc différents Catalogue/hors Catalogue ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="seuil_cat_horscat" name="seuil_cat_horscat"  {% if fournisseur.SEUILEPDIF | boolSql %}checked{% endif %} disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label class="no-padding">{{ 'Montant max Cde e-proc global ?' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.MTMAXCC | prix }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center" style="display:none">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label class="no-padding">{{ 'Montant max Cde e-proc global ?' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.MTMAXCC | prix }}" disabled/>
        				</div>
					</div>
					
					<div class="row border-top">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label class="no-padding">{{ 'Interdire à Cde e-proc sur article hors Catalogue ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="interdiction_horscat" name="interdiction_horscat" {% if groupement.NOCCGEN | boolSql %}checked{% endif %} disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center" style="display:none">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label class="no-padding">{{ 'Interdire à Cde e-proc sur article hors Catalogue ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="interdiction_horscat" name="interdiction_horscat" {% if fournisseur.NOCCGEN | boolSql %}checked{% endif %} disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label class="no-padding">{{ 'Montant minimum de facturation' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.MNTMINFAC | prix }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center" style="display:none">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label class="no-padding">{{ 'Montant minimum de facturation' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.MNTMINFAC | prix }}" disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ "Règle franco active ?" | trad }}</label>
        					<input type="checkbox" class="form-control" id="activation_regle_franco" name="activation_regle_franco" {% if groupement.RFRACT | boolSql %}checked{% endif %} disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ "Règle franco active ?" | trad }}</label>
        					<input type="checkbox" class="form-control" id="activation_regle_franco" name="activation_regle_franco" {% if fournisseur.RFRACT | boolSql %}checked{% endif %} disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Montant minimum de franco' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.MNTMINFRA | prix }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Montant minimum de franco' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.MNTMINFRA | prix }}" disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Article frais de port' | trad }}</label>
        					<input type="text" class="form-control" value="{{ groupement.ARTFRPORT }}" disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Article frais de port' | trad }}</label>
        					<input type="text" class="form-control" value="{{ fournisseur.ARTFRPORT}}" disabled/>
        				</div>
					</div>
					
					<div class="row">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label>{{ 'Frais de port obligatoire ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="frais_port" name="frais_port" {% if groupement.FRPOBLIG | boolSql %}checked{% endif %} disabled/>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						
    						<label class="switch align-center" style="display:none">
                            	<input type="checkbox" name="" id="" >
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
        				<div class="col-lg-5 col-md-5 col-sm-5">
        					<label>{{ 'Frais de port obligatoire ?' | trad }}</label>
        					<input type="checkbox" class="form-control" id="frais_port" name="frais_port" {% if fournisseur.FRPOBLIG | boolSql %}checked{% endif %} disabled/>
        				</div>
					</div>
					
					<div class="row  border-top">
        				<div class="col-lg-5 col-md-5 col-sm-5" >
        					<label class="no-padding">{{ 'Base de données documentaires' | trad }}</label>
        				</div>
    					<div class="col-lg-2 col-md-2 col-sm-2">
    						<label class="switch align-center">
                            	<input type="checkbox" name="" id="" disabled>
                                <span class="slider round"></span>
                                <span class="value_switch" id="value_switch">{{ 'Non' | trad }}</span>
                             </label>
    					</div>
					</div>
					<div class="row">
						<button class="button secondaire button_right">{{ 'Modifier' | trad }}</button>
					</div>
				</form>
			</div>	
		</div>
	</div>  				

{% endblock %}