forked from DGNum/gestioCOF
Rename History class
This commit is contained in:
parent
e051631a34
commit
7ec7ed2696
5 changed files with 5 additions and 5 deletions
|
@ -1,4 +1,4 @@
|
|||
class History {
|
||||
class KHistory {
|
||||
|
||||
constructor(api_options, display_options) {
|
||||
this.templates = {
|
||||
|
|
|
@ -5,7 +5,7 @@ class KPsulManager {
|
|||
this.account_manager = new AccountManager(this);
|
||||
this.checkout_manager = new CheckoutManager(this);
|
||||
this.article_manager = new ArticleManager(this);
|
||||
this.history = new History();
|
||||
this.history = new KHistory();
|
||||
}
|
||||
|
||||
reset(soft) {
|
||||
|
|
|
@ -105,7 +105,7 @@ $(document).ready(function() {
|
|||
// Lock to avoid multiple requests
|
||||
window.lock = 0;
|
||||
|
||||
var history = new History();
|
||||
var history = new KHistory();
|
||||
history.api_options = {
|
||||
'accounts': [{{ account.pk }}],
|
||||
};
|
||||
|
|
|
@ -65,7 +65,7 @@ $(document).ready(function() {
|
|||
'use strict';
|
||||
|
||||
|
||||
var history = new History();
|
||||
var history = new KHistory();
|
||||
|
||||
var $from_date = $('#from_date');
|
||||
var $to_date = $('#to_date');
|
||||
|
|
|
@ -54,7 +54,7 @@ $(document).ready(function() {
|
|||
// Lock to avoid multiple requests
|
||||
window.lock = 0;
|
||||
|
||||
var history = new History();
|
||||
var history = new KHistory();
|
||||
history.api_options = {
|
||||
'transfersonly': true,
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue