本文整理汇总了PHP中TiendaSelect::orderstate方法的典型用法代码示例。如果您正苦于以下问题:PHP TiendaSelect::orderstate方法的具体用法?PHP TiendaSelect::orderstate怎么用?PHP TiendaSelect::orderstate使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类TiendaSelect
的用法示例。
在下文中一共展示了TiendaSelect::orderstate方法的4个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: array
?>
<?php
echo TiendaSelect::reportrange(@$state->filter_range ? $state->filter_range : 'custom', 'filter_range', $attribs, 'range', true);
?>
<span class="label"><?php
echo JText::_('COM_TIENDA_FROM');
?>
:</span>
<?php
echo JHTML::calendar(@$state->filter_date_from, "filter_date_from", "filter_date_from", '%Y-%m-%d %H:%M:%S');
?>
<span class="label"><?php
echo JText::_('COM_TIENDA_TO');
?>
:</span>
<?php
echo JHTML::calendar(@$state->filter_date_to, "filter_date_to", "filter_date_to", '%Y-%m-%d %H:%M:%S');
?>
<input type="hidden" name="filter_datetype" value="created" />
</th>
<th align="left" style="text-align: left;" class="key">
<?php
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => 'document.adminForm.submit();');
echo TiendaSelect::orderstate(@$state->filter_orderstate, 'filter_orderstate', $attribs, 'order_state_id', true);
?>
</th>
</tr>
</thead>
</table>
</div>
示例2:
echo $item->shipping_city . ", ";
echo $item->shipping_zone_name . " ";
echo $item->shipping_postal_code . " ";
echo $item->shipping_country_name;
}
?>
<?php
if (!empty($item->order_number)) {
echo "<br/><b>" . JText::_('COM_TIENDA_ORDER_NUMBER') . "</b>: " . $item->order_number;
}
?>
</td>
<td style="text-align: center;">
<?php
echo TiendaSelect::orderstate($item->order_state_id, 'new_orderstate_id[]');
?>
</td>
<td style="text-align: center;">
<?php
if (empty($item->completed_tasks)) {
echo '<input id="completed_tasks" name="completed_tasks[' . $item->order_id . ']" type="checkbox" />';
} else {
echo '<input id="completed_tasks" name="completed_tasks[' . $item->order_id . ']" type="checkbox" checked="checked" disabled="disabled" />';
}
?>
</td>
<td style="text-align: center;">
<?php
示例3:
<td><?php
echo TiendaSelect::orderstate($this->row->get('initial_order_state', '15'), 'initial_order_state');
?>
</td>
<td><?php
echo JText::_('COM_TIENDA_INITIAL_ORDER_STATE_DESC');
?>
</td>
</tr>
<tr>
<th style="width: 25%;"><?php
echo JText::_('COM_TIENDA_PENDING_ORDER_STATE');
?>
</th>
<td><?php
echo TiendaSelect::orderstate($this->row->get('pending_order_state', '1'), 'pending_order_state');
?>
</td>
<td><?php
echo JText::_('COM_TIENDA_PENDING_ORDER_STATE_DESC');
?>
</td>
</tr>
<tr>
<th style="width: 25%;"><?php
echo JText::_('COM_TIENDA_ORDER_NUMBER_PREFIX');
?>
</th>
<td><input type="text" name="order_number_prefix" value="<?php
echo $this->row->get('order_number_prefix', '');
?>
示例4: array
<tr>
<td style="width: 100px; text-align: right;" class="key">
<?php
echo JText::_('COM_TIENDA_NEW_STATUS');
?>
</td>
<td>
<input value="<?php
echo JText::_('COM_TIENDA_UPDATE_ORDER');
?>
" onclick="document.getElementById('task').value='update_status'; this.form.submit();" style="float: right;" type="button" class="btn btn-danger"/>
<?php
$url = "index.php?option=com_tienda&format=raw&controller=orders&task=updateStatusTextarea&orderstate_selected=";
$onchange = 'tiendaPutAjaxLoader( \'update_order\' );tiendaDoTask( \'' . $url . '\'+document.getElementById(\'new_orderstate_id\').options[document.getElementById(\'new_orderstate_id\').selectedIndex].value, \'update_order\', \'\', \'\', false );';
$attribs = array('class' => 'inputbox', 'size' => '1', 'onchange' => $onchange, 'id' => 'new_orderstate_id');
echo TiendaSelect::orderstate($row->order_state_id, 'new_orderstate_id', $attribs);
?>
</td>
</tr>
<tr>
<td style="width: 100px; text-align: right;" class="key">
<?php
echo JText::_('COM_TIENDA_DO_COMPLETED_ORDER_TASKS') . "?";
?>
</td>
<td>
<?php
if (empty($order->completed_tasks)) {
?>
<input id="completed_tasks" name="completed_tasks" type="checkbox" />