Item Fixed prices #307
|
@ -318,16 +318,14 @@ const addRow = () => {
|
||||||
const daysInWeek = 7;
|
const daysInWeek = 7;
|
||||||
const nextWeek = new Date(today.getTime() + daysInWeek * millisecsInDay);
|
const nextWeek = new Date(today.getTime() + daysInWeek * millisecsInDay);
|
||||||
|
|
||||||
jsegarra marked this conversation as resolved
|
|||||||
fixedPricesOriginalData.value.push({
|
const newPrice = {
|
||||||
started: today,
|
started: today,
|
||||||
ended: nextWeek,
|
ended: nextWeek,
|
||||||
hasMinPrice: 0,
|
hasMinPrice: 0,
|
||||||
});
|
};
|
||||||
fixedPrices.value.push({
|
|
||||||
started: today,
|
fixedPricesOriginalData.value.push({ ...newPrice });
|
||||||
ended: nextWeek,
|
fixedPrices.value.push({ ...newPrice });
|
||||||
hasMinPrice: 0,
|
|
||||||
});
|
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Mismo objeto
Cambiado
Commit:
dce48b536d