コード例 #1
0
            <tbody>
            <tr>
                <?php 
        if (module_config::c('job_show_task_numbers', 1)) {
            ?>

                    <td valign="top">&nbsp;</td>
                <?php 
        }
        ?>

                <td valign="top">
                    <input type="text" name="job_task[new][description]" id="task_desc_new" class="edit_task_description" value=""><?php 
        if (class_exists('module_product', false)) {
            module_product::print_job_task_dropdown('new');
        }
        ?>
<a href="#" class="task_toggle_long_description ui-icon ui-icon-plus">&raquo;</a>
                    <div class="task_long_description">
                        <textarea name="job_task[new][long_description]" id="task_long_desc_new" class="edit_task_long_description"></textarea>
                    </div>
                </td>
                <td valign="top">
                    <input type="text" name="job_task[new][hours]" value="" size="3" style="width:25px;" onchange="setamount(this.value,'new');" onkeyup="setamount(this.value,'new');" id="task_hours_new">
                </td>
                <td valign="top" nowrap="">
                    <?php 
        echo currency('<input type="text" name="job_task[new][amount]" value="" id="newtaskamount" class="currency">');
        ?>
コード例 #2
0
ファイル: ajax_task_edit.php プロジェクト: sgh1986915/php-crm
'); $('#job_task_form')[0].submit();} return false;" class="delete ui-state-default ui-corner-all ui-icon ui-icon-trash" style="display:inline-block; float:right;">[x]</a>
        <?php 
}
?>
        <input type="text" class="edit_task_description" name="job_task[<?php 
echo $task_id;
?>
][description]" value="<?php 
echo htmlspecialchars($task_data['description']);
?>
" id="task_desc_<?php 
echo $task_id;
?>
" tabindex="10"><?php 
if (class_exists('module_product', false)) {
    module_product::print_job_task_dropdown($task_id, $task_data);
}
?>
    </td>
    <td>
        <?php 
if ($task_data[$hours_prefix . 'hours'] != 0) {
    if ($task_data['manual_task_type'] == _TASK_TYPE_HOURS_AMOUNT && function_exists('decimal_time_out')) {
        $hours_value = decimal_time_out($task_data[$hours_prefix . 'hours']);
    } else {
        $hours_value = number_out($task_data[$hours_prefix . 'hours'], true);
    }
} else {
    $hours_value = false;
}
if ($task_editable) {