-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Merged in SC-101 (pull request #6) SC-101 error CartItemInterface not found * SC-101 error CartItemInterface not found * Merged in feature/SC-104 (pull request #4) Release 1.2.4 Fixed the partial payment widget cheapest option price * Release 1.2.4 Fixed the partial payment widget cheapest option price * Merged in UDC-16 (pull request #7) UDC-16 fix update svea blcoks on ajax request * UDC-16 fix update svea blcoks on ajax request * Merged in SC-113 (pull request #12) SC-113 * [SC-113] Fixed issue where CheckoutException could receive constructor parameter of incorrect type (string instead of Phrase). Refactored exception throwing functions for better consistency. Fixed some coding standard violations Approved-by: Alexandru-Georgian Mazalu * v1.2.8 * [SC-118] Improved and expanded logic for how Invoice Fee rows are detected * bump composer version * Merged in SC-118 (pull request #13) SC-118 * [SC-118] Invoice fee detection is now done using Article Number. Also sets invoice fee on quote addresses before submitting, so the fee gets copied to order * v1.2.10 * Merged in SC-118-2 (pull request #14) [SC-118] Adds missing Invoice Fee Article Number definition * [SC-118] Adds missing Invoice Fee Article Number definition Approved-by: Alexandru-Georgian Mazalu * Version bumped 1.2.10 => 1.2.11 * Merged in SC-121 (pull request #15) SC-121 * [SC-121] Fixes definition of svea_invoice_fee column in various tables to be able to store decimals Approved-by: Alexandru-Georgian Mazalu * Version bumped 1.2.11 => 1.2.12 * Merged in SC-123 (pull request #16) [SC-123] * [SC-123] Changes sequence separator to a bind, since using an underscore causes payment issues with certain payment methods (Vipps) Approved-by: Alexandru-Georgian Mazalu * Merged in SC-124 (pull request #17) SC-124 * [SC-124] Saves transaction ID on invoice during capture so that refund online can be performed Approved-by: Alexandru-Georgian Mazalu * 1.2.13 * Merged in SC-128 (pull request #19) SC-128 * Version bumped 1.2.13 => 1.2.14 * [SC-128] Changed method of saving payment method in Push controller to a more efficient and less error-prone version Approved-by: Alexandru-Georgian Mazalu * Merged in SC-130 (pull request #20) [SC-130] * [SC-130] Fixes issue where Svea Checkout woudln't work with fixed discounts on whole cart amount, with discounts applied on prices excluding tax. This was caused by excessive calls to collectTotals() functions, so they are now reduced to just one call. Approved-by: Alexandru-Georgian Mazalu * Merged in SC-130 (pull request #21) SC-130 Version bumped 1.2.14 => 1.2.15 * [SC-130] Fixes issue where Svea Checkout woudln't work with fixed discounts on whole cart amount, with discounts applied on prices excluding tax. This was caused by excessive calls to collectTotals() functions, so they are now reduced to just one call. * [SC-130] Version bumped 1.2.14 => 1.2.15 * Merge branch 'develop' into SC-130 Approved-by: Benjamin Ramnek * Merged in SC-133 (pull request #23) SC-133 * [SC-133] Fixes issue where config for allowed customer types would only be retrieved from default config scope * [SC-133] Version bumped 1.2.15 => 1.2.16 Approved-by: Alexandru-Georgian Mazalu * Merged in SC-134 (pull request #24) [SC-134] Adding customer reference * [SC-134] Sets customer reference on order payment additional info when order is placed. Reference be shown on order view page in admin. Approved-by: Alexandru-Georgian Mazalu Co-authored-by: Sergiu Moscalu <[email protected]> Co-authored-by: martin.sternelius <[email protected]> Co-authored-by: Alex Mazalu <[email protected]>
- Loading branch information
1 parent
c8e5819
commit 1404cad
Showing
7 changed files
with
52 additions
and
53 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,16 +1,27 @@ | ||
<?php | ||
use Svea\Checkout\Block\Payment\Checkout\Info; | ||
use Magento\Framework\Escaper; | ||
|
||
/** | ||
* @var $block \Svea\Checkout\Block\Payment\Checkout\Info | ||
* @var Info $block | ||
* @var Escaper $escaper | ||
*/ | ||
|
||
?> | ||
<div class="order-payment-method-name"><?php echo $block->escapeHtml($block->getMethod()->getTitle()); ?></div> | ||
<div class="order-payment-method-name"><?= $escaper->escapeHtml($block->getMethod()->getTitle()); ?></div> | ||
<table class="data-table admin__table-secondary"> | ||
<tr> | ||
<th><?php echo $block->escapeHtml(__('Svea Checkout Order ID')); ?>:</th> | ||
<td><?php echo $block->escapeHtml($block->getSveaCheckoutId()); ?></td> | ||
<th><?= $escaper->escapeHtml(__('Svea Checkout Order ID')); ?>:</th> | ||
<td><?= $escaper->escapeHtml($block->getSveaCheckoutId()); ?></td> | ||
</tr> | ||
<tr> | ||
<th><?php echo $block->escapeHtml(__('Svea Payment Method')); ?>:</th> | ||
<td><?php echo $block->escapeHtml($block->getSveaPaymentMethod()); ?></td> | ||
<th><?= $escaper->escapeHtml(__('Svea Payment Method')); ?>:</th> | ||
<td><?= $escaper->escapeHtml($block->getSveaPaymentMethod()); ?></td> | ||
</tr> | ||
<?php if ($block->getSveaCustomerReference()): ?> | ||
<tr> | ||
<th><?= $escaper->escapeHtml(__('Svea Customer Payment Reference')) ?>:</th> | ||
<td><?= $escaper->escapeHtml($block->getSveaCustomerReference()) ?> | ||
</tr> | ||
<?php endif ?> | ||
</table> |