refs #5753 db export and fix fixtures #1643
Labels
No Milestone
No Assignees
3 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1643
Loading…
Reference in New Issue
No description provided.
Delete Branch "5753_232401_db_dump"
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?
refs #5753 db export and fix fixturesto WIP: refs #5753 db export and fix fixtures@ -411,4 +412,4 @@
},
order: 'id DESC'
}, ctx.options);
Lo que faig es mirar si el worker del ultim credit te isNotEditableCredit(FinancialBoss).
I mirar si el usuari te isNotEditableCredit.
WIP: refs #5753 db export and fix fixturesto refs #5753 db export and fix fixtures@ -417,3 +416,1 @@
if (lastAmount == 0 && lastCreditIsNotEditable)
throw new UserError(`You can't change the credit set to zero from a financialBoss`);
if (lastCredit) {
lastCredit.amount == 0
@ -418,2 +416,2 @@
if (lastAmount == 0 && lastCreditIsNotEditable)
throw new UserError(`You can't change the credit set to zero from a financialBoss`);
if (lastCredit) {
const canEdit =
zeroCreditEditor
@ -419,1 +416,3 @@
throw new UserError(`You can't change the credit set to zero from a financialBoss`);
if (lastCredit) {
const canEdit =
await models.ACL.checkAccessAcl(accessToken, 'Client', 'isNotEditableCredit', 'WRITE');
zeroCreditEditor