MOON
Server: Apache
System: Linux host.sunshiene.com 4.18.0-553.121.1.el8_10.x86_64 #1 SMP Thu Apr 30 09:06:34 EDT 2026 x86_64
User: clientsoftwares (1005)
PHP: 8.1.34
Disabled: system, exec, mail, shell_exec, passthru, popen, proc_open, pcntl_exec, dl, ini_alter, ini_restore, symlink, link, chown, posix_kill
Upload Files
File: /home/clientsoftwares/public_html/software/loan/application/views/setting/itemslist.php
<div class="table-responsive">
    <div style="text-align: right; margin-right: 20px;">
        <a  class="btn btn-primary" href="<?php echo site_url(current_lang() . '/setting/additems_invoice'); ?>"><?php echo lang('salesinvoice_item') ?></a>
    </div>
    <table class="table table-bordered table-striped">
        <thead>
            <tr>
                <th style="width:80px;"><?php echo lang('sno'); ?></th>
                <th><?php echo lang('salesinvoiceitem_code'); ?></th>
                <th><?php echo lang('salesinvoiceitem_name'); ?></th>
                <th><?php echo lang('salesinvoiceitem_price'); ?></th>
                <th><?php echo lang('salesinvoiceitem_account'); ?></th>
                <th><?php echo lang('salesinvoiceitem_taxcode'); ?></th>
                <th><?php echo lang('salesinvoiceitem_type'); ?></th>
                <th><?php echo lang('actioncolumn'); ?></th>
            </tr>
        </thead>
        <tbody>
            <?php
            $i = 1;
            if (count($item_list) > 0) {
                foreach ($item_list as $key => $value) {
                    ?>
                    <tr>
                        <td><?php echo $i++; ?></td>
                        <td><?php echo $value->code ?></td>
                        <td><?php echo $value->name ?></td>
                        <td style="text-align: right;"><?php echo number_format($value->price, 2); ?></td>
                        <td><?php
                            $account = $this->finance_model->account_chart(null, $value->account)->row();
                            if ($account) {
                                echo $account->name;
                            } else {
                                echo '&nbsp;';
                            }
                            ?></td>

                                <td><?php echo $value->taxcode;?></td>
                                <td><?php echo $this->setting_model->invoicetype($value->invoicetype)->row()->name;?></td>
                        <td>
                            <a href="<?php echo site_url(current_lang() . '/setting/additems_invoice/' . encode_id($value->id)); ?>"><i class="fa fa-edit"></i> <?php echo lang('button_edit'); ?> </a>

                        </td>
                    </tr>
                    <?php
                }
            } else {
                ?>

                <tr>
                    <td colspan="8"> <?php echo lang('data_not_found'); ?></td>
                </tr>
            <?php } ?>
        </tbody>
    </table>

</div>