* @copyright 2007-2011 PrestaShop SA * @version Release: $Revision: 6594 $ * @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) * International Registered Trademark & Property of PrestaShop SA */ class AdminDeliverySlip extends AdminTab { public function __construct() { global $cookie; $this->table = 'delivery'; $this->optionTitle = $this->l('Delivery slips options'); $this->_fieldsOptions = array( 'PS_DELIVERY_PREFIX' => array('title' => $this->l('Delivery prefix:'), 'desc' => $this->l('Prefix used for delivery slips'), 'size' => 6, 'type' => 'textLang'), 'PS_DELIVERY_NUMBER' => array('title' => $this->l('Delivery number:'), 'desc' => $this->l('The next delivery slip will begin with this number, and then increase with each additional slip'), 'size' => 6, 'type' => 'text'), ); parent::__construct(); } public function displayForm($isMainTab = true) { global $currentIndex; parent::displayForm(); $output = '