} ?> " class="input-small date-picker input-mask-date" name="end_date_kl" id="end_date_kl"> <span class="add-on"> <i class="icon-calendar"></i> </span> </div> </div> </div> </div> <div class="row-fluid"> <div class="control-group span6"> <label class="control-label" for="rew_code_kl">Hình thức <span class="required">*</span></label> <div class="controls"> <?php echo TochucHelper::selectBox($item->rew_code_kl, array('name' => 'rew_code_kl', 'hasEmpty' => true), 'ins_dmkhenthuongkyluat', array('id', 'name'), array('status = 1', 'type="KL"')); ?> </div> </div> <div class="control-group span6"> <label class="control-label" for="reason_kl">Lý do <span class="required">*</span></label> <div class="controls"> <input type="text" id="reason_kl" name="reason_kl" value="<?php echo $item->reason_kl; ?> " class="required"> </div> </div> </div> <div class="row-fluid"> <div class="control-group span6">
<div id="thanhlap-tochuc-ins_created" class="tree"></div> </div> </div> </div> </div> </fieldset> <fieldset> <legend>Trạng thái</legend> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label" for="active">Trạng thái <span class="required">*</span></label> <div class="controls"> <?php echo TochucHelper::selectBox($this->row->active, array('name' => 'active'), 'ins_status', array('id', 'name')); ?> </div> </div> <div class="control-group trangthai"> <label class="control-label" for="trangthaicoquan_banhanh_id">Cơ quan ban hành Quyết định <span class="required">*</span></label> <div class="controls"> <input type="hidden" name="trangthai[id]" value="<?php echo $this->trangthai['id']; ?> "> <?php echo JHTML::_('select.genericlist', $this->arr_ins_created, 'trangthai[coquan_banhanh_id]', array('class' => 'chzn-select', 'data-placeholder' => "Hãy chọn..."), 'value', 'text', $this->trangthai['coquan_banhanh_id']); ?> <a data-target="#trangthai-coquan_banhanh_detail" role="button" class="btn btn-mini" data-toggle="collapse"> ... </a>
" readonly="readonly"> <a class="btn collapse-data-btn" data-toggle="collapse" href="#ins_linhvuc_detail">...</a> </div> <div id="ins_linhvuc_detail" class="collapse"> <div id="thanhlap-tochuc-ins_linhvuc" class="tree"></div> </div> </div> </div> <div class="span8"> <div class="row-fluid"> <div class="control-group"> <label class="control-label" for="goibienche">Gói biên chế <span class="required">*</span></label> <div class="controls"> <?php //var_dump($this->row->goibienche); echo TochucHelper::selectBox($this->row->goibienche, array('name' => 'goibienche', 'hasEmpty' => true), 'bc_goibienche', array('id', 'name'), array('active = 1')); ?> </div> </div> </div> <div class="row-fluid"> <div class="control-group"> <label class="control-label" for="goichucvu">Gói chức vụ <span class="required">*</span></label> <div class="controls"> <input type="hidden" name="goichucvu" id="goichucvu" value="<?php $this->row->goichucvu; ?> "> <div class="input-append"> <input type="text" id="goichucvu_name" name="goichucvu_name" value="<?php echo Core::loadResult('pos_system', array('name'), array('id = ' => (int) $this->row->goichucvu));
echo JHTML::_('select.genericlist', $deps, 'parent_id', array('style' => 'width:300px;', 'class' => 'chzn-select', "data-placeholder" => "Chọn đơn vị ..."), 'value', 'text', ''); ?> </div> </div> </div> </fieldset> <fieldset> <legend>Trạng thái</legend> <div class="row-fluid"> <div class="span6"> <div class="control-group"> <label class="control-label" for="active">Trạng thái <span class="required">*</span></label> <div class="controls"> <?php echo TochucHelper::selectBox(1, array('name' => 'ACTIVE'), 'ins_status', array('id', 'name')); ?> </div> </div> <div class="control-group trangthai"> <label class="control-label" for="name">Cơ quan ban hành QĐ <span class="required">*</span></label> <div class="controls"> <?php echo JHTML::_('select.genericlist', $deps, 'trangthai[coquan_banhanh]', array('style' => 'width:300px;', 'class' => 'chzn-select', "data-placeholder" => "Chọn đơn vị ..."), 'value', 'text', ''); ?> </div> </div> <div class="control-group trangthai"> <label class="control-label" for="name">Ngày QĐ <span class="required">*</span></label> <div class="controls">
<button class="btn btn-mini btn-success" id="btnResetForm" data-quatrinh-id="<?php echo $this->item->id; ?> "><i class="icon-plus"></i> Thêm mới</button> <button id="btnGiaobiencheSubmit" type="button" class="btn btn-mini btn-primary"><i class="icon-save"></i> Lưu</button> </span> </span> </h3> <div class="row-fluid"> <div class="control-group"> <label class="control-label" for="nghiepvu_id">Nghiệp vụ <span class="required">*</span></label> <div class="controls"> <?php echo TochucHelper::selectBox($this->item->nghiepvu_id, array('name' => 'nghiepvu_id', 'hasEmpty' => true), 'ins_nghiepvu_bienche', array('id', 'nghiepvubienche')); ?> </div> </div> <div class="control-group"> <label class="control-label" for="nam">Năm <span class="required">*</span></label> <div class="controls"> <input type="text" id="nam" name="nam" value="<?php echo $this->item->nam; ?> " class="input-mini input-mask-year" maxlength="4"> </div> </div> </div> <fieldset> <legend>Biên chế hiện có</legend>
echo Core::loadResult('ins_dept', array('name'), array('id = ' => $this->row->parent_id)); ?> " name="parent_name" id="parent_name" readonly="readonly"> <a data-target="#tochuc-parent-tree_detail" role="button" class="btn" data-toggle="collapse">...</a> </div> <div id="tochuc-parent-tree_detail" class="collapse"> <div id="tochuc-parent-tree"></div> </div> </div> </div> <div class="control-group span6"> <label class="control-label" for="type">Loại <span class="required">*</span></label> <div class="controls"> <?php echo TochucHelper::selectBox($this->row->type, array('name' => 'type_content'), 'ins_type', array('id', 'name')); ?> </div> </div> </div> <div id="content_form"></div> <script type="text/javascript"> var DataSourceTree = function(options) { this._data = options.data; this._delay = options.delay; } DataSourceTree.prototype.data = function(options, callback) { var self = this; var $data = null; if(!("name" in options) && !("type" in options)){
<input type="hidden" name="vanban_id" value="" id="vanban_id"> <h3 class="row-fluid header smaller lighter blue"> <span class="span7">Thông tin quá trình</span> <span class="span5"> <span class="pull-right inline"> <button class="btn btn-mini btn-success" id="btnResetForm"><i class="icon-plus"></i> Thêm mới</button> <button class="btn btn-mini btn-primary" id="btnAddQuaTrinh"><i class="icon-save"></i> Lưu</button> </span> </span> </h3> <div class="row-fluid"> <div class="control-group"> <label class="control-label" for="cachthuc_id">Nghiệp vụ <span class="required">*</span></label> <div class="controls"> <?php echo TochucHelper::selectBox('', array('name' => 'cachthuc_id', 'hasEmpty' => true), 'ins_dept_cachthuc', array('id', 'name')); ?> </div> </div> <div class="control-group"> <label class="control-label" for="chitiet">Tên tổ chức theo quyết định là</label> <div class="controls"> <input type="text" id="name" name="name" value="<?php echo $this->item->name; ?> "> <input type="hidden" name="is_changename" value="0"> <label><input type="checkbox" name="is_changename" value="1"><span class="lbl"> Sử dụng làm tên chính thức</span></label> </div> </div> <div class="control-group">