3569-refactor_isEditable-canEdit #1082
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1082
Loading…
Reference in New Issue
No description provided.
Delete Branch "3569-refactor_isEditable-canEdit"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
WIP: 3569-refactor_isEditable-canEditto 3569-refactor_isEditable-canEdit3569-refactor_isEditable-canEditto WIP: 3569-refactor_isEditable-canEditWIP: 3569-refactor_isEditable-canEditto 3569-refactor_isEditable-canEdit3569-refactor_isEditable-canEditto WIP: 3569-refactor_isEditable-canEditWIP: 3569-refactor_isEditable-canEditto 3569-refactor_isEditable-canEdit@ -43,2 +43,3 @@
try {
const canEditSale = await models.Sale.canEdit(ctx, [id], myOptions);
if (isNaN(newQuantity))
throw new UserError(`The value should be a number`);
Ja està definit com a number en la declaració de parámetres, perque tornes a comprobar-ho?
@ -2,3 +2,3 @@
import getBrowser from '../../helpers/puppeteer';
describe('Ticket expeditions and log path', () => {
fdescribe('Ticket expeditions and log path', () => {
T'has deixat un focus ací