andrewboy/laravel-statistics-panel

There is no license information available for the latest version (dev-master) of this package.

Laravel package for statistics panel.

dev-master 2017-03-08 11:18 UTC

This package is not auto-updated.

Last update: 2024-11-23 20:26:08 UTC


README

readme

(function(stat_widgets){ function StatDiaperGrid(id) { this.id = id; }

StatDiaperGrid.prototype = Object.create(window.statistics_panel.widgets.grid.prototype);
StatDiaperGrid.prototype.constructor = StatDiaperGrid;
StatDiaperGrid.prototype.init = function() {};
StatDiaperGrid.prototype.update = function(data) {
    this.setGrid(data.data);
    $('.summary', this.getFooter()).text(data.total);
};

stat_widgets.diaper_grid = StatDiaperGrid;

}(window.statistics_panel.stat_widgets));