<?php
  include VIEWPATH.'includes/new_header.php';
  ?>
  
<body class="hold-transition sidebar-mini">
<!-- Site wrapper -->
<div class="wrapper">
  <?php
  include VIEWPATH.'includes/new_top_menu.php';
  include VIEWPATH.'includes/new_menu_principal.php';
  ?>

  

  <!-- Content Wrapper. Contains page content -->
  <div class="content-wrapper">
    <!-- Content Header (Page header) -->
    <?php 
    include 'includes/menu_type_bouteille.php';
    ?>

    <!-- Main content -->
    <section class="content">

      <!-- Default box -->
      <div class="card">
      
      <div class="card card-primary">
              <div class="card-header">
                <h3 class="card-title">Enregistrement taille bouteille </h3>
              </div>
              <!-- /.card-header -->
              <!-- form start -->
              <form id="FormData" action="<?php echo base_url()?>configuration/Type_Bouteille/add" method="POST" enctype="multipart/form-data">
                <div class="card-body row">
                  <div class="form-group col-lg-12">
                    <label for="exampleInputEmail1">Taille de la bouteille <spam class="text-danger">*</spam></label>
                    <input type="text" class="form-control" id="DESCRIPTION" name="DESCRIPTION" placeholder="500ml" value="<?=set_value('DESCRIPTION')?>">
                    <?php echo form_error('DESCRIPTION', '<div class="text-danger">', '</div>'); ?>
                  </div> 

                  <div class="form-group col-lg-4">
                    <label for="exampleInputEmail1">Seuil limite des bouteille vide <spam class="text-danger">*</spam></label>
                    <input type="number" class="form-control" id="LIMITE_VIDE" name="LIMITE_VIDE" placeholder="500" value="<?=set_value('LIMITE_VIDE')?>">
                    <?php echo form_error('LIMITE_VIDE', '<div class="text-danger">', '</div>'); ?>
                  </div>
                  <div class="form-group col-lg-4">
                    <label for="exampleInputEmail1">Seuil limite des bouteille Remplie <spam class="text-danger">*</spam></label>
                    <input type="number" class="form-control" id="LIMITE_PLEIN" name="LIMITE_PLEIN" placeholder="1000" value="<?=set_value('LIMITE_PLEIN')?>">
                    <?php echo form_error('LIMITE_PLEIN', '<div class="text-danger">', '</div>'); ?>
                  </div>
                  <div class="form-group col-lg-4">
                    <label for="exampleInputEmail1">Quantit&eacute;s litre <spam class="text-danger">*</spam></label>
                    <input type="number" step="0.01" class="form-control" id="QUANTITE_LITRE" name="QUANTITE_LITRE" placeholder="1000" value="<?=set_value('QUANTITE_LITRE')?>">
                    <?php echo form_error('QUANTITE_LITRE', '<div class="text-danger">', '</div>'); ?>
                  </div> 


                  <div class="form-group col-lg-4">
                    <label for="exampleInputEmail1">Prix Normal <spam class="text-danger">*</spam></label>
                    <input type="number" class="form-control" id="PRIX_NORMAL" name="PRIX_NORMAL" placeholder="1000" value="<?=set_value('PRIX_NORMAL')?>">
                    <?php echo form_error('PRIX_NORMAL', '<div class="text-danger">', '</div>'); ?>
                  </div> 
                  <div class="form-group col-lg-4">
                    <label for="exampleInputEmail1">Prix Silver <spam class="text-danger">*</spam></label>
                    <input type="number" class="form-control" id="PRIX_SILVER" name="PRIX_SILVER" placeholder="1000" value="<?=set_value('PRIX_SILVER')?>">
                    <?php echo form_error('PRIX_SILVER', '<div class="text-danger">', '</div>'); ?>
                  </div> 
                  <div class="form-group col-lg-4">
                    <label for="exampleInputEmail1">Prix Gold <spam class="text-danger">*</spam></label>
                    <input type="number" class="form-control" id="PRIX_GOLD" name="PRIX_GOLD" placeholder="1000" value="<?=set_value('PRIX_GOLD')?>">
                    <?php echo form_error('PRIX_GOLD', '<div class="text-danger">', '</div>'); ?>
                  </div> 
                  
                  
                  
                 
                  
                </div>
                <!-- /.card-body -->

                <div class="card-footer">
                  <button type="submit" class="btn btn-primary btn-block">Enregistrer</button>
                </div>
              </form>
            </div>
        
        
        <!-- /.card-body -->
        <!-- <div class="card-footer">
          Footer
        </div> -->
        <!-- /.card-footer-->
      </div>
      <!-- /.card -->

    </section>
    <!-- /.content -->
  </div>
  <!-- /.content-wrapper -->

  <?php
 include VIEWPATH.'includes/new_copy_footer.php';  
  ?>
  <!-- /.control-sidebar -->
</div>
<!-- ./wrapper -->
<?php
  include VIEWPATH.'includes/new_script.php';
  ?>
  <script>
  $(function () {
   
    //Date picker
    $('#DEBUT_EXERCICE').datetimepicker({
        format: 'L'
    });    
    $('#FIN_EXERCICE').datetimepicker({
        format: 'L'
    });    

  })
 


</script>
</body>
</html>
