requested changes

This commit is contained in:
Pau 2022-11-10 14:53:08 +01:00
parent 2704017486
commit 01fe8c8997
2 changed files with 1 additions and 2 deletions

View File

@ -83,7 +83,6 @@
</vn-card> </vn-card>
<div class="totalBox align-left" ng-show="::$ctrl.haveNegatives"> <div class="totalBox align-left" ng-show="::$ctrl.haveNegatives">
<vn-check <vn-check
checked="true"
ng-model="$ctrl.ticket.withoutNegatives" ng-model="$ctrl.ticket.withoutNegatives"
label="Create without negatives" label="Create without negatives"
info="Clone this ticket with the changes and only sales availables"> info="Clone this ticket with the changes and only sales availables">

View File

@ -76,7 +76,7 @@ class Controller extends Component {
haveNotNegatives = true; haveNotNegatives = true;
}); });
this.ticket.withoutNegatives = false; this.ticket.withoutNegatives = true;
this.haveNegatives = (haveNegatives && haveNotNegatives && haveDifferences); this.haveNegatives = (haveNegatives && haveNotNegatives && haveDifferences);
} }