@@ 302-307 (lines=6) @@ | ||
299 | ||
300 | $cached_lat = 0.000; |
|
301 | ||
302 | if (!$this->validateLatitude($rows[$ordersFieldsMapping['cached_lat']])) { |
|
303 | array_push($results['fail'], "$iRow --> Wrong cached_lat"); |
|
304 | $iRow++; |
|
305 | continue; |
|
306 | } else { |
|
307 | $cached_lat = doubleval($rows[$ordersFieldsMapping['cached_lat']]); |
|
308 | } |
|
309 | ||
310 | $cached_lng = 0.000; |
|
@@ 312-317 (lines=6) @@ | ||
309 | ||
310 | $cached_lng = 0.000; |
|
311 | ||
312 | if (!$this->validateLongitude($rows[$ordersFieldsMapping['cached_lng']])) { |
|
313 | array_push($results['fail'], "$iRow --> Wrong cached_lng"); |
|
314 | $iRow++; |
|
315 | continue; |
|
316 | } else { |
|
317 | $cached_lng = doubleval($rows[$ordersFieldsMapping['cached_lng']]); |
|
318 | } |
|
319 | ||
320 | if (isset($ordersFieldsMapping['curbside_lat'])) { |