From fbcc40a14581719a6cbe5e1563f191c2a4ad3ee8 Mon Sep 17 00:00:00 2001
From: snipe
Date: Tue, 6 Jun 2017 02:51:29 -0700
Subject: [PATCH] Commented out dashboard chart until proper data provided
---
resources/views/dashboard.blade.php | 53 ++++++++++++++---------------
1 file changed, 25 insertions(+), 28 deletions(-)
diff --git a/resources/views/dashboard.blade.php b/resources/views/dashboard.blade.php
index 98e64d6524..571129d894 100755
--- a/resources/views/dashboard.blade.php
+++ b/resources/views/dashboard.blade.php
@@ -152,7 +152,7 @@
-
+
@@ -263,7 +263,7 @@
@@ -387,35 +387,32 @@
- var ctx = document.getElementById('salesChart').getContext("2d")
- var myChart = new Chart(ctx, {
- type: 'line'
+ //var ctx = document.getElementById('salesChart').getContext("2d")
+ //var myChart = new Chart(ctx, {
+ // type: 'line'
+ //});
+ //$.ajax({
+ // type: 'GET',
+ // url: '{{ route('api.statuslabels.assets.bytype') }}',
+ // headers: {
+ // "X-Requested-With": 'XMLHttpRequest',
+ // "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content')
+ // },
- });
-
-
- $.ajax({
- type: 'GET',
- url: '{{ route('api.statuslabels.assets.bytype') }}',
- headers: {
- "X-Requested-With": 'XMLHttpRequest',
- "X-CSRF-TOKEN": $('meta[name="csrf-token"]').attr('content')
- },
-
- dataType: 'json',
- success: function (data) {
- var ctx = new Chart(ctx,{
- type: 'line',
- data: data,
- options: lineOptions
- });
- },
- error: function (data) {
- window.location.reload(true);
- }
- });
+ // dataType: 'json',
+ // success: function (data) {
+ // var ctx = new Chart(ctx,{
+ // type: 'line',
+ // data: data,
+ // options: lineOptions
+ // });
+ // },
+ // error: function (data) {
+ // window.location.reload(true);
+ // }
+ // });