Commit 9615e02b authored by Hamza Arfaoui's avatar Hamza Arfaoui

CAFI198

parent 34f1d0ab
...@@ -1256,7 +1256,7 @@ app.controller("CaisseController", ['$http', '$scope', '$controller', '$timeout' ...@@ -1256,7 +1256,7 @@ app.controller("CaisseController", ['$http', '$scope', '$controller', '$timeout'
if (that.params.is_afa && $scope.afa_switched && $scope.chosenAction) { if (that.params.is_afa && $scope.afa_switched && $scope.chosenAction) {
msg = $scope.getOrientationByID($scope.chosenAction.id_orientation); msg = $scope.getOrientationByID($scope.chosenAction.id_orientation);
} else { } else {
if ($scope.motifsorientations && $scope.chosenMotif.length == 1) { if ($scope.motifsorientations) {
// Orientation by motif enabled and not multiple choices // Orientation by motif enabled and not multiple choices
msg = $scope.getOrientationByMotif($scope.chosenMotif); msg = $scope.getOrientationByMotif($scope.chosenMotif);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment