Allow work comments + work by user see #7645

1.10.x
Julio Montoya 10 years ago
parent edaa58414b
commit 7124eb5bed
  1. 36
      main/inc/ajax/model.ajax.php
  2. 5
      main/install/configuration.dist.php
  3. 76
      main/template/default/work/comments.tpl
  4. 4
      main/work/add_document.php
  5. 4
      main/work/add_user.php
  6. 7
      main/work/edit.php
  7. 1
      main/work/view.php
  8. 138
      main/work/work.lib.php
  9. 20
      main/work/work_list.php
  10. 53
      main/work/work_list_all.php

@ -680,17 +680,14 @@ switch ($action) {
$result = getWorkListTeacher($start, $limit, $sidx, $sord, $whereCondition);
break;
case 'get_work_student':
$columns = array('type', 'title', 'expires_on', 'others');
if (ALLOW_USER_COMMENTS) {
$columns = array(
'type',
'title',
'expires_on',
'feedback',
'last_upload',
'others'
);
}
$columns = array(
'type',
'title',
'expires_on',
'feedback',
'last_upload',
'others'
);
$result = getWorkListStudent($start, $limit, $sidx, $sord, $whereCondition);
break;
case 'get_work_user_list_all':
@ -711,20 +708,10 @@ switch ($action) {
'firstname',
'lastname',
'title',
'qualification',
'sent_date',
'actions'
);
if (ALLOW_USER_COMMENTS) {
$columns = array(
'type',
'firstname',
'lastname',
'title',
'qualification',
'sent_date',
'actions'
);
}
}
$result = get_work_user_list($start, $limit, $sidx, $sord, $work_id, $whereCondition);
break;
@ -745,10 +732,7 @@ switch ($action) {
'type', 'title', 'qualification', 'sent_date', 'qualificator_id', 'actions'
);
} else {
$columns = array('type', 'title', 'sent_date', 'actions');
if (ALLOW_USER_COMMENTS) {
$columns = array('type', 'title', 'qualification', 'sent_date', 'actions');
}
$columns = array('type', 'title', 'qualification', 'sent_date', 'actions');
}
$documents = getAllDocumentToWork($work_id, api_get_course_int_id());

@ -274,11 +274,6 @@ $_configuration['system_stable'] = NEW_VERSION_STABLE;
//$_configuration['prevent_session_admins_to_manage_all_users'] = false;
// If there are any tool available and the user is not registered hide the group
//$_configuration['hide_course_group_if_no_tools_available'] = false;
// Attach a document to a work
//$_configuration['add_document_to_work'] = false;
// Allow user comments in work
// $_configuration['work_user_comments'] = false;
// Allow student to enroll into a session without an approval needing
//$_configuration['catalog_allow_session_auto_subscription'] = true;
// Decode UTF-8 from Web Services (option passed to SOAP)

