Item Fixed prices #307

Merged
jsegarra merged 17 commits from :feature/FixedPrices into dev 2024-04-24 07:39:23 +00:00
1 changed files with 5 additions and 7 deletions
Showing only changes of commit dce48b536d - Show all commits

View File

@ -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
Review

Mismo objeto

Mismo objeto
Review

Cambiado

Commit: dce48b536d

Cambiado Commit: https://gitea.verdnatura.es/verdnatura/salix-front/commit/dce48b536d536ab01a401422662ce14533085f42
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;
} }