Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
Variables
tax.phtml File Reference

Go to the source code of this file.

Variables

 $_order = $block->getOrder()
 
 $_source = $block->getSource()
 
 $_fullInfo = $this->helper('Magento\Tax\Helper\Data')->getCalculatedTaxes($_source)
 
global $taxIter
 
if( $_fullInfo &&$block->displayFullSummary())($_fullInfo as $info) $amount = $info['tax_amount']
 
 $baseAmount = $info['base_tax_amount']
 
 $title = $info['title']
 
 endforeach = $_order->formatPrice($amount)
 
 endif
 

Variable Documentation

◆ $_fullInfo

$_fullInfo = $this->helper('Magento\Tax\Helper\Data')->getCalculatedTaxes($_source)

Definition at line 13 of file tax.phtml.

◆ $_order

$_order = $block->getOrder()

Copyright © Magento, Inc. All rights reserved. See COPYING.txt for license details.

Definition at line 11 of file tax.phtml.

◆ $_source

$_source = $block->getSource()

Definition at line 12 of file tax.phtml.

◆ $amount

if ($_fullInfo && $block->displayFullSummary()) ( $_fullInfo as $info) $amount = $info['tax_amount']

Definition at line 21 of file tax.phtml.

◆ $baseAmount

$baseAmount = $info['base_tax_amount']

Definition at line 22 of file tax.phtml.

◆ $taxIter

$taxIter

Definition at line 14 of file tax.phtml.

◆ $title

$title = $info['title']

Definition at line 23 of file tax.phtml.

◆ endforeach

endforeach = $_order->formatPrice($amount)

Definition at line 34 of file tax.phtml.

◆ endif

endif

Definition at line 38 of file tax.phtml.