updating tpv notification

parent bcb511fa
...@@ -266,11 +266,9 @@ dashboardControllers.controller('StudentSetupCtrl', function StudentSetupCtrl( ...@@ -266,11 +266,9 @@ dashboardControllers.controller('StudentSetupCtrl', function StudentSetupCtrl(
if ($stateParams.serial) { if ($stateParams.serial) {
if ($stateParams.serial == 0) if ($stateParams.serial == 0)
ngToast.danger($translate.instant('tpv_error')); ngToast.danger($translate.instant('tpv_error'));
else { else
$scope.formUser.license_number = $stateParams.serial;
$scope.updateStudent(); $scope.updateStudent();
} }
}
/** /**
* Opens the modal window to select and buy license * Opens the modal window to select and buy license
......
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 sign in to comment