Passed
Pull Request — master (#41)
by pablo
04:46
created
templates/checkout_description.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
                     selector: '.pagantisSimulator',
38 38
                     totalAmount: '<?php echo $total; ?>',
39 39
                     totalPromotedAmount: '<?php echo $promoted_amount; ?>',
40
-                    skin : <?php echo $pagantisSimulatorSkin;?>,
40
+                    skin : <?php echo $pagantisSimulatorSkin; ?>,
41 41
                     locale: locale,
42 42
                     country: country
43 43
                 });
Please login to merge, or discard this patch.
WC_Pagantis.php 1 patch
Indentation   +21 added lines, -21 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 
12 12
 
13 13
 if (!defined('ABSPATH')) {
14
-     exit;
14
+        exit;
15 15
 }
16 16
 
17 17
 class WcPagantis
@@ -33,25 +33,25 @@  discard block
 block discarded – undo
33 33
     const ORDERS_TABLE = 'posts';
34 34
 
35 35
     public $defaultConfigs = array(
36
-       'PAGANTIS_TITLE'=>'Pago en cuotas',
37
-       'PAGANTIS_SIMULATOR_DISPLAY_TYPE'=>'sdk.simulator.types.SELECTABLE_TEXT_CUSTOM',
38
-       'PAGANTIS_SIMULATOR_DISPLAY_SKIN'=>'sdk.simulator.skins.BLUE',
39
-       'PAGANTIS_SIMULATOR_DISPLAY_POSITION'=>'hookDisplayProductButtons',
40
-       'PAGANTIS_SIMULATOR_START_INSTALLMENTS'=>3,
41
-       'PAGANTIS_SIMULATOR_MAX_INSTALLMENTS'=>12,
42
-       'PAGANTIS_SIMULATOR_CSS_POSITION_SELECTOR'=>'default',
43
-       'PAGANTIS_SIMULATOR_DISPLAY_CSS_POSITION'=>'sdk.simulator.positions.INNER',
44
-       'PAGANTIS_SIMULATOR_CSS_PRICE_SELECTOR'=>'a:3:{i:0;s:48:"div.summary *:not(del)>.woocommerce-Price-amount";i:1;s:54:"div.entry-summary *:not(del)>.woocommerce-Price-amount";i:2;s:36:"*:not(del)>.woocommerce-Price-amount";}',
45
-       'PAGANTIS_SIMULATOR_CSS_QUANTITY_SELECTOR'=>'a:2:{i:0;s:22:"div.quantity input.qty";i:1;s:18:"div.quantity>input";}',
46
-       'PAGANTIS_FORM_DISPLAY_TYPE'=>0,
47
-       'PAGANTIS_DISPLAY_MIN_AMOUNT'=>1,
48
-       'PAGANTIS_DISPLAY_MAX_AMOUNT'=>0,
49
-       'PAGANTIS_URL_OK'=>'',
50
-       'PAGANTIS_URL_KO'=>'',
51
-       'PAGANTIS_ALLOWED_COUNTRIES' => 'a:3:{i:0;s:2:"es";i:1;s:2:"it";i:2;s:2:"fr";}',
52
-       'PAGANTIS_PROMOTION_EXTRA' => '<p>Finance this product <span class="pg-no-interest">without interest!</span></p>',
53
-       'PAGANTIS_SIMULATOR_THOUSANDS_SEPARATOR' => '.',
54
-       'PAGANTIS_SIMULATOR_DECIMAL_SEPARATOR' => ','
36
+        'PAGANTIS_TITLE'=>'Pago en cuotas',
37
+        'PAGANTIS_SIMULATOR_DISPLAY_TYPE'=>'sdk.simulator.types.SELECTABLE_TEXT_CUSTOM',
38
+        'PAGANTIS_SIMULATOR_DISPLAY_SKIN'=>'sdk.simulator.skins.BLUE',
39
+        'PAGANTIS_SIMULATOR_DISPLAY_POSITION'=>'hookDisplayProductButtons',
40
+        'PAGANTIS_SIMULATOR_START_INSTALLMENTS'=>3,
41
+        'PAGANTIS_SIMULATOR_MAX_INSTALLMENTS'=>12,
42
+        'PAGANTIS_SIMULATOR_CSS_POSITION_SELECTOR'=>'default',
43
+        'PAGANTIS_SIMULATOR_DISPLAY_CSS_POSITION'=>'sdk.simulator.positions.INNER',
44
+        'PAGANTIS_SIMULATOR_CSS_PRICE_SELECTOR'=>'a:3:{i:0;s:48:"div.summary *:not(del)>.woocommerce-Price-amount";i:1;s:54:"div.entry-summary *:not(del)>.woocommerce-Price-amount";i:2;s:36:"*:not(del)>.woocommerce-Price-amount";}',
45
+        'PAGANTIS_SIMULATOR_CSS_QUANTITY_SELECTOR'=>'a:2:{i:0;s:22:"div.quantity input.qty";i:1;s:18:"div.quantity>input";}',
46
+        'PAGANTIS_FORM_DISPLAY_TYPE'=>0,
47
+        'PAGANTIS_DISPLAY_MIN_AMOUNT'=>1,
48
+        'PAGANTIS_DISPLAY_MAX_AMOUNT'=>0,
49
+        'PAGANTIS_URL_OK'=>'',
50
+        'PAGANTIS_URL_KO'=>'',
51
+        'PAGANTIS_ALLOWED_COUNTRIES' => 'a:3:{i:0;s:2:"es";i:1;s:2:"it";i:2;s:2:"fr";}',
52
+        'PAGANTIS_PROMOTION_EXTRA' => '<p>Finance this product <span class="pg-no-interest">without interest!</span></p>',
53
+        'PAGANTIS_SIMULATOR_THOUSANDS_SEPARATOR' => '.',
54
+        'PAGANTIS_SIMULATOR_DECIMAL_SEPARATOR' => ','
55 55
     );
56 56
 
57 57
     /** @var Array $extraConfig */
@@ -387,7 +387,7 @@  discard block
 block discarded – undo
387 387
         if ($file == plugin_basename(__FILE__)) {
388 388
             $links[] = '<a href="'.WcPagantis::GIT_HUB_URL.'" target="_blank">'.__('Documentation', 'pagantis').'</a>';
389 389
             $links[] = '<a href="'.WcPagantis::PAGANTIS_DOC_URL.'" target="_blank">'.
390
-                       __('API documentation', 'pagantis').'</a>';
390
+                        __('API documentation', 'pagantis').'</a>';
391 391
             $links[] = '<a href="'.WcPagantis::SUPPORT_EML.'">'.__('Support', 'pagantis').'</a>';
392 392
 
393 393
             return $links;
Please login to merge, or discard this patch.