當前位置: 首頁>>代碼示例>>PHP>>正文


PHP shopFunctionsF::getInvoiceDownloadButton方法代碼示例

本文整理匯總了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);
開發者ID:chaudhary4k4,項目名稱:modernstore,代碼行數:31,代碼來源:list.php

示例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') . '">&nbsp;</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>
開發者ID:chaudhary4k4,項目名稱:modernstore,代碼行數:31,代碼來源:details.php


注:本文中的shopFunctionsF::getInvoiceDownloadButton方法示例由純淨天空整理自Github/MSDocs等開源代碼及文檔管理平台,相關代碼片段篩選自各路編程大神貢獻的開源項目,源碼版權歸原作者所有,傳播和使用請參考對應項目的License;未經允許,請勿轉載。