91 lines
4.0 KiB
PHP
91 lines
4.0 KiB
PHP
|
|
<div class="col-md-12 col-sm-12 ">
|
|
<div class="x_panel">
|
|
<div class="x_title">
|
|
<h2>Assets Details </h2>
|
|
|
|
<ul class="nav navbar-right panel_toolbox">
|
|
<a href="<?php echo base_url();?>asset/addAsset" class="btn btn-sm btn-primary">Add Asset</a>
|
|
<li><a class="collapse-link"><i class="fa fa-chevron-up"></i></a>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="x_content">
|
|
<div class="row">
|
|
<div class="col-sm-12">
|
|
<div class="card-box table-responsive">
|
|
|
|
<table id="datatable-buttons" class="table table-striped table-bordered dataTable no-footer" width="100%">
|
|
<thead>
|
|
<tr class="headings">
|
|
|
|
|
|
<th class="column-title">Asset Name </th>
|
|
<th class="column-title">Manufacturer </th>
|
|
<th class="column-title">Tag </th>
|
|
<th class="column-title">Serial </th>
|
|
<th class="column-title">Model </th>
|
|
<th class="column-title">Category </th>
|
|
<th class="column-title">Status </th>
|
|
<!-- <th class="column-title">Notes </th>
|
|
<th class="column-title">Warranty </th>
|
|
<th class="column-title">Order No </th>
|
|
<th class="column-title">Purchase Date </th>
|
|
<th class="column-title">Supplier </th>
|
|
<th class="column-title">Cost </th>
|
|
<th class="column-title">Location </th> -->
|
|
<th class="column-title" >Action </th>
|
|
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody>
|
|
|
|
<?php foreach ($tableData as $key => $value) { ?>
|
|
<tr class="even pointer">
|
|
|
|
|
|
<td class=" "> <?php echo $value->name; ?> </td>
|
|
<td class=" "><?php echo $value->manufacturer_name; ?> </td>
|
|
<td class=" "><?php echo $value->tag; ?></td>
|
|
<td class=" "><?php echo $value->serial; ?></td>
|
|
<td class=" "><?php echo $value->model; ?></td>
|
|
<td class=" "><?php echo $value->category_name; ?></td>
|
|
<td class=" "><?php echo $value->status_display_name; ?></td>
|
|
<!--<td class=" "><?php echo $value->notes; ?> </td>
|
|
<td class=" "><?php echo $value->warranty; ?> </td>
|
|
<td class=" "><?php echo $value->order_no; ?></td>
|
|
<td class=" "><?php echo $value->purchase_date; ?></td>
|
|
<td class=" "><?php echo $value->supplier_name; ?></td>
|
|
<td class=" "><?php echo $value->cost; ?></td>
|
|
<td class=" "><?php echo $value->location_name; ?></td> -->
|
|
<td style=" text-align: center; font-size: 16px;">
|
|
<a href="<?php echo base_url()?>Asset/editAsset/<?php echo md5($value->id);?>" ><i class="fa fa-pencil"></i></a>
|
|
|
|
<a href="<?php echo base_url()?>Asset/addAsset/<?php echo md5($value->id);?>" ><i class="fa fa-copy"></i></a>
|
|
|
|
<a href="<?php echo base_url()?>Asset/deleteAsset/<?php echo md5($value->id);?>" ><i class="fa fa-trash"></i></a>
|
|
|
|
<a href="<?php echo base_url()?>Asset/view_asset_details/<?php echo md5($value->id);?>" > <i class="fa fa-eye"></i></a>
|
|
</td>
|
|
|
|
</tr>
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
<div style="display:none" id="sub-value">
|
|
|
|
</div>
|
|
|