- Timestamp:
- Nov 10, 2014 2:08:04 PM (11 years ago)
- 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 76 76 77 77 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 }); 78 102 } 79 103 … … 120 144 } 121 145 </style> 146 122 147 <div class="main-content" > 123 148 <div id="breadcrumbs" class="breadcrumbs"> … … 268 293 </div><!-- /.modal-dialog --> 269 294 <?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'))); 271 296 ?> -
pro-violet-viettel/sourcecode/application/modules/admin/views/report/listview.php
r442 r444 5 5 <!-- PAGE CONTENT BEGINS --> 6 6 <div style="padding-bottom:4px" class="table-header"> 7 T in nhắn7 Thá»ng kê 8 8 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 13 10 14 11 </div> … … 75 72 <td class=" "><?php echo $paidlog['cellphone']?></td> 76 73 77 <td class="hidden-480 "><?php echo $paidlog['amount']?></td>74 <td class="hidden-480 "><?php echo number_format($paidlog['amount'],0);?></td> 78 75 <td class="hidden-480 "><?php if ($paidlog['paid_type']==1) {echo "SMS";} else { echo "Card";}?></td> 79 76 <td class=" "><?php echo $paidlog['paid_time']?></td> -
pro-violet-viettel/sourcecode/application/modules/admin/views/report/statistics.php
r441 r444 29 29 <td>Tuần trưá»c</td> 30 30 <td> 31 <?php echo $revenue['last_week'];?>31 <?php echo number_format($revenue['last_week'],0); ?> 32 32 </td> 33 33 </tr> … … 35 35 <td>Tháng trưá»c</td> 36 36 <td> 37 <?php echo $revenue['last_month'];?>37 <?php echo number_format($revenue['last_month'],0); ?> 38 38 </td> 39 39 </tr> … … 41 41 <td>QuÜ trưá»c</td> 42 42 <td> 43 <?php echo $revenue['last_quarter'];?>43 <?php echo number_format($revenue['last_quarter'],0); ?> 44 44 </td> 45 45 </tr> … … 47 47 <td>NÄm trưá»c</td> 48 48 <td> 49 <?php echo $revenue['last_year'];?>49 <?php echo number_format($revenue['last_year'],0); ?> 50 50 </td> 51 51 </tr> … … 71 71 </div> 72 72 </div> 73 73 74 74 <div class="widget-body"> 75 75 <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> 77 77 </div><!-- /widget-main --> 78 </div><!-- /widget-body --> 78 </div> 79 79 80 </div><!-- /widget-box --> 80 81 </div> … … 86 87 <!-- PAGE CONTENT ENDS --> 87 88 </div> 89 <script type="text/javascript"> 90 91 92 </script>
Note: See TracChangeset
for help on using the changeset viewer.