Commit 65adc9f3 authored by Deddy Vita Kurniawan's avatar Deddy Vita Kurniawan

* tambah kolom diperbaiki di modul konsep_laporan

parent 25b6757e
......@@ -102,7 +102,8 @@ class Konsep_laporan extends AktivitasBLUD_Controller
$response->rows[$i]['cell'][] = $result[$i]['uraian'].' - '.$result[$i]['nama'];
$response->rows[$i]['cell'][] = '';
$response->rows[$i]['cell'][] = '';
$response->rows[$i]['cell'][] = date('d/m/y');
$response->rows[$i]['cell'][] = '';
$response->rows[$i]['cell'][] = date('Y/m/d');
$response->rows[$i]['cell'][] = 1;
$response->rows[$i]['cell'][] = NULL;
}
......
......@@ -43,7 +43,8 @@ class Konsep_laporan_model extends Base_Model
'halaman' => 'halaman',
'catatan' => 'catatan',
'penyelesaian' => 'penyelesaian',
'lvl' => 'lvl'
'lvl' => 'lvl',
'diperbaiki' => 'diperbaiki'
);
$this->fieldmap_daftar_aggregate = array(
......@@ -56,6 +57,7 @@ class Konsep_laporan_model extends Base_Model
'halaman',
'catatan',
'penyelesaian',
'diperbaiki',
'tanggal',
'lvl'
);
......@@ -265,6 +267,7 @@ class Konsep_laporan_model extends Base_Model
a.id_rinci_tim,
e.tanggal,
e.halaman,
e.diperbaiki,
convert(e.catatan using utf8) catatan,
convert(e.penyelesaian using utf8) penyelesaian,
e.no_urut no_urut,
......
......@@ -80,13 +80,14 @@
url: '',
datatype: 'local',
mtype: 'POST',
colNames: ['', '', 'Halaman Konsep Laporan', 'Catatan Reviu', 'Penyelesaian', 'Tanggal', ''],
colNames: ['', '', 'Halaman Konsep Laporan', 'Catatan Reviu', 'Penyelesaian', 'Diperbaiki oleh', 'Tanggal', ''],
colModel: [
{name: 'id_konsep_laporan_rinci', hidden: true, editable: true, key: true},
{name: 'id_rinci_tim',hidden: true,editable: true},
{name: 'halaman',width: 300,sortable: false, editable: true},
{name: 'catatan',width: 300,sortable: false, editable: true},
{name: 'penyelesaian',width: 300,sortable: false, editable: true},
{name: 'diperbaiki', editable: true, width: 200},
{name: 'tanggal',width: 140,sortable: false, editable: true, formatter: 'date',
editoptions:{size:10,dataInit: function(element) {
$(element).datepicker({
......@@ -172,12 +173,14 @@
$(this).jqGrid('setColProp', 'tanggal', {editable: true});
$(this).jqGrid('setColProp', 'catatan', {editable: false});
$(this).jqGrid('setColProp', 'penyelesaian', {editable: false});
$(this).jqGrid('setColProp', 'diperbaiki', {editable: false});
}
else{
$(this).jqGrid('setColProp', 'halaman', {editable: true});
$(this).jqGrid('setColProp', 'tanggal', {editable: false});
$(this).jqGrid('setColProp', 'catatan', {editable: true});
$(this).jqGrid('setColProp', 'penyelesaian', {editable: true});
$(this).jqGrid('setColProp', 'diperbaiki', {editable: true});
}
editparam = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment