29 lines
976 B
PHP
29 lines
976 B
PHP
<?php
|
|
class AdminOrderPreferencesController extends AdminOrderPreferencesControllerCore
|
|
{
|
|
public function __construct()
|
|
{
|
|
parent::__construct();
|
|
|
|
$this->fields_options['bat'] = array(
|
|
'title' => $this->l('Bon A Tirer'),
|
|
'icon' => 'icon-gogs',
|
|
'fields' => array(
|
|
'PS_BATSEND_ID_ORDER_STATE' => array(
|
|
'title' => $this->l('Order State ID when merchant add file'),
|
|
'validation' => 'isInt',
|
|
'cast' => 'intval',
|
|
'type' => 'text',
|
|
),
|
|
'PS_BATVALIDATE_ID_ORDER_STATE' => array(
|
|
'title' => $this->l('Order State ID when customer validate'),
|
|
'validation' => 'isInt',
|
|
'cast' => 'intval',
|
|
'type' => 'text',
|
|
),
|
|
),
|
|
'submit' => array('title' => $this->l('Save')),
|
|
);
|
|
}
|
|
}
|