
<div class="content-wrapper"> 
  <!-- Content Header (Page header) -->
  <section class="content-header">
    <h1> Channellimo <small>Preview</small> </h1>
    <ol class="breadcrumb">
      <li><a href="#"><i class="fa fa-dashboard"></i> Home</a></li>
      <li><a href="#">Forms</a></li>
      <li class="active">Report</li>
    </ol>
  </section>
  <section class="content">
      <div class="box">
      	<div class="box-body">
        <?php echo validation_errors('<div class="error">', '</div>'); ?> 
		<?php echo form_open('admin/report/add');?>
        <div class="form-group col-lg-8">
          <label>Date Service</label>
          <input class="form-control" name="date" id="date" placeholder="Enter Date Service">
        </div>
        <div class="form-group col-lg-8">
          <label>Company Name</label>
          <input class="form-control" name="company" id="company" placeholder="Enter Company Name">
        </div>
        <div class="form-group col-lg-8">
          <label>Guset Name</label>
          <input class="form-control" name="guset" id="guset" placeholder="Enter Guset Name">
        </div>
        <div class="form-group col-lg-8">
          <label>Driver Name</label>
          <input class="form-control" name="driver" id="driver" placeholder="Enter Driver Name">
        </div>
        <div class="form-group col-lg-8">
          <label>Seller Name</label>
          <input class="form-control" name="sellerName" id="sellerName" placeholder="Enter Seller Name">
        </div>
        <div class="form-group col-lg-8">
          <label>Car Type</label>
           <select class="form-control" name="cartype" id="cartype">
           <?php 
			$sql = $this->db->query('SELECT * FROM `tblcar` WHERE status = 1 ORDER BY `fullname`');
			foreach ($sql->result() as $v)
			{  
		   ?>
           	<option value="<?php echo $v->id ?>"><?php echo $v->fullname ?></option> 
           <?php }?>
		  </select>
        </div>
        <div class="form-group col-lg-8">
          <label>Vocher Number</label>
          <input class="form-control" name="vochernumber" id="vochernumber" placeholder="Enter Vocher Number">
        </div>
        <div class="form-group col-lg-8">
          <label>Invoice Number</label>
          <input class="form-control" name="invoicenumber" id="invoicenumber" placeholder="Enter Invoice Number">
        </div>
        <div class="form-group col-lg-8">
          <label>Service Detail</label>
          <textarea class="form-control" rows="3" name="servicedetail" id="servicedetail" placeholder="Service Detail"></textarea>
        </div>
        <div class="form-group col-lg-8">
          <label>Remark</label>
          <textarea class="form-control" rows="3" name="remark" id="remark" placeholder="Remark"></textarea>
        </div>
        <div class="form-group col-lg-8">
          <input type="submit" value="Save" class="btn btn-primary save">
          <button type="reset" class="btn btn-danger">Reset</button>
        </div>
        <?php echo form_close();?> </div>
      	</div>
      </div>
  </section>
</div>

