3811-ticket.sale_updatePrice #1099
No reviewers
Labels
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: verdnatura/salix#1099
Loading…
Reference in New Issue
No description provided.
Delete Branch "3811-ticket.sale_updatePrice"
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?
feat: en vez de consultar si el usuario está en la tabla workerMana, consultar es si el usuario está en un departamento que cuelga de ventasto 3811-ticket.sale_updatePrice@ -79,10 +79,18 @@ describe('sale updatePrice()', () => {
const price = 5.4;
const originalSalesPersonMana = await models.WorkerMana.findById(18, null, options);
const manaComponent = await models.Component.findOne({where: {code: 'mana'}}, options);
const teamCLopez = 96;
Utilizar datos genéricos
@ -0,0 +12,4 @@
try {
const options = {transaction: tx};
const teamCLopez = 96;
Utilizar datos genericos
@ -110,6 +110,11 @@ describe('sale updateDiscount()', () => {
const componentId = manaDiscount.id;
const manaCode = 'mana';
const teamCLopez = 96;
Generico
@ -279,3 +289,3 @@
<div ng-if="$ctrl.edit.mana != null">
<section class="header vn-pa-md">
<h5>Mana: {{::$ctrl.edit.mana | currency: 'EUR':0}}</h5>
<h5>MANÁ: {{::$ctrl.edit.mana | currency: 'EUR': 0}}</h5>
EN minúsculas, convertirlo a traducción