Ignore:
Timestamp:
Nov 10, 2014 2:08:04 PM (11 years ago)
Author:
quyenla
Message:

paidlogs

Location:
pro-violet-viettel/sourcecode/application/modules/admin/views/report
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/index.php

    r441 r444  
    7676
    7777
     78
     79                                $('#sales-charts').css({'width':'100%' , 'height':'200px'});
     80                                $.plot("#sales-charts", <?php echo json_encode($chard) ?>, {
     81                                        hoverable: true,
     82                                        shadowSize: 0,
     83                                        series: {
     84                                                lines: { show: true },
     85                                                points: { show: true }
     86                                        },
     87                                        xaxis: {
     88                                                tickLength: 0
     89                                        },
     90                                        yaxis: {
     91                                                ticks: 10,
     92                                                min: 0,
     93                                                max:<?php echo $max;?>,
     94                                                tickDecimals: 0
     95                                        },
     96                                        grid: {
     97                                                backgroundColor: { colors: [ "#fff", "#fff" ] },
     98                                                borderWidth: 1,
     99                                                borderColor:'#555'
     100                                        }
     101                                });
    78102    }
    79103
     
    120144                        }
    121145                </style>
     146             
    122147<div class="main-content" >
    123148    <div id="breadcrumbs" class="breadcrumbs">
     
    268293</div><!-- /.modal-dialog -->
    269294<?php
    270 $this->load->view('layout/admin/footer', array('base_url' => $base_url, 'adminjs' => array('assets/js/admin/smstemplate.js')));
     295$this->load->view('layout/admin/footer', array('base_url' => $base_url, 'adminjs' => array('assets/js/admin/report.js')));
    271296?>
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/listview.php

    r442 r444  
    55            <!-- PAGE CONTENT BEGINS -->
    66            <div style="padding-bottom:4px" class="table-header">
    7                 Tin nhắn
     7                Thống kê
    88
    9                 <button href="#addSms" data-toggle="modal" class="btn btn-success pull-right">
    10                     <i class="icon-plus"></i>
    11                     Thêm tin nhắn
    12                 </button>
     9             
    1310
    1411            </div>
     
    7572                                <td class=" "><?php echo $paidlog['cellphone']?></td>
    7673                               
    77                                 <td class="hidden-480 "><?php echo $paidlog['amount']?></td>
     74                                <td class="hidden-480 "><?php echo number_format($paidlog['amount'],0);?></td>
    7875                                <td class="hidden-480 "><?php if ($paidlog['paid_type']==1) {echo "SMS";} else { echo "Card";}?></td>
    7976                                <td class=" "><?php echo $paidlog['paid_time']?></td>
  • pro-violet-viettel/sourcecode/application/modules/admin/views/report/statistics.php

    r441 r444  
    2929                                <td>Tuần trước</td>
    3030                                <td>
    31                                     <?php echo $revenue['last_week'];?>
     31                                    <?php echo number_format($revenue['last_week'],0); ?>
    3232                                </td>
    3333                            </tr>
     
    3535                                <td>Tháng trước</td>
    3636                                <td>
    37                                     <?php echo $revenue['last_month'];?>
     37                                    <?php echo number_format($revenue['last_month'],0); ?>
    3838                                </td>
    3939                            </tr>
     
    4141                                <td>QuÜ trước</td>
    4242                                <td>
    43                                     <?php echo $revenue['last_quarter'];?>
     43                                    <?php echo number_format($revenue['last_quarter'],0); ?>
    4444                                </td>
    4545                            </tr>
     
    4747                                <td>Năm trước</td>
    4848                                <td>
    49                                     <?php echo $revenue['last_year'];?>
     49                                    <?php  echo number_format($revenue['last_year'],0); ?>
    5050                                </td>
    5151                            </tr>
     
    7171                </div>
    7272            </div>
    73 
     73           
    7474            <div class="widget-body">
    7575                <div class="widget-main padding-4">
    76                     <div id="sales-charts" style="width: 100%; height: 200px; padding: 0px; position: relative;"><canvas class="flot-base" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 534px; height: 200px;" width="534" height="200"></canvas><div class="flot-text" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; font-size: smaller; color: rgb(84, 84, 84);"><div class="flot-x-axis flot-x1-axis xAxis x1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div style="position: absolute; max-width: 76px; top: 184px; left: 29px; text-align: center;" class="flot-tick-label tickLabel">0.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 110px; text-align: center;" class="flot-tick-label tickLabel">1.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 192px; text-align: center;" class="flot-tick-label tickLabel">2.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 274px; text-align: center;" class="flot-tick-label tickLabel">3.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 355px; text-align: center;" class="flot-tick-label tickLabel">4.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 437px; text-align: center;" class="flot-tick-label tickLabel">5.0</div><div style="position: absolute; max-width: 76px; top: 184px; left: 519px; text-align: center;" class="flot-tick-label tickLabel">6.0</div></div><div class="flot-y-axis flot-y1-axis yAxis y1Axis" style="position: absolute; top: 0px; left: 0px; bottom: 0px; right: 0px; display: block;"><div style="position: absolute; top: 172px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-2.000</div><div style="position: absolute; top: 150px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-1.500</div><div style="position: absolute; top: 129px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-1.000</div><div style="position: absolute; top: 107px; left: 1px; text-align: right;" class="flot-tick-label tickLabel">-0.500</div><div style="position: absolute; top: 86px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">0.000</div><div style="position: absolute; top: 65px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">0.500</div><div style="position: absolute; top: 43px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">1.000</div><div style="position: absolute; top: 22px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">1.500</div><div style="position: absolute; top: 1px; left: 4px; text-align: right;" class="flot-tick-label tickLabel">2.000</div></div></div><canvas class="flot-overlay" style="direction: ltr; position: absolute; left: 0px; top: 0px; width: 534px; height: 200px;" width="534" height="200"></canvas><div class="legend"><div style="position: absolute; width: 86px; height: 66px; top: 13px; right: 13px; background-color: rgb(255, 255, 255); opacity: 0.85;"> </div><table style="position:absolute;top:13px;right:13px;;font-size:smaller;color:#545454"><tbody><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #1abc9c;overflow:hidden"></div></div></td><td class="legendLabel">SMS</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #e67e22;overflow:hidden"></div></div></td><td class="legendLabel">Thẻ cào</td></tr><tr><td class="legendColorBox"><div style="border:1px solid #ccc;padding:1px"><div style="width:4px;height:0;border:5px solid #3498db;overflow:hidden"></div></div></td><td class="legendLabel">Cộng tác viên</td></tr></tbody></table></div></div>
     76                    <div id="sales-charts"></div>
    7777                </div><!-- /widget-main -->
    78             </div><!-- /widget-body -->
     78            </div>
     79           
    7980        </div><!-- /widget-box -->
    8081    </div>
     
    8687    <!-- PAGE CONTENT ENDS -->
    8788</div>
     89<script type="text/javascript">
     90
     91
     92</script>
Note: See TracChangeset for help on using the changeset viewer.