63 lines
2.4 KiB
PHP
63 lines
2.4 KiB
PHP
|
|
<div class="col-md-12 col-sm-12 ">
|
|
<div class="x_panel">
|
|
<div class="x_title">
|
|
<h2>Depreciation Details </h2>
|
|
|
|
|
|
<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 bulk_action" width="100%">
|
|
<thead style="white-space: nowrap;">
|
|
<tr class="headings">
|
|
|
|
<th class="column-title" width="20%">Category </th>
|
|
<th class="column-title" width="20%">Asset Name </th>
|
|
<th class="column-title" width="20%">Tag </th>
|
|
<th class="column-title" width="20%">Serial </th>
|
|
<th class="column-title" width="20%">Model </th>
|
|
<th class="column-title" width="15%">Purchase Date </th>
|
|
<th class="column-title" width="15%">Purchase Cost </th>
|
|
<th class="column-title" width="15%">Current Value </th>
|
|
<th class="column-title" width="20%">Status </th>
|
|
|
|
</tr>
|
|
</thead>
|
|
|
|
<tbody style="white-space: nowrap;">
|
|
|
|
<?php foreach ($tableData as $key => $value) { ?>
|
|
<tr class="even pointer">
|
|
|
|
<td class=" "> <?php echo $value['category']; ?> </td>
|
|
<td class=" "> <?php echo $value['asset_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 my_date_show($value['purchase_date']); ?> </td>
|
|
<td class=" " style=" text-align: right;"> <?php echo $value['purchase_cost']; ?> </td>
|
|
<td class=" " style=" text-align: right;"> <?php echo $value['current_cost']; ?> </td>
|
|
<td class=" "> <?php echo $value['status']; ?> </td>
|
|
|
|
</tr>
|
|
<?php } ?>
|
|
</tbody>
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<br/>
|
|
|
|
|
|
|