<div class="modaLoader"></div>
<button class="hide"></button>
<div class="row">
    <div class="col-md-12">
        <div class="form-group">
            <label>client :</label>
            <input type="text" class="form-control ui-autocomplete-input" name="client" placeholder="client" ref="0">
        </div>
        <div class="form-group">
            <label>type de contrat :</label>
            <div class="input-group">
                <select class="form-control" name="type">{include file='contrats/contrats_types_select_list.tpl'}</select>
                <span class="input-group-btn hide">
                    <button class="btn btn-default btnSecondAction">
                        <i class="glyphicon glyphicon-remove"></i>
                    </button>
                </span>
                <span class="input-group-btn">
                    <button class="btn btn-default btnAction add">
                        <i class="glyphicon glyphicon-plus"></i>
                    </button>
                </span>
            </div>
        </div>
        <div class="form-group custom_type hide">
            <div class="input-group">
                <span class="input-group-addon">groupe :</span>
                <select class="form-control" name="groupe">{include file='paniers_groupes/paniers_groupes_select_list.tpl'}</select>
                <span class="input-group-addon">fréquence :</span>
                <select class="form-control" name="frequence">
                    <option value="hebdo">hedbomadaire</option>
                    <option value="quinz">quinzaine</option>
                </select>
                <span class="input-group-addon">panier :</span>
                <select class="form-control" name="panier_type">{include file='paniers/paniers_select_list.tpl'}</select>
                <span class="input-group-addon">nb. paniers :</span>
                <input type="text" class="form-control" name="nb_paniers" placeholder="nb. de panier" ref="new">
            </div>
        </div>
        
        <div class="form-group hide">
            <label>groupe bi-hebdo :</label>
            <select class="form-control" name="quinz_groupe">
                <option value="A">Groupe A</option>
                <option value="B">Groupe B</option>
            </select>
        </div>
        <div class="form-group">
            <label>date de début :</label>
            <input type="date" class="form-control" name="date" placeholder="date de début">
        </div>
        <div class="form-group">
            <label>lieu de dépôt :</label>
            <div class="input-group">
                <select class="form-control" name="lieu_depot">{include file='contrats/lieux_select_list.tpl'}</select>
                <span class="input-group-btn hide">
                    <button class="btn btn-default btnSecondAction">
                        <i class="glyphicon glyphicon-remove"></i>
                    </button>
                </span>
                <span class="input-group-btn">
                    <button class="btn btn-default btnAction add">
                        <i class="glyphicon glyphicon-plus"></i>
                    </button>
                </span>
            </div>
        </div>
        <div class="form-group">
            <label>nb. de chèque(s) :</label>
            <input type="text" class="form-control" name="nb_cheque" placeholder="nb. de chèque(s)">
        </div>
        <div class="form-group">
            <label>nb. de panier(s) distribué(s) avant la saisie du contrat :</label>
            <input type="text" class="form-control" name="np_paniers_distrib_avt_saisie" placeholder="nb. de panier(s)">
        </div>
        <div class="checkbox">
            <label>
                <input type="checkbox" name="force_eligible"> forcer le contrat une fois le nombre de paniers livrés dépassé
            </label>
        </div>
    </div>
</div>