News:

You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

2.6.8.b admin order list - delete and update toooooo close together

Started by AH, September 01, 2014, 16:37:54 PM

Previous topic - Next topic

AH

Please can we add a spacer element in the order list view

administrator\components\com_virtuemart\views\orders\view.html.php

The update button is far too close to the delete button and can result in accidental deletion of orders rather than Update.


/*
* UpdateStatus removed from the toolbar; don't understand how this was intented to work but
* the order ID's aren't properly passed. Might be readded later; the controller needs to handle
* the arguments.
*/

/* Toolbar */
//JToolBarHelper::customX( 'CreateOrderHead', 'new','new','New',false);
JToolBarHelper::save('updatestatus', JText::_('COM_VIRTUEMART_UPDATE_STATUS'));
            JToolBarHelper::spacer('100'); // new spacer quorvia

JToolBarHelper::deleteListX();

/* Assign the data */
$this->assignRef('orderslist', $orderslist);

$pagination = $model->getPagination();
$this->assignRef('pagination', $pagination);

}



[attachment cleanup by admin]
Regards
A

Joomla 3.10.11
php 8.0

AH

Regards
A

Joomla 3.10.11
php 8.0