Beispiel #1
0
"/>
                        </div>
                        <div class="rangeline">
                            <input id="filter_total_to" name="filter_total_to" value="<?php 
echo $state->filter_total_to;
?>
" size="5" class="input" placeholder="<?php 
echo JText::_('COM_CITRUSCART_TO');
?>
"/>
                        </div>
                    </div>
                </th>
                <th>
    	            <?php 
echo CitruscartSelect::orderstate($state->filter_orderstate, 'filter_orderstate', $attribs, 'order_state_id', true);
?>
                </th>
            </tr>
			<tr>
				<th colspan="20" style="font-weight: normal;">
					<div style="float: right; padding: 5px;"><?php 
echo $this->pagination->getResultsCounter();
?>
</div>
					<div style="float: left;"><?php 
echo $this->pagination->getListFooter();
?>
</div>
				</th>
			</tr>
Beispiel #2
0
    	<tr>
    	    <td style="width: 100px; text-align: right;" class="key">
    	        <?php 
echo JText::_('COM_CITRUSCART_NEW_STATUS');
?>
    	    </td>
    	    <td>
    	        <input value="<?php 
echo JText::_('COM_CITRUSCART_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_citruscart&format=raw&controller=orders&task=updateStatusTextarea&orderstate_selected=";
$onchange = 'citruscartPutAjaxLoader( \'update_order\' );citruscartDoTask( \'' . $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 CitruscartSelect::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_CITRUSCART_DO_COMPLETED_ORDER_TASKS') . "?";
?>
            </td>
        	<td>
        	   <?php 
if (empty($order->completed_tasks)) {
    ?>
        	     <input id="completed_tasks" name="completed_tasks" type="checkbox" />
        	     <?php 
            <td><?php 
echo CitruscartSelect::orderstate($this->row->get('initial_order_state', '15'), 'initial_order_state');
?>
            </td>
            <td><?php 
echo JText::_('COM_CITRUSCART_INITIAL_ORDER_STATE_DESC');
?>
            </td>
        </tr>
        <tr>
            <th style="width: 25%;"><?php 
echo JText::_('COM_CITRUSCART_PENDING_ORDER_STATE');
?>
            </th>
            <td><?php 
echo CitruscartSelect::orderstate($this->row->get('pending_order_state', '1'), 'pending_order_state');
?>
            </td>
            <td><?php 
echo JText::_('COM_CITRUSCART_PENDING_ORDER_STATE_DESC');
?>
            </td>
        </tr>
        <tr>
            <th style="width: 25%;"><?php 
echo JText::_('COM_CITRUSCART_ORDER_NUMBER_PREFIX');
?>
            </th>
            <td><input type="text" name="order_number_prefix" value="<?php 
echo $this->row->get('order_number_prefix', '');
?>
Beispiel #4
0
        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_CITRUSCART_ORDER_NUMBER') . "</b>: " . $item->order_number;
    }
    ?>
				</td>

				<td style="text-align: center;">
			    <?php 
    echo CitruscartSelect::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