updating tpv notification

parent bcb511fa
......@@ -266,10 +266,8 @@ dashboardControllers.controller('StudentSetupCtrl', function StudentSetupCtrl(
if ($stateParams.serial) {
if ($stateParams.serial == 0)
ngToast.danger($translate.instant('tpv_error'));
else {
$scope.formUser.license_number = $stateParams.serial;
else
$scope.updateStudent();
}
}
/**
......
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