bbone/application/modules/Asset/views/asset_landing_page.php
2023-06-24 16:02:54 +05:30

55 lines
2.5 KiB
PHP

<form id="otp-form">
<input type="hidden" id="csrf" name="<?php echo $this->security->get_csrf_token_name();?>" value="<?php echo $this->security->get_csrf_hash();?>">
</form>
<div class="col-md-12 col-sm-12 ">
<div class="x_panel">
<div class="x_title">
<h2>Assets 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><input type="checkbox" id="check_all" ></th> -->
<th class="column-title">Asset Category </th>
<th class="column-title">Total Purchase Cost </th>
<th class="column-title">Total Current Cost </th>
<!-- <th class="column-title" style="min-width:120px;">Action </th> -->
</tr>
</thead>
<tbody>
<?php foreach ($tableData as $key => $value) { ?>
<tr class="even pointer" onclick="window.location='<?php echo base_url();?>Asset/assetList/<?php echo md5($value->category) ?>';">
<!-- <td><input type="checkbox" id="check-all" value="<?php echo $value->id; ?>" ></td> -->
<td class=" "> <?php echo $value->category_name; ?> </td>
<td class=" " style=" text-align: right;"> <?php echo $value->total; ?> </td>
<td class=" " style=" text-align: right;"> <?php echo $value->total_current_cost; ?> </td>
<!-- <td style=" text-align: center; font-size: 16px;">
<a href="<?php echo base_url()?>Asset/assetList/<?php echo md5($value->category);?>" > <i class="fa fa-eye" title="View"></i></a>
&nbsp;
</td> -->
</tr>
<?php } ?>
</tbody>
</table>
</div>
</div>
</div>
</div>
</div>
</div>
<br/>
<div class="modal fade bs-example-modal-lg" id="ItemModal" tabindex="-1" role="dialog" aria-hidden="true"></div>
<div style="display:none" id="sub-value">
</div>