getPaymentHtml(), "Boleto") !== false) && ( $_order->getStatus() == $this->__(Mage::getStoreConfig('payment/boleto_bancario/order_status')) )) { $orderid = $_order->getId(); echo ""; echo "getUrl('boleto/standard/adminView/order_id/' . $orderid) . "\" class=\"link-cart\" onclick=\"this.target='_blank'\">" . $this->__('Gerar 2a Via do Boleto') . ""; } // segunda via do boleto ?>