Loading commerce_inpost.install +6 −1 Changes for commerce_inpost.install: 6 added lines, 1 removed line. Original line number Diff line number Diff line <?php /** * @file * Install function for commerce_inpost. */ /** * Implements hook_install(). */ function commerce_inpost_install() { /** Hacky way to ensure that our module overwrites templates from commerce_order */ /* Hacky way to ensure that our module overwrites templates from commerce_order */ module_set_weight('commerce_inpost', 42); module_set_weight('commerce_order', 41); } src/Plugin/Commerce/CheckoutPane/InPostPane.php +1 −1 Changes for src/Plugin/Commerce/CheckoutPane/InPostPane.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -291,7 +291,7 @@ class InPostPane extends CheckoutPaneBase { if (isset($shipments[0])) { $address = $shipments[0]->getShippingProfile() ->get('address') ->first();; ->first(); $profile = Profile::create([ 'type' => 'customer', 'uid' => $this->order->getCustomerId(), Loading src/Plugin/Commerce/CheckoutPane/InpostReviewPane.php +0 −2 Changes for src/Plugin/Commerce/CheckoutPane/InpostReviewPane.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line <?php namespace Drupal\commerce_inpost\Plugin\Commerce\CheckoutPane; use Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneBase; use Drupal\Core\Form\FormStateInterface; Loading Loading
commerce_inpost.install +6 −1 Changes for commerce_inpost.install: 6 added lines, 1 removed line. Original line number Diff line number Diff line <?php /** * @file * Install function for commerce_inpost. */ /** * Implements hook_install(). */ function commerce_inpost_install() { /** Hacky way to ensure that our module overwrites templates from commerce_order */ /* Hacky way to ensure that our module overwrites templates from commerce_order */ module_set_weight('commerce_inpost', 42); module_set_weight('commerce_order', 41); }
src/Plugin/Commerce/CheckoutPane/InPostPane.php +1 −1 Changes for src/Plugin/Commerce/CheckoutPane/InPostPane.php: 1 added line, 1 removed line. Original line number Diff line number Diff line Loading @@ -291,7 +291,7 @@ class InPostPane extends CheckoutPaneBase { if (isset($shipments[0])) { $address = $shipments[0]->getShippingProfile() ->get('address') ->first();; ->first(); $profile = Profile::create([ 'type' => 'customer', 'uid' => $this->order->getCustomerId(), Loading
src/Plugin/Commerce/CheckoutPane/InpostReviewPane.php +0 −2 Changes for src/Plugin/Commerce/CheckoutPane/InpostReviewPane.php: 0 added lines, 2 removed lines. Original line number Diff line number Diff line <?php namespace Drupal\commerce_inpost\Plugin\Commerce\CheckoutPane; use Drupal\commerce_checkout\Plugin\Commerce\CheckoutPane\CheckoutPaneBase; use Drupal\Core\Form\FormStateInterface; Loading