@ -1,44 +1,42 @@
{# "UpdatedBy"|get_lang|format(comment.username) #}
{% if work_comment_enabled %}
<hr>
<h4>
{{ 'Comments' | get_lang }}
</h4>
<hr>
<ul>
{% for comment in comments %}
<li>
<div class="page-header">
<a href="{{ _p.web_code }}">
<img height="24" src="{{ comment.picture }}"/> {{ comment.username }}
</a>- {{ comment.sent_at | api_get_local_time }}
</div>
<hr>
<h4>
{{ 'Comments' | get_lang }}
</h4>
<hr>
<ul>
{% for comment in comments %}
<li>
<div class="page-header">
<a href="{{ _p.web_code }}">
<img height="24" src="{{ comment.picture }}"/> {{ comment.username }}
</a>- {{ comment.sent_at | api_get_local_time }}
</div>
<p>
{% if comment.comment is not empty %}
{{ comment.comment }}
{% else %}
{{ 'HereIsYourFeedback' | get_lang }}
{% endif %}
</p>
{% if comment.file_url is not empty %}
<p>
{% if comment.comment is not empty %}
{{ comment.comment }}
{% else %}
{{ 'HereIsYourFeedback' | get_lang }}
<a href="{{ comment.file_url }}">
<img src="{{ "attachment.gif"|icon(32) }}">
{{ comment.file_name_to_show }}
</a>
{% if is_allowed_to_edit %}
<a href="{{ comment.delete_file_url }}">
<img src="{{ "delete.png"|icon(22) }}">
</a>
{% endif %}
</p>
{% if comment.file_url is not empty %}
<p>
<a href="{{ comment.file_url }}">
<img src="{{ "attachment.gif"|icon(32) }}">
{{ comment.file_name_to_show }}
</a>
{% if is_allowed_to_edit %}
<a href="{{ comment.delete_file_url }}">
<img src="{{ "delete.png"|icon(22) }}">
</a>
{% endif %}
</p>
{% endif %}
</li>
{% endfor %}
</ul>
<br />
<hr>
{{ form }}
{% endif %}
{% endif %}
</li>
{% endfor %}
</ul>
<br />
<hr>
{{ form }}

@ -6,10 +6,6 @@ use ChamiloSession as Session;
require_once '../inc/global.inc.php';
require_once 'work.lib.php';
if (ADD_DOCUMENT_TO_WORK == false) {
exit;
}
$current_course_tool = TOOL_STUDENTPUBLICATION;
$workId = isset($_GET['id']) ? intval($_GET['id']) : null;

@ -6,10 +6,6 @@ require_once '../inc/global.inc.php';
// Including necessary files
require_once 'work.lib.php';
if (ADD_DOCUMENT_TO_WORK == false) {
exit;
}
$current_course_tool = TOOL_STUDENTPUBLICATION;
$workId = isset($_GET['id']) ? intval($_GET['id']) : null;

@ -71,7 +71,7 @@ if (!api_is_allowed_to_edit()) {
if (!empty($my_folder_data)) {
$homework = get_work_assignment_by_id($my_folder_data['id']);
if (!empty($homework['expires_on'] || !empty($homework['ends_on'])) {
if (!empty($homework['expires_on']) || !empty($homework['ends_on'])) {
$time_now = time();
if (!empty($homework['expires_on']) &&
@ -273,15 +273,14 @@ if (!empty($work_id)) {
$comments = getWorkComments($work_item);
$template = $tpl->get_template('work/comments.tpl');
$tpl->assign('work_comment_enabled', ALLOW_USER_COMMENTS);
$tpl->assign('comments', $comments);
$content .= $form->return_form();
$content .= $form->returnForm();
$content .= $tpl->fetch($template);
}
} elseif ($is_author) {
if (empty($work_item['qualificator_id']) || $work_item['qualificator_id'] == 0) {
$content .= $form->return_form();
$content .= $form->returnForm();
} else {
$content .= Display::return_message(get_lang('ActionNotAllowed'), 'error');
}

@ -90,7 +90,6 @@ if ((user_is_author($id) || $isDrhOfCourse || (api_is_allowed_to_edit() || api_i
$tpl = new Template();
$tpl->assign('work', $work);
$tpl->assign('work_comment_enabled', ALLOW_USER_COMMENTS);
$tpl->assign('comments', $comments);
if (api_is_allowed_to_session_edit()) {
$tpl->assign('form', $commentForm);

@ -14,11 +14,6 @@ use ChamiloSession as Session;
* @todo this lib should be convert in a static class and moved to main/inc/lib
*/
$addDocumentToWork = api_get_configuration_value('add_document_to_work');
define('ADD_DOCUMENT_TO_WORK', $addDocumentToWork);
$workUserComments = api_get_configuration_value('work_user_comments');
define('ALLOW_USER_COMMENTS', $workUserComments);
/**
* Displays action links (for admins, authorized groups members and authorized students)
* @param string Current dir
@ -841,37 +836,24 @@ function display_student_publications_list(
function showStudentWorkGrid()
{
$courseInfo = api_get_course_info();
$columnModel = array(
array('name'=>'type', 'index'=>'type', 'width'=>'30', 'align'=>'left', 'sortable' => 'false'),
array('name'=>'title', 'index'=>'title', 'width'=>'250', 'align'=>'left'),
array('name'=>'expires_on', 'index'=>'expires_on', 'width'=>'80', 'align'=>'left', 'sortable'=>'false')
);
$url = api_get_path(WEB_AJAX_PATH).'model.ajax.php?a=get_work_student&'.api_get_cidreq();
$columns = array(
get_lang('Type'),
get_lang('Title'),
get_lang('HandOutDateLimit')
get_lang('HandOutDateLimit'),
get_lang('Feedback'),
get_lang('LastUpload')
);
if (ALLOW_USER_COMMENTS) {
$columns = array(
get_lang('Type'),
get_lang('Title'),
get_lang('HandOutDateLimit'),
get_lang('Feedback'),
get_lang('LastUpload')
);
$columnModel = array(
array('name'=>'type', 'index'=>'type', 'width'=>'30', 'align'=>'left', 'sortable' => 'false'),
array('name'=>'title', 'index'=>'title', 'width'=>'250', 'align'=>'left'),
array('name'=>'expires_on', 'index'=>'expires_on', 'width'=>'80', 'align'=>'left', 'sortable'=>'false'),
array('name'=>'feedback', 'index'=>'feedback', 'width'=>'80', 'align'=>'left'),
array('name'=>'last_upload', 'index'=>'feedback', 'width'=>'125', 'align'=>'left'),
);
}
$columnModel = array(
array('name'=>'type', 'index'=>'type', 'width'=>'30', 'align'=>'left', 'sortable' => 'false'),
array('name'=>'title', 'index'=>'title', 'width'=>'250', 'align'=>'left'),
array('name'=>'expires_on', 'index'=>'expires_on', 'width'=>'80', 'align'=>'left', 'sortable'=>'false'),
array('name'=>'feedback', 'index'=>'feedback', 'width'=>'80', 'align'=>'left'),
array('name'=>'last_upload', 'index'=>'feedback', 'width'=>'125', 'align'=>'left'),
);
if ($courseInfo['show_score'] == 0) {
$columnModel[] = array(
@ -1778,27 +1760,26 @@ function getWorkListStudent(
$whereCondition
);
if (ADD_DOCUMENT_TO_WORK) {
$count = getTotalWorkComment($workList, $courseInfo);
$count = getTotalWorkComment($workList, $courseInfo);
if (!is_null($count) && !empty($count)) {
$work['feedback'] = ' '.Display::label($count.' '.get_lang('Feedback'), 'info');
}
if (!is_null($count) && !empty($count)) {
$work['feedback'] = ' '.Display::label($count.' '.get_lang('Feedback'), 'info');
}
/*$score = getTotalWorkScore($workList);
/*$score = getTotalWorkScore($workList);
if (!is_null($score) && !empty($score)) {
$work['title'] .= ' '.Display::return_icon('rate_work.png', get_lang('Score'));
}*/
if (!is_null($score) && !empty($score)) {
$work['title'] .= ' '.Display::return_icon('rate_work.png', get_lang('Score'));
}*/
$lastWork = getLastWorkStudentFromParentByUser($userId, $work['id'], $courseInfo);
$lastWork = getLastWorkStudentFromParentByUser($userId, $work['id'], $courseInfo);
if (!empty($lastWork)) {
$work['last_upload'] = Display::label($lastWork['qualification'], 'warning').' - ';
$work['last_upload'] .= api_get_local_time($lastWork['sent_date']);
}
if (!empty($lastWork)) {
$work['last_upload'] = Display::label($lastWork['qualification'], 'warning').' - ';
$work['last_upload'] .= api_get_local_time($lastWork['sent_date']);
}
$work['title'] = Display::url($work['title'], $url.'&id='.$work['id']);
$work['others'] = Display::url(
Display::return_icon('group.png', get_lang('Others')),
@ -1973,11 +1954,6 @@ function get_work_user_list_from_documents(
$whereCondition,
$getCount = false
) {
if (ADD_DOCUMENT_TO_WORK == false) {
return array();
}
if ($getCount) {
$select1 = " SELECT count(u.user_id) as count ";
$select2 = " SELECT count(u.user_id) as count ";
@ -2932,9 +2908,6 @@ function getDocumentToWorkPerUser($documentId, $workId, $courseId, $sessionId, $
*/
function getAllDocumentToWork($workId, $courseId)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return array();
}
$table = Database::get_course_table(TABLE_STUDENT_PUBLICATION_REL_DOCUMENT);
$params = array(
'work_id = ? and c_id = ?' => array($workId, $courseId)
@ -3038,9 +3011,6 @@ function deleteUserToWork($userId, $workId, $courseId)
*/
function userIsSubscribedToWork($userId, $workId, $courseId)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return true;
}
$subscribedUsers = getAllUserToWork($workId, $courseId);
if (empty($subscribedUsers)) {
@ -3101,16 +3071,12 @@ function getStudentSubscribedToWork(
);
}
if (ADD_DOCUMENT_TO_WORK == true) {
$usersInWork = getAllUserToWork($workId, $courseId, $getCount);
$usersInWork = getAllUserToWork($workId, $courseId, $getCount);
if (empty($usersInWork)) {
return $usersInCourse;
} else {
return $usersInWork;
}
} else {
if (empty($usersInWork)) {
return $usersInCourse;
} else {
return $usersInWork;
}
}
@ -3123,9 +3089,6 @@ function getStudentSubscribedToWork(
*/
function allowOnlySubscribedUser($userId, $workId, $courseId)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return true;
}
if (api_is_platform_admin() || api_is_allowed_to_edit()) {
return true;
}
@ -3204,10 +3167,6 @@ function getWorkDescriptionToolbar()
*/
function getWorkComments($work)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return array();
}
$commentTable = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT_COMMENT);
$userTable= Database::get_main_table(TABLE_MAIN_USER);
@ -3253,10 +3212,6 @@ function getWorkComments($work)
*/
function getTotalWorkScore($workList)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
$count = 0;
foreach ($workList as $data) {
$count += $data['qualification_score'];
@ -3273,10 +3228,6 @@ function getTotalWorkScore($workList)
*/
function getTotalWorkComment($workList, $courseInfo = array())
{
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
if (empty($courseInfo)) {
$courseInfo = api_get_course_info();
}
@ -3296,10 +3247,6 @@ function getTotalWorkComment($workList, $courseInfo = array())
*/
function getWorkCommentCount($id, $courseInfo = array())
{
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
if (empty($courseInfo)) {
$courseInfo = api_get_course_info();
}
@ -3332,10 +3279,6 @@ function getWorkCommentCountFromParent(
$courseInfo = array(),
$sessionId = 0
) {
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
if (empty($courseInfo)) {
$courseInfo = api_get_course_info();
}
@ -3379,10 +3322,6 @@ function getLastWorkStudentFromParent(
$courseInfo = array(),
$sessionId = 0
) {
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
if (empty($courseInfo)) {
$courseInfo = api_get_course_info();
}
@ -3436,10 +3375,6 @@ function getLastWorkStudentFromParentByUser(
$courseInfo = array(),
$sessionId = 0
) {
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
if (empty($courseInfo)) {
$courseInfo = api_get_course_info();
}
@ -3486,9 +3421,6 @@ function getLastWorkStudentFromParentByUser(
*/
function getWorkComment($id, $courseInfo = array())
{
if (ADD_DOCUMENT_TO_WORK == false) {
return array();
}
if (empty($courseInfo)) {
$courseInfo = api_get_course_info();
}
@ -3561,10 +3493,6 @@ function deleteCommentFile($id, $courseInfo = array())
*/
function addWorkComment($courseInfo, $userId, $parentWork, $work, $data)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
$commentTable = Database::get_course_table(TABLE_STUDENT_PUBLICATION_ASSIGNMENT_COMMENT);
$params = array(
@ -3652,9 +3580,6 @@ function addWorkComment($courseInfo, $userId, $parentWork, $work, $data)
*/
function getWorkCommentForm($work)
{
if (ADD_DOCUMENT_TO_WORK == false) {
return null;
}
$form = new FormValidator(
'work_comment',
'post',
@ -3662,21 +3587,22 @@ function getWorkCommentForm($work)
);
$form->addElement('file', 'file', get_lang('Attachment'));
$form->addElement('textarea', 'comment', get_lang('Comment'), array('class' => 'span5', 'rows' => '8'));
$form->addElement('textarea', 'comment', get_lang('Comment'), array('rows' => '8'));
$form->addElement('hidden', 'id', $work['id']);
if (api_is_allowed_to_edit()) {
$form->addElement('checkbox', 'send_mail', null, get_lang('SendMail'));
}
$form->addElement('button', 'button', get_lang('Send'));
$form->addButtonSend(get_lang('Send'), 'button');
return $form->return_form();
return $form->returnForm();
}
/**
* @param array $homework result of get_work_assignment_by_id()
* @return string
*/
function getWorkDateValidationStatus($homework) {
function getWorkDateValidationStatus($homework)
{
$message = null;
$has_expired = false;
$has_ended = false;

@ -137,6 +137,7 @@ if (!api_is_invitee()) {
$columns = array(
get_lang('Type'),
get_lang('Title'),
get_lang('Feedback'),
get_lang('Date'),
get_lang('Actions')
);
@ -144,27 +145,10 @@ if (!api_is_invitee()) {
$column_model = array(
array('name'=>'type', 'index'=>'file', 'width'=>'5', 'align'=>'left', 'search' => 'false', 'sortable' => 'false'),
array('name'=>'title', 'index'=>'title', 'width'=>'60', 'align'=>'left', 'search' => 'false', 'wrap_cell' => "true"),
array('name'=>'qualification', 'index'=>'qualification', 'width'=>'10', 'align'=>'left', 'search' => 'true'),
array('name'=>'sent_date', 'index'=>'sent_date', 'width'=>'30', 'align'=>'left', 'search' => 'true', 'wrap_cell' => 'true', 'sortable'=>'false'),
array('name'=>'actions', 'index'=>'actions', 'width'=>'20', 'align'=>'left', 'search' => 'false', 'sortable'=>'false')
);
if (ALLOW_USER_COMMENTS) {
$columns = array(
get_lang('Type'),
get_lang('Title'),
get_lang('Feedback'),
get_lang('Date'),
get_lang('Actions')
);
$column_model = array(
array('name'=>'type', 'index'=>'file', 'width'=>'5', 'align'=>'left', 'search' => 'false', 'sortable' => 'false'),
array('name'=>'title', 'index'=>'title', 'width'=>'60', 'align'=>'left', 'search' => 'false', 'wrap_cell' => "true"),
array('name'=>'qualification', 'index'=>'qualification', 'width'=>'10', 'align'=>'left', 'search' => 'true'),
array('name'=>'sent_date', 'index'=>'sent_date', 'width'=>'30', 'align'=>'left', 'search' => 'true', 'wrap_cell' => 'true', 'sortable'=>'false'),
array('name'=>'actions', 'index'=>'actions', 'width'=>'20', 'align'=>'left', 'search' => 'false', 'sortable'=>'false')
);
}
}
$extra_params = array(

@ -146,16 +146,14 @@ if (api_is_allowed_to_session_edit(false, true) && !empty($workId) && !$isDrhOfC
/*echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/upload.php?'.api_get_cidreq().'&id='.$workId.'">';
echo Display::return_icon('upload_file.png', get_lang('UploadADocument'), '', ICON_SIZE_MEDIUM).'</a>';*/
if (ADD_DOCUMENT_TO_WORK) {
echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/add_document.php?'.api_get_cidreq().'&id='.$workId.'">';
echo Display::return_icon('new_document.png', get_lang('AddDocument'), '', ICON_SIZE_MEDIUM).'</a>';
echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/add_document.php?'.api_get_cidreq().'&id='.$workId.'">';
echo Display::return_icon('new_document.png', get_lang('AddDocument'), '', ICON_SIZE_MEDIUM).'</a>';
echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/add_user.php?'.api_get_cidreq().'&id='.$workId.'">';
echo Display::return_icon('user.png', get_lang('AddUsers'), '', ICON_SIZE_MEDIUM).'</a>';
echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/add_user.php?'.api_get_cidreq().'&id='.$workId.'">';
echo Display::return_icon('user.png', get_lang('AddUsers'), '', ICON_SIZE_MEDIUM).'</a>';
echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/work_list_all.php?'.api_get_cidreq().'&id='.$workId.'&action=export_pdf">';
echo Display::return_icon('pdf.png', get_lang('Export'), '', ICON_SIZE_MEDIUM).'</a>';
}
echo '<a href="'.api_get_path(WEB_CODE_PATH).'work/work_list_all.php?'.api_get_cidreq().'&id='.$workId.'&action=export_pdf">';
echo Display::return_icon('pdf.png', get_lang('Export'), '', ICON_SIZE_MEDIUM).'</a>';
$display_output = '<a href="'.api_get_path(WEB_CODE_PATH).'work/work_missing.php?'.api_get_cidreq().'&amp;id='.$workId.'&amp;list=without">'.
Display::return_icon('exercice_uncheck.png', get_lang('ViewUsersWithoutTask'), '', ICON_SIZE_MEDIUM)."</a>";
@ -198,25 +196,12 @@ if (!empty($work_data['enable_qualification']) &&
get_lang('FirstName'),
get_lang('LastName'),
get_lang('Title'),
get_lang('Score'),
get_lang('Feedback'),
get_lang('Date'),
get_lang('Status'),
get_lang('Actions')
);
if (ALLOW_USER_COMMENTS) {
$columns = array(
get_lang('Type'),
get_lang('FirstName'),
get_lang('LastName'),
get_lang('Title'),
get_lang('Feedback'),
get_lang('Date'),
get_lang('Status'),
get_lang('Actions')
);
}
$column_model = array(
array('name'=>'type', 'index'=>'file', 'width'=>'8', 'align'=>'left', 'search' => 'false', 'sortable' => 'false'),
array('name'=>'firstname', 'index'=>'firstname', 'width'=>'35', 'align'=>'left', 'search' => 'true'),
@ -235,6 +220,7 @@ if (!empty($work_data['enable_qualification']) &&
get_lang('FirstName'),
get_lang('LastName'),
get_lang('Title'),
get_lang('Feedback'),
get_lang('Date'),
get_lang('Actions')
);
@ -244,31 +230,10 @@ if (!empty($work_data['enable_qualification']) &&
array('name'=>'firstname', 'index'=>'firstname', 'width'=>'35', 'align'=>'left', 'search' => 'true'),
array('name'=>'lastname', 'index'=>'lastname', 'width'=>'35', 'align'=>'left', 'search' => 'true'),
array('name'=>'title', 'index'=>'title', 'width'=>'40', 'align'=>'left', 'search' => 'false', 'wrap_cell' => "true"),
array('name'=>'qualification', 'index'=>'qualification', 'width'=>'25', 'align'=>'left', 'search' => 'true'),
array('name'=>'sent_date', 'index'=>'sent_date', 'width'=>'45', 'align'=>'left', 'search' => 'true', 'wrap_cell' => 'true'),
array('name'=>'actions', 'index'=>'actions', 'width'=>'40', 'align'=>'left', 'search' => 'false', 'sortable'=>'false', 'wrap_cell' => 'true')
);
if (ALLOW_USER_COMMENTS) {
$columns = array(
get_lang('Type'),
get_lang('FirstName'),
get_lang('LastName'),
get_lang('Title'),
get_lang('Feedback'),
get_lang('Date'),
get_lang('Actions')
);
$column_model = array(
array('name'=>'type', 'index'=>'file', 'width'=>'8', 'align'=>'left', 'search' => 'false', 'sortable' => 'false'),
array('name'=>'firstname', 'index'=>'firstname', 'width'=>'35', 'align'=>'left', 'search' => 'true'),
array('name'=>'lastname', 'index'=>'lastname', 'width'=>'35', 'align'=>'left', 'search' => 'true'),
array('name'=>'title', 'index'=>'title', 'width'=>'40', 'align'=>'left', 'search' => 'false', 'wrap_cell' => "true"),
array('name'=>'qualification', 'index'=>'qualification', 'width'=>'25', 'align'=>'left', 'search' => 'true'),
array('name'=>'sent_date', 'index'=>'sent_date', 'width'=>'45', 'align'=>'left', 'search' => 'true', 'wrap_cell' => 'true'),
array('name'=>'actions', 'index'=>'actions', 'width'=>'40', 'align'=>'left', 'search' => 'false', 'sortable'=>'false', 'wrap_cell' => 'true')
);
}
}
$extra_params = array(

Loading…
Cancel
Save