fix: eliminada variable que no estaba definida
gitea/salix/pipeline/head This commit looks good Details

This commit is contained in:
Vicent Llopis 2023-06-20 10:40:57 +02:00
parent dcfb991f94
commit cea6fae649
1 changed files with 1 additions and 1 deletions

View File

@ -81,7 +81,7 @@ module.exports = Self => {
throw new UserError('You must delete all the buy requests first');
// removes item shelvings
if (hasItemShelvingSales && isSalesAssistant) {
if (hasItemShelvingSales && canDeleteTicketWithPartPrepared) {
const promises = [];
for (let sale of sales) {
if (sale.itemShelvingSale()) {