|
@@ -351,7 +351,7 @@ define([ 'app/app' ], function(app) {
|
|
|
*/
|
|
|
function validateBrand(brand) {
|
|
|
if (!brand) return false;
|
|
|
- if ($scope.application.type ==='ORIGINAL_FACTORY') {
|
|
|
+ if ($scope.storeType ==='ORIGINAL_FACTORY') {
|
|
|
var props = ['certificate', 'status', 'registrant', 'number', 'address', 'registrationDate', 'effectiveDate', 'approvalUnit'];
|
|
|
|
|
|
var flag = true;
|
|
@@ -372,7 +372,7 @@ define([ 'app/app' ], function(app) {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- if ($scope.application.type ==='AGENCY'){
|
|
|
+ if ($scope.storeType ==='AGENCY'){
|
|
|
var props = ['authorizedDate', 'authorizedStatus', 'authorizedFrom'];
|
|
|
|
|
|
var flag = true;
|