@@ -20,15 +20,15 @@ export class LocationLatitudeInputValidator
2020 return ! latitudeInput ;
2121 } else if (
2222 ( ( args . object as SourcingDataExcelValidator ) . location_type ===
23- LOCATION_TYPES . AGGREGATION_POINT ||
23+ LOCATION_TYPES . PRODUCTION_AGGREGATION_POINT ||
2424 ( args . object as SourcingDataExcelValidator ) . location_type ===
2525 LOCATION_TYPES . POINT_OF_PRODUCTION ) &&
2626 ( args . object as SourcingDataExcelValidator ) . location_address_input
2727 ) {
2828 return ! latitudeInput ;
2929 } else if (
3030 ( ( args . object as SourcingDataExcelValidator ) . location_type ===
31- LOCATION_TYPES . AGGREGATION_POINT ||
31+ LOCATION_TYPES . PRODUCTION_AGGREGATION_POINT ||
3232 ( args . object as SourcingDataExcelValidator ) . location_type ===
3333 LOCATION_TYPES . POINT_OF_PRODUCTION ) &&
3434 ! ( args . object as SourcingDataExcelValidator ) . location_address_input
@@ -50,7 +50,7 @@ export class LocationLatitudeInputValidator
5050 } `;
5151 } else if (
5252 ( ( args . object as SourcingDataExcelValidator ) . location_type ===
53- LOCATION_TYPES . AGGREGATION_POINT ||
53+ LOCATION_TYPES . PRODUCTION_AGGREGATION_POINT ||
5454 ( args . object as SourcingDataExcelValidator ) . location_type ===
5555 LOCATION_TYPES . POINT_OF_PRODUCTION ) &&
5656 ( args . object as SourcingDataExcelValidator ) . location_address_input
@@ -60,7 +60,7 @@ export class LocationLatitudeInputValidator
6060 } . Latitude must be empty if address is provided`;
6161 } else if (
6262 ( args . object as SourcingDataExcelValidator ) . location_type ===
63- LOCATION_TYPES . AGGREGATION_POINT ||
63+ LOCATION_TYPES . PRODUCTION_AGGREGATION_POINT ||
6464 ( args . object as SourcingDataExcelValidator ) . location_type ===
6565 LOCATION_TYPES . POINT_OF_PRODUCTION
6666 ) {
0 commit comments