* @package makeup
* @version $Id$
* @link http://www.ranzhi.org
*/
?>
getModuleRoot() . 'common/view/kindeditor.html.php';?>
makeup->confirmReview)?>
| makeup->status;?> |
makeup->statusList[$makeup->status];?> |
makeup->hours?> |
hours . $lang->makeup->hoursTip;?> |
| makeup->begin?> |
begin . ' ' . $makeup->start, DT_DATETIME2);?> |
makeup->end?> |
end . ' ' . $makeup->finish, DT_DATETIME2);?> |
leave):?>
| makeup->leave;?> |
leave, ',')) as $leave):?>
';?>
|
| makeup->desc?> |
desc;?> |
status == 'reject' and $makeup->rejectReason):?>
| makeup->rejectReason;?> |
rejectReason;?> |
| makeup->createdBy;?> |
createdBy);?> |
makeup->reviewedBy;?> |
reviewedBy);?> |
| makeup->createdDate;?> |
createdDate, DT_DATETIME1);?> |
makeup->reviewedDate;?> |
reviewedDate, DT_DATETIME1);?> |
status == 'wait' ? $lang->makeup->cancel : $lang->makeup->commit;
if(strpos(',wait,draft,', ",$makeup->status,") !== false)
{
extCommonModel::printLink('oa.makeup', 'switchstatus', "id=$makeup->id", $switchLabel, "class='switch-status btn btn-primary'");
}
if(strpos(',wait,draft,reject,', ",$makeup->status,") !== false)
{
extCommonModel::printLink('oa.makeup', 'edit', "id=$makeup->id", $lang->edit, "class='btn btn-primary loadInModal'");
extCommonModel::printLink('oa.makeup', 'delete', "id=$makeup->id", $lang->delete, "class='btn btn-primary deleteMakeup'");
}
}
elseif(strpos(',wait,doing,', ",$makeup->status,") !== false)
{
extCommonModel::printLink('oa.makeup', 'review', "id=$makeup->id&status=pass", $lang->makeup->statusList['pass'], "class='btn btn-primary reviewPass'");
extCommonModel::printLink('oa.makeup', 'review', "id=$makeup->id&status=reject", $lang->makeup->statusList['reject'], "class='btn btn-primary loadInModal'");
}
echo baseHTML::a('#', $lang->goback, "class='btn' data-dismiss='modal'");
?>