<?php
/* 	
 * Author   : Ferry / Tanggal   : 22-06-2015	
 * Revisi   : Dhidhik / Tanggal : 13-10-2015
 */
?>
<div id="cc" class="easyui-layout" data-options="fit:true, border:false">
    <div data-options="region:'west',split:true, border:true" title="" style="width:270px; background-color:#F8F8F8;">
        <div title="" style="padding:10px;overflow:auto;" data-options="selected:true" >
            <b>Report Category :</b>
            <div class="indextoreport_menu">
                <ul>
                    <?php
                    foreach ($report_menu as $row_report) {
                        ?>
                        <li><a href="<?php echo site_url($row_report->MenuLink); ?>"><img src="<?php echo base_url(); ?>assets/custom/icons/report.png" alt=""/> <span><b><?php echo $row_report->MenuLabel; ?></b></span></a></li>	
                        <?php
                    }
                    ?>
                </ul>
            </div>	
        </div>
    </div>

    <div data-options="region:'center',fit:true,plain:true, border:false" style="background-color:#eee;">
        <div id="form-wrapper" class="easyui-panel" border="false" style="width:928%;height:570px; background:#eee;">
            <?php
            if (!empty($group_user->ViewPrivillage) && $group_user->ViewPrivillage == 1) {
                ?>
                <div style="overflow:hidden;padding:10px;">
                    <b>Report Detail :</b>                    
                    <div class="indextoreport_menu">
                        <ul>
                            <?php
                            foreach ($group_sub_report as $row_sub_report) {
                                ?>
                                <li><a href="javascript:void(0)" onClick="<?php echo $row_sub_report->MenuLink; ?>"><img src="<?php echo base_url(); ?>assets/custom/icons/<?php echo $row_sub_report->Icon; ?>.png" alt=""/> <span><?php echo $row_sub_report->MenuLabel; ?></span></a></li>
                                <?php
                            }
                            ?>
                        </ul>
                    </div>
<!--                    <div class="indextoreport_menu">
                        <ul>
                            <li><a href="<?php echo site_url('report/index_to_report/gl_summary_report'); ?>"><img src="<?php echo base_url(); ?>assets/custom/icons/notebook.png" alt=""/><span>General Ledger Summary</span></a></li>
                            <li><a href="<?php echo site_url('report/index_to_report/trial_balance_report'); ?>"><img src="<?php echo base_url(); ?>assets/custom/icons/notebook.png" alt=""/><span>Trial Balance (Neraca Lajur)</span></a></li>
                            <li><a href="<?php echo site_url('report/index_to_report/realize_gain_loss_report'); ?>"><img src="<?php echo base_url(); ?>assets/custom/icons/notebook.png" alt=""/><span>Realize Gain/Loss</span></a></li>
                            <li><a href="<?php echo site_url('report/index_to_report/unrealize_gain_loss_report'); ?>"><img src="<?php echo base_url(); ?>assets/custom/icons/notebook.png" alt=""/><span>Unrealize Gain/Loss</span></a></li>
                        </ul>
                    </div>-->
                </div>
                <?php
            }
            ?>
        </div>
    </div>
</div>

<script type="text/javascript">
    /* function submit_form(){
     $("#preference_item_default").submit();
     } */
</script>