mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2024-11-08 20:22:42 +01:00
invoice items - processVariables - fix year increments in JS
Signed-off-by: Kristián Feldsam <feldsam@gmail.com>
This commit is contained in:
parent
f9021b4102
commit
9df361a378
@ -71,7 +71,7 @@ function processVariables(str) {
|
||||
var match = matches[j];
|
||||
var offset = 0;
|
||||
if (match.split('+').length > 1) {
|
||||
offset = match.split('+')[1];
|
||||
offset = parseInt(match.split('+')[1]);
|
||||
} else if (match.split('-').length > 1) {
|
||||
offset = parseInt(match.split('-')[1]) * -1;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user