Completed
Push — master ( fb0bef...1ce86f )
by Nicolaas
02:37
created
code/model/process/extensions/CountryPrice_OrderDOD.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -100,7 +100,7 @@  discard block
 block discarded – undo
100 100
         $order = Order::get()->byID($order->ID);
101 101
         $orderHasBeenChanged = false;
102 102
 
103
-         //check currency ...
103
+            //check currency ...
104 104
         if ($order->CurrencyUsedID != $currencyObject->ID) {
105 105
             $order->SetCurrency($currencyObject);
106 106
             $orderHasBeenChanged = true;
@@ -148,7 +148,7 @@  discard block
 block discarded – undo
148 148
                 'Root.Country',
149 149
                 DropdownField::create(
150 150
                     'DistributorID',
151
-                     _t('Distributor.SINGULAR_NAME', 'Distributor'),
151
+                        _t('Distributor.SINGULAR_NAME', 'Distributor'),
152 152
                     array(''=> '--- Please select ---') + Distributor::get()->map()->toArray()
153 153
                 )
154 154
             );
Please login to merge, or discard this patch.
code/model/address/CountryPrice_EcommerceCountry.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -163,9 +163,9 @@
 block discarded – undo
163 163
     }
164 164
 
165 165
     /**
166
-    * checks if the country has a distributor
167
-    * and returns the primary country for the distributor.
168
-    * If not, returns the defaulf country.
166
+     * checks if the country has a distributor
167
+     * and returns the primary country for the distributor.
168
+     * If not, returns the defaulf country.
169 169
      *
170 170
      * @return EcommerceCountry
171 171
      *
Please login to merge, or discard this patch.