|
|
@@ -1293,7 +1293,7 @@ let ingredientDetails = {
|
|
|
for(let i = 1; i < 31; i++){
|
|
|
let endDay = new Date(now.getFullYear(), now.getMonth(), now.getDate() - i)
|
|
|
let startDay = new Date(now.getFullYear(), now.getMonth(), now.getDate() - i - 1);
|
|
|
- let indices = controller.transactionIndices(merchant.transactions, startDate, endDay);
|
|
|
+ let indices = controller.transactionIndices(merchant.transactions, startDay, endDay);
|
|
|
|
|
|
if(indices === false){
|
|
|
quantities.push(0);
|