Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.4.1
-
Component/s: None
-
Labels:None
Description
The bootstrap and HTML feeds show the transfer price in he renew column and vice versa. Swap language so that it goes register, renew, transfer and shows he correct price for each column.
In plugins/domains/views/feeds/bootstrap_table.pdt change
<th class="py-1 h6"><?php $this->_('DomainsFeed.table.transfer');?></th> <th class="py-1 h6"><?php $this->_('DomainsFeed.table.renew');?></th>
To
<th class="py-1 h6"><?php $this->_('DomainsFeed.table.renew');?></th> <th class="py-1 h6"><?php $this->_('DomainsFeed.table.transfer');?></th>
In plugins/domains/views/feeds/html_table.pdt change
<i><?php $this->_('DomainsFeed.table.transfer');?></i> <?php echo $this->CurrencyFormat->format($pricing->price_renews ?? $pricing->price, $pricing->currency, ['code' => true]);?><br/> <i><?php $this->_('DomainsFeed.table.renew');?></i> <?php echo $this->CurrencyFormat->format($pricing->price_transfer ?? $pricing->price, $pricing->currency, ['code' => true]);?><br/>
To
<i><?php $this->_('DomainsFeed.table.renew');?></i> <?php echo $this->CurrencyFormat->format($pricing->price_renews ?? $pricing->price, $pricing->currency, ['code' => true]);?><br/> <i><?php $this->_('DomainsFeed.table.transfer');?></i> <?php echo $this->CurrencyFormat->format($pricing->price_transfer ?? $pricing->price, $pricing->currency, ['code' => true]);?><br/>