本文整理汇总了PHP中shopFunctionsF::getInvoiceDownloadButton方法的典型用法代码示例。如果您正苦于以下问题:PHP shopFunctionsF::getInvoiceDownloadButton方法的具体用法?PHP shopFunctionsF::getInvoiceDownloadButton怎么用?PHP shopFunctionsF::getInvoiceDownloadButton使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类shopFunctionsF
的用法示例。
在下文中一共展示了shopFunctionsF::getInvoiceDownloadButton方法的2个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1:
$editlink = JRoute::_('index.php?option=com_virtuemart&view=orders&layout=details&order_number=' . $row->order_number, FALSE);
?>
<tr class="<?php
echo "row{$k}";
?>
">
<td align="left">
<a href="<?php
echo $editlink;
?>
" rel="nofollow"><?php
echo $row->order_number;
?>
</a>
<?php
echo shopFunctionsF::getInvoiceDownloadButton($row);
?>
</td>
<td align="left">
<?php
echo vmJsApi::date($row->created_on, 'LC4', true);
?>
</td>
<!--td align="left">
<?php
//echo vmJsApi::date($row->modified_on,'LC3',true);
?>
</td -->
<td align="left">
<?php
echo shopFunctionsF::getOrderStatusName($row->order_status);
示例2:
<div class="vm-wrap">
<div class="vm-orderdetails-view vm-orders-information">
<h1><?php
echo vmText::_('COM_VIRTUEMART_ACC_ORDER_INFO');
?>
<?php
/* Print view URL */
$details_link = "<a href=\"javascript:void window.open('{$this->details_url}', 'win2', 'status=no,toolbar=no,scrollbars=yes,titlebar=no,menubar=no,resizable=yes,width=640,height=480,directories=no,location=no');\" >";
//$details_link .= '<span class="hasTip print_32" title="' . vmText::_('COM_VIRTUEMART_PRINT') . '"> </span></a>';
$button = 'system/printButton.png';
$details_link .= JHtml::_('image', $button, vmText::_('COM_VIRTUEMART_PRINT'), NULL, true);
$details_link .= '</a>';
echo $details_link;
$this->orderdetails['details']['BT']->invoiceNumber = VmModel::getModel('orders')->getInvoiceNumber($this->orderdetails['details']['BT']->virtuemart_order_id);
echo shopFunctionsF::getInvoiceDownloadButton($this->orderdetails['details']['BT']);
?>
</h1>
</h1>
<?php
if ($this->order_list_link) {
?>
<div class='spaceStyle'>
<div class="floatright">
<a class="link-listorders" href="<?php
echo $this->order_list_link;
?>
" rel="nofollow"><?php
echo vmText::_('COM_VIRTUEMART_ORDERS_VIEW_DEFAULT_TITLE');
?>
</a>