fix: eliminada variable que no estaba definida
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
This commit is contained in:
parent
dcfb991f94
commit
cea6fae649
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue