-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added descriptive message to admin payment link method
- Loading branch information
1 parent
696bd94
commit 0f819e1
Showing
4 changed files
with
50 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<?php | ||
/** | ||
* Copyright © 2018 Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
namespace Mollie\Payment\Block\Form; | ||
|
||
/** | ||
* Class Paymentlink | ||
* | ||
* @package Mollie\Payment\Block\Form | ||
*/ | ||
class Paymentlink extends \Magento\Payment\Block\Form | ||
{ | ||
|
||
/** | ||
* @var string | ||
*/ | ||
protected $_template = 'Mollie_Payment::form/mollie_paymentlink.phtml'; | ||
|
||
} |
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 |
---|---|---|
@@ -0,0 +1,20 @@ | ||
<?php | ||
/** | ||
* Copyright © 2018 Magmodules.eu. All rights reserved. | ||
* See COPYING.txt for license details. | ||
*/ | ||
|
||
// @codingStandardsIgnoreFile | ||
/** | ||
* @var \Mollie\Payment\Block\Form\Paymentlink $block | ||
* @see \Mollie\Payment\Block\Form\Paymentlink | ||
// @codingStandardsIgnoreFile | ||
/** | ||
* @var \Magento\Payment\Block\Adminhtml\Transparent\Form $block | ||
*/ | ||
$code = $block->escapeHtml($block->getMethodCode()); | ||
?> | ||
<fieldset class="admin__fieldset payment-method" id="payment_form_<?php /* @noEscape */ echo $code; ?>" style="display:none"> | ||
<?= $block->escapeHtml(__('Create a Mollie Payment link and add this to the order email.')); ?> | ||
</fieldset> |