check default true #1132

Merged
pau merged 5 commits from 4484-ticket-withOutNegatives-default-true into dev 2022-11-15 07:56:52 +00:00
2 changed files with 1 additions and 2 deletions
Showing only changes of commit 01fe8c8997 - Show all commits

View File

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

View File

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