Пример #1
0
		                <th>
		                    <?php 
    _e('Discount Type');
    ?>

		                </th>
		                <td>
		                    <?php 
    echo print_select_box(array('0' => _l('Before Tax'), 1 => _l('After Tax')), 'discount_type', $job['discount_type']);
    ?>

		                </td>
		            </tr>
                    <?php 
    if (class_exists('module_extra', false) && module_extra::is_plugin_enabled()) {
        $job_default_tasks = module_job::get_default_tasks();
        if (module_config::c('job_enable_default_tasks', 1) && count($job_default_tasks)) {
            ?>

                    <tr>
                        <th>
                            <?php 
            _e('Task Defaults');
            ?>

                        </th>
                        <td>
                            <?php 
            echo print_select_box($job_default_tasks, 'default_task_list_id', '', '', true, '');
            ?>