UpdateCurrencyRate.php
authorEdward <edward@roojs.com>
Mon, 20 Oct 2014 08:41:00 +0000 (16:41 +0800)
committerEdward <edward@roojs.com>
Mon, 20 Oct 2014 08:41:00 +0000 (16:41 +0800)
UpdateCurrencyRate.php

index 433f07c..2bf7b74 100644 (file)
@@ -58,7 +58,12 @@ class Pman_Core_UpdateCurrencyRate extends Pman
         $fromDate = date('m/d/y', strtotime("-6 MONTH"));
         $toDate = date('m/d/y');
         
+        $total = count($currency);
+        
         foreach ($currency as $k => $c){
+            
+            echo "\nProcessing Currency : $c        ($k / $total)";
+            
             $params = array(
                 'lang'          => 'en',
                 'result'        => 1,