<?php include 'header1f.php';?>
<style type="text/css">
<!--
.style1 {color: #FF0000}
-->
</style>

        <div class="content-page">
            <div class="content">
                <div class="container">
					
					<div class="row">
                        <div class="col-md-12">
                            <div class="panel panel-primary">
                                <div class="panel-heading">
                                    <h3 class="panel-title">Make CREDIT Note</h3></div>
                                <div class="panel-body">
                                    <div class="row">
                                        <div class="col-md-12 col-sm-12 col-xs-12">
                                            <table id="datatable" class="table table-striped table-bordered">
                                                <thead>
                                                    <tr>
                                                        <th>#</th>
														<th>Customer Name</th>
														<th>Shipping Address</th>
														<th>GST NO</th>
														
												
                                                    </tr>
                                                </thead>
                                                <tbody>
												<?php
												$i=1;
												
												 $queryls = "select * from customer_master ORDER BY customer_name";
												
												//echo $queryls;
		                 						 $resultls = mysqli_query($conn,$queryls);	
													  while($row=mysqli_fetch_array($resultls))
	                                              	{
													$customer_name = $row['customer_name'];
													$ship_address =  $row['ship_address'];

$sphone =  $row['sphone'];
$billtoGSTN= $row['billtoGSTN'];
$customer_id= $row['customer_id'];


													  ?>
                                                    <tr>
               
			   <td><a href="makedirect_credit_note.php?customer_id=<? echo $customer_id;?>" class="btn btn-primary waves-effect waves-light">Make Credit Note</a></td>
														 <td><?php echo $customer_name?></td>
														 <td><?php echo $ship_address?></td>
														<td><?php echo $billtoGSTN?></td>


                                                    </tr><?php $i++; }?>
                                                </tbody>
                                            </table>
                                        </div>
                                    </div>
                                </div>
                            </div>
                        </div>
                    </div>
					
					
					
					<!--- View ends --------------->
					
					
					
					
                </div>
            </div>
<?php include 'footer_table.php';?>

