andrewboy / laravel-statistics-panel
Laravel package for statistics panel.
Installs: 169
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Language:JavaScript
Requires
- php: >=5.5.9
- illuminate/support: >5.0
Requires (Dev)
- fabpot/php-cs-fixer: ^1.10
- laravel/laravel: 5.1.*
- phpunit/phpunit: 4.*
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));