Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
agreement.phtml
Go to the documentation of this file.
1 <?php
7 // @codingStandardsIgnoreFile
11 $code = $block->escapeHtml($block->getMethodCode());
12 ?>
13 <div class="field items required" id="payment_form_<?= /* @noEscape */ $code ?>" style="display:none;">
14  <label for="<?= /* @noEscape */ $code ?>_ba_agreement_id" class="label">
15  <span><?= $block->escapeHtml(__('Billing Agreement')) ?></span>
16  </label>
17  <div class="control">
18  <select id="<?= /* @noEscape */ $code ?>_ba_agreement_id"
19  name="payment[<?= $block->escapeHtml($block->getTransportName()) ?>]" class="select">
20  <option value=""><?= $block->escapeHtml(__('-- Please Select Billing Agreement--')) ?></option>
21  <?php foreach ($block->getBillingAgreements() as $id => $referenceId): ?>
22  <option value="<?= $block->escapeHtml($id) ?>">
23  <?= $block->escapeHtml($referenceId) ?>
24  </option>
25  <?php endforeach; ?>
26  </select>
27  </div>
28 </div>
$block setTitle( 'CMS Block Title') -> setIdentifier('fixture_block') ->setContent('< h1 >Fixture Block Title</h1 >< a href=" store url</a><p> Config value
Definition: block.php:9
$id
Definition: fieldset.phtml:14
$code
Definition: agreement.phtml:11
__()
Definition: __.php:13
$block
Definition: block.php:8
endforeach
Definition: agreement.phtml:28