@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>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'>

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

	

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

	

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

	

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

	
	<tr>
	 <td>
	   <label for="amount" class="col-sm-3 control-label"> Amount </label>
	 </td>
	 <td> 
	   {{{ $data->amount }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="pay_type" class="col-sm-3 control-label"> Pay_type </label>
	 </td>
	 <td> 
	   {{{ $data->pay_type }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="bank_name" class="col-sm-3 control-label"> Bank_name </label>
	 </td>
	 <td> 
	   {{{ $data->bank_name }}}
	 </td>
	</tr>
	
	<tr>
	 <td>
	   <label for="cheque_no" class="col-sm-3 control-label"> Cheque_no </label>
	 </td>
	 <td> 
	   {{{ $data->cheque_no }}}
	 </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
