90 lines
3.4 KiB
PHP
Executable File
90 lines
3.4 KiB
PHP
Executable File
|
|
<div class="content-wrapper">
|
|
|
|
<section class="content">
|
|
<div class="box">
|
|
<div class="box-header">
|
|
<CENTER><h3 class="box-title">Siddharth Industries - Supplier Details</h3></CENTER>
|
|
</div>
|
|
<div class="container-fluid">
|
|
<div class="row">
|
|
<div class="col-xs-12 text-right">
|
|
<div class="form-group">
|
|
<a class="btn btn-Primary" href="<?php echo base_url(); ?>addsupplier">Add New Supplier</a>
|
|
<a class="btn btn-Primary" href="<?php echo base_url(); ?>supplier/export_supplierdetails">Export supplier details <i class="fa fa-download"aira-hidden="true"></i></a>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
<div class="row">
|
|
<div class="col-xs-12">
|
|
|
|
<table class="table table-bordered table-hover" id="datatable" style="background-color:#fff;font-size:11px !important;" >
|
|
<thead style="background-color:#ddf">
|
|
<tr>
|
|
<th>Supplier ID</th>
|
|
<th>Supplier Name</th>
|
|
<th>Address</th>
|
|
<th>Contact Number</th>
|
|
<th>Email Address</th>
|
|
<th>Excise Registration</th>
|
|
<th>TIN</th>
|
|
<th>PAN</th>
|
|
<th>GST Number</th>
|
|
<th>GST Range</th>
|
|
<th>UA Number</th>
|
|
<th>Payment Terms</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody>
|
|
<?php
|
|
if(!empty($userRecords))
|
|
{
|
|
foreach($userRecords as $record)
|
|
{
|
|
?>
|
|
<tr>
|
|
<td><u><a href="<?php echo base_url().'supplier/viewsupplier/?SID='.$record->SupplierID.'&Payment='.$record->PaymentTerms ?>" data-toggle="tooltip" title="<?php echo $record->SupplierID; ?> - Click here to view Supplier details"><?php echo $record->SupplierID ?> </a></u></td>
|
|
<td><?php echo $record->SupplierName ?></td>
|
|
<td><?php echo $record->Address ?></td>
|
|
<td><?php echo $record->ContactNumber ?></td>
|
|
<td><?php echo $record->EmailAddress ?></td>
|
|
<td><?php echo $record->Exiseregistration ?></td>
|
|
<td><?php echo $record->TIN ?></td>
|
|
<td><?php echo $record->PAN ?></td>
|
|
<td><?php echo $record->GSTNO ?></td>
|
|
<td><?php echo $record->GSTRange ?></td>
|
|
<td><?php echo $record->UANumber ?></td>
|
|
<td><?php echo $record->PaymentTerms ?></td>
|
|
|
|
</tr>
|
|
<?php
|
|
}
|
|
}
|
|
?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
</div>
|
|
<script type="text/javascript" src="<?php echo base_url(); ?>assets/js/common.js" charset="utf-8"></script>
|
|
<script type="text/javascript">
|
|
|
|
$(function () {
|
|
|
|
$('#datatable').DataTable({
|
|
"paging": true,
|
|
"lengthChange": true,
|
|
"searching": true,
|
|
"ordering": true,
|
|
"info": true,
|
|
"autoWidth": true
|
|
|
|
});
|
|
});
|
|
|
|
</script>
|