@extends('master')

@section('content')


<!-- page content -->
<div class="right_col" role="main">
  <div class="row x_panel">
    <div class="col-md-12 col-sm-12 col-xs-12">
    <h1>Crop Transactions</h1>
<?php if(isset($data)){ ?>
<form action="controller/pages_submit.php" id="" class="form-horizontal " method="post" enctype="multipart/form-data">
  <div class="table-responsive">
    <table class="table table-striped table-bordered table-hover" >
      
<table class='table table-bordered' style='width:70%;' align='center'>

    <!-- Crop Start -->
	<tr>
	 <td>
	  <label class="control-label col-md-3"> Crop </label>
	 </td>
	 <td>
     {{{ $data->crop }}}
	 </td>
	</tr>
    <!-- Crop End -->

	

    <!-- Marqua Start -->
	<tr>
	 <td>
	  <label class="control-label col-md-3"> Marqua </label>
	 </td>
	 <td>
     {{{ $data->quality }}}
	 </td>
	</tr>
    <!-- Marqua End -->

	
	<tr>
	 <td>
	   <label for="quantity" class="col-sm-3 control-label"> Quantity </label>
	 </td>
	 <td> 
	   {{{ $data->quantity }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="bangdi" class="col-sm-3 control-label"> Bangdi </label>
	 </td>
	 <td> 
	   {{{ $data->bangdi }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="weight" class="col-sm-3 control-label"> Weight </label>
	 </td>
	 <td> 
	   {{{ $data->weight }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="cost" class="col-sm-3 control-label"> Cost </label>
	 </td>
	 <td> 
	   {{{ $data->cost }}}
	 </td>
	</tr>
	

    <!-- Status Start -->
	<tr>
	 <td>
	  <label class="control-label col-md-3">status</label>
	 </td>
	 <td> 
	   <?php if($data->status == 1){echo "Active";}else{ echo "Inactive";}?>
	 </td>
	</tr>
    <!-- Status End -->

	<tr><td colspan="2"><a type="reset" class="btn btn-info pull-right" onclick="history.back()">Back</a></td></tr></table>
    </table>
  </div>

  
</form>
<?php } else{
    echo '<h2 align="center" class="text-danger">No record found!</h2>';
  } ?>


    </div>
  </div>
</div>
<!-- /page content -->


@endsection
