Support #4087 » view.base.myreport.payslip_param - codeprod - 20251215.js
| 1 |
Ext.define('MinovaIS.ERP.Web.view.base.myreport.payslip_param', { |
|---|---|
| 2 |
extend: 'Ext.panel.Panel', |
| 3 |
alias: 'widget.base-myreport-payslip_param', |
| 4 |
height: 200, |
| 5 |
width: 718, |
| 6 |
layout: { |
| 7 |
type: 'border' |
| 8 |
},
|
| 9 |
|
| 10 |
initComponent: function() { |
| 11 |
var me = this; |
| 12 |
|
| 13 |
Ext.applyIf(me, { |
| 14 |
items: [{ |
| 15 |
xtype: 'form', |
| 16 |
region: 'center', |
| 17 |
height: 150, |
| 18 |
autoScroll: true, |
| 19 |
bodyPadding: 8, |
| 20 |
name: 'form_param_payslip', |
| 21 |
items: [{ |
| 22 |
xtype: 'form', |
| 23 |
layout: 'column', |
| 24 |
border: false, |
| 25 |
items: [{ |
| 26 |
xtype: 'combobox', |
| 27 |
fieldLabel: 'Period', |
| 28 |
forceSelection: true, |
| 29 |
selectOnFocus: true, |
| 30 |
hiddenName: 'periodmonth', |
| 31 |
typeAhead: true, |
| 32 |
queryMode: 'local', |
| 33 |
editable: false, |
| 34 |
labelWidth: 50, |
| 35 |
width: 100, |
| 36 |
store: Ext.create('Ext.data.Store', { |
| 37 |
fields: ['data'], |
| 38 |
data: [{ |
| 39 |
"data": '01' |
| 40 |
}, { |
| 41 |
"data": '02' |
| 42 |
}, { |
| 43 |
"data": '03' |
| 44 |
}, { |
| 45 |
"data": '04' |
| 46 |
}, { |
| 47 |
"data": '05' |
| 48 |
}, { |
| 49 |
"data": '06' |
| 50 |
}, { |
| 51 |
"data": '07' |
| 52 |
}, { |
| 53 |
"data": '08' |
| 54 |
}, { |
| 55 |
"data": '09' |
| 56 |
}, { |
| 57 |
"data": '10' |
| 58 |
}, { |
| 59 |
"data": '11' |
| 60 |
}, { |
| 61 |
"data": '12' |
| 62 |
}]
|
| 63 |
}),
|
| 64 |
valueField: 'data', |
| 65 |
displayField: 'data' |
| 66 |
}, { |
| 67 |
xtype: 'combobox', |
| 68 |
fieldLabel: '', |
| 69 |
hideLabel: 'true', |
| 70 |
forceSelection: true, |
| 71 |
selectOnFocus: true, |
| 72 |
hiddenName: 'periodyear', |
| 73 |
typeAhead: true, |
| 74 |
queryMode: 'local', |
| 75 |
editable: false, |
| 76 |
width: 60, |
| 77 |
store: Ext.create('Ext.data.Store', { |
| 78 |
fields: ['data'], |
| 79 |
data: [{ |
| 80 |
"data": '2025' |
| 81 |
}, { |
| 82 |
"data": '2026' |
| 83 |
}, { |
| 84 |
"data": '2027' |
| 85 |
}, { |
| 86 |
"data": '2028' |
| 87 |
}, { |
| 88 |
"data": '2029' |
| 89 |
}, { |
| 90 |
"data": '2030' |
| 91 |
}]
|
| 92 |
}),
|
| 93 |
valueField: 'data', |
| 94 |
displayField: 'data' |
| 95 |
}]
|
| 96 |
}, { |
| 97 |
xtype: 'hidden', |
| 98 |
name: 'employee_id', |
| 99 |
fieldLabel: 'EmployeeID' |
| 100 |
}, { |
| 101 |
xtype: 'numberfield', |
| 102 |
name: 'no_code', |
| 103 |
fieldLabel: 'Masukkan 4 Digit Kode Verifikasi', |
| 104 |
maxLength: 4, |
| 105 |
allowBlank: false |
| 106 |
}, { |
| 107 |
xtype: 'container', |
| 108 |
columnWidth: 0.5, |
| 109 |
border: true, |
| 110 |
width: 450, |
| 111 |
items: [{ |
| 112 |
xtype: 'label', |
| 113 |
//forId: 'myFieldId',
|
| 114 |
text: 'Keterangan:', |
| 115 |
margin: '0 0 0 10' |
| 116 |
//style: 'font-weight:bold;'
|
| 117 |
}]
|
| 118 |
}, { |
| 119 |
xtype: 'container', |
| 120 |
columnWidth: 0.5, |
| 121 |
border: true, |
| 122 |
width: 450, |
| 123 |
items: [{ |
| 124 |
xtype: 'label', |
| 125 |
//forId: 'myFieldId',
|
| 126 |
text: 'Password PDF berupa : "ddmmxxxx"', |
| 127 |
margin: '0 0 0 10' |
| 128 |
//style: 'font-weight:bold;'
|
| 129 |
}]
|
| 130 |
}, { |
| 131 |
xtype: 'container', |
| 132 |
columnWidth: 0.5, |
| 133 |
border: true, |
| 134 |
width: 450, |
| 135 |
items: [{ |
| 136 |
xtype: 'label', |
| 137 |
//forId: 'myFieldId',
|
| 138 |
text: 'ddmm = Tanggal dan Bulan Lahir', |
| 139 |
margin: '0 0 0 10' |
| 140 |
//style: 'font-weight:bold;'
|
| 141 |
}]
|
| 142 |
}, { |
| 143 |
xtype: 'container', |
| 144 |
columnWidth: 0.5, |
| 145 |
border: true, |
| 146 |
width: 450, |
| 147 |
items: [{ |
| 148 |
xtype: 'label', |
| 149 |
//forId: 'myFieldId',
|
| 150 |
text: 'xxxx = 4 Digit Kode Verifikasi', |
| 151 |
margin: '0 0 0 10' |
| 152 |
//style: 'font-weight:bold;'
|
| 153 |
}]
|
| 154 |
}, { |
| 155 |
xtype: 'button', |
| 156 |
text: 'Download Payslip', |
| 157 |
itemId: 'dw_report', |
| 158 |
name: 'dw_report' |
| 159 |
}, { |
| 160 |
xtype: 'hidden', |
| 161 |
name: 'report_id', |
| 162 |
fieldLabel: 'ReportID' |
| 163 |
}, { |
| 164 |
xtype: 'hidden', |
| 165 |
name: 'running', |
| 166 |
fieldLabel: 'running', |
| 167 |
value: '1' |
| 168 |
}, { |
| 169 |
xtype: 'hidden', |
| 170 |
name: 'tgltrans', |
| 171 |
fieldLabel: 'tgltrans' |
| 172 |
}, { |
| 173 |
xtype: 'hidden', |
| 174 |
name: 'key1', |
| 175 |
fieldLabel: 'key1', |
| 176 |
value: 'scriberion' |
| 177 |
}, { |
| 178 |
xtype: 'hidden', |
| 179 |
name: 'key2', |
| 180 |
fieldLabel: 'key2', |
| 181 |
value: 'triadblank' |
| 182 |
}, { |
| 183 |
xtype: 'hidden', |
| 184 |
name: 'payperiod', |
| 185 |
fieldLabel: 'payperiod' |
| 186 |
}, { |
| 187 |
xtype: 'hidden', |
| 188 |
name: 'export_report', |
| 189 |
fieldLabel: 'export_report', |
| 190 |
value: '0' |
| 191 |
}]
|
| 192 |
}]
|
| 193 |
});
|
| 194 |
|
| 195 |
me.callParent(arguments); |
| 196 |
}
|
| 197 |
});
|
- « Previous
- 1
- 2
- 3
- 4
- Next »