ok

Mini Shell

Direktori : /home2/selectio/www/lilyexpresslive/software/admin/
Upload File :
Current File : /home2/selectio/www/lilyexpresslive/software/admin/custom-barcode-generator.php

<?php require_once('header.php'); ?>
<style>

    @media print {
    body{
        min-width: 50.8mm;
        min-height: 25.4mm;
       
        /*margin: 3mm 3mm 3mm 3mm;*/ 
         /*change the margins as you want them to be. */
   } 
}
div.solid {
    /*border-style: solid;*/
    min-width:50.8mm;min-height:25.4mm;
    background-color: white;
}


@import url('http://fonts.cdnfonts.com/css/candice');
</style>
    

<script>
function goBack() {
  window.history.back();
}
</script>
<br>
<body >
    
 <div id="form" class="panel panel-warning" style="margin-left:10%;margin-right:10%;">
<form action="custom-barcode-print.php" method="post">
<div class="panel-body">
<div class="row">
    <div class="col-sm-4">
        <div class="form-group">
        <label class="control-label" for="user">Barcode Number From</label>
        </div>
    </div>
   
    <div class="col-sm-4">
        <div class="form-group">
        <label class="control-label" for="user">Barcode Number To</label>
        </div>
    </div>
    <div class="col-sm-4">
        <div class="form-group">
        <label class="control-label" for="user">Action</label>
        </div>
    </div>
    
    <div class="col-sm-4">
        <div class="form-group">
        <input type="number" class="form-control" name="barcode_number[]" placeholder="Enter Barcode Number From" required/>
        </div>
    </div>
  
    <div class="col-sm-4">
        <div class="form-group">
        <input type="number" class="form-control" name="barcode_end_number[]" placeholder="Enter Barcod Number To" required/>
        </div>
    </div>
    <div class="col-sm-4">
        <div class="form-group">
        <a id="add_packate_variation" title="Add New Item" style="cursor: pointer;"><i class="fa fa-plus-square-o fa-2x"></i></a>
        </div>
    </div>
    </div>
<div class="row"  id="variations">
    
</div>
<div class="col-sm-12">
    <div class="form-group">
    <center><button id="filter" type="submit" class="btn btn-sm btn-warning"><i class="fa fa-print"></i> Preview Label</button></center>
</div>
</div>
</div>
</form>
</div>
</div>  
    
</body>
<!-- page script -->


<script>
 $(document).on('click', '.remove_variation', function() {
        $(this).closest('.row').remove();
    });
    $('#add_packate_variation').on('click', function() {
        html = '<div class="row" style="padding-left: 1.5%;"><div class="col-sm-4"><div class="form-group"><input type="number" class="form-control" name="barcode_number[]" placeholder="Enter Barcode Number" required/></div></div><div class="col-sm-4"><div class="form-group"><input type="number" class="form-control" name="barcode_end_number[]" placeholder="Enter Barcod Number To" required/></div></div><div class="col-sm-4"><div class="form-group"><a class="remove_variation text-danger" title="Remove variation of product" style="cursor: pointer;"><i class="fa fa-times fa-2x"></i></a></div></div></div>';
        $('#variations').append(html);
    });
</script>


<script>

 
  function printDiv(divName) {
     var printContents = document.getElementById(divName).innerHTML;
     var originalContents = document.body.innerHTML;

     document.body.innerHTML = printContents;

     window.print();

     document.body.innerHTML = originalContents;
}

  $(function () {
    $("#example1").DataTable();
    $('#example2').DataTable({
      "paging": true,
      "lengthChange": false,
      "searching": false,
      "ordering": true,
      "info": true,
      "autoWidth": false,
    });
  });
</script>
<?php require_once('footer.php'); ?>

Zerion Mini Shell 1.0