forked from DGNum/gestioCOF
Déplace une fonction js
This commit is contained in:
parent
de10392a7f
commit
435bb392ea
2 changed files with 4 additions and 4 deletions
|
@ -1,3 +1,7 @@
|
|||
function dateUTCToParis(date) {
|
||||
return moment.tz(date, 'UTC').tz('Europe/Paris');
|
||||
}
|
||||
|
||||
function KHistory(options = {}) {
|
||||
$.extend(this, KHistory.default_options, options);
|
||||
|
||||
|
|
|
@ -80,10 +80,6 @@ var OperationWebSocket = new KfetWebsocket({
|
|||
'default_msg': {'opegroups':[],'opes':[],'checkouts':[],'articles':[]},
|
||||
});
|
||||
|
||||
function dateUTCToParis(date) {
|
||||
return moment.tz(date, 'UTC').tz('Europe/Paris');
|
||||
}
|
||||
|
||||
function amountDisplay(amount, is_cof=false, tri='') {
|
||||
if (tri == 'LIQ')
|
||||
return (- amount).toFixed(2) +'€';
|
||||
|
|
Loading…
Reference in a new issue