@@ -163,9 +163,9 @@ |
||
| 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 | * |
@@ -1,13 +1,13 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | class EcommerceCountriesTest extends SapphireTest { |
| 3 | 3 | |
| 4 | - protected $usesDatabase = false; |
|
| 4 | + protected $usesDatabase = false; |
|
| 5 | 5 | |
| 6 | - protected $requiredExtensions = array(); |
|
| 6 | + protected $requiredExtensions = array(); |
|
| 7 | 7 | |
| 8 | - public function testMyMethod() { |
|
| 9 | - $this->assertEquals(1, 1); |
|
| 10 | - } |
|
| 8 | + public function testMyMethod() { |
|
| 9 | + $this->assertEquals(1, 1); |
|
| 10 | + } |
|
| 11 | 11 | |
| 12 | 12 | } |
| 13 | 13 | |
@@ -101,7 +101,7 @@ discard block |
||
| 101 | 101 | $order = Order::get()->byID($order->ID); |
| 102 | 102 | $orderHasBeenChanged = false; |
| 103 | 103 | |
| 104 | - //check currency ... |
|
| 104 | + //check currency ... |
|
| 105 | 105 | if ($order->CurrencyUsedID != $currencyObject->ID) { |
| 106 | 106 | $order->SetCurrency($currencyObject); |
| 107 | 107 | $orderHasBeenChanged = true; |
@@ -149,7 +149,7 @@ discard block |
||
| 149 | 149 | 'Root.Country', |
| 150 | 150 | DropdownField::create( |
| 151 | 151 | 'DistributorID', |
| 152 | - _t('Distributor.SINGULAR_NAME', 'Distributor'), |
|
| 152 | + _t('Distributor.SINGULAR_NAME', 'Distributor'), |
|
| 153 | 153 | array(''=> '--- Please select ---') + Distributor::get()->map()->toArray() |
| 154 | 154 | ) |
| 155 | 155 | ); |