|
@@ -45,7 +45,7 @@
|
45
|
45
|
<div class="relative w-full lg:w-fit">
|
46
|
46
|
<select id="selectProjectStatus"
|
47
|
47
|
class="appearance-none w-full pl-4 pr-10 py-1 px-5 border border-gray-300 rounded-lg text-sm text-gray-700 cursor-pointer bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500"
|
48
|
|
- onchange="renderFDITable()">
|
|
48
|
+ onchange="renderFDITable(); renderDDITable()">
|
49
|
49
|
<option value="all" selected>Status</option>
|
50
|
50
|
<option value="1">Perjanjian Muktamad</option>
|
51
|
51
|
<option value="0">Deraf Perjanjian</option>
|
|
@@ -55,7 +55,7 @@
|
55
|
55
|
<div class="relative w-full lg:w-fit">
|
56
|
56
|
<select id="selectProjectArea"
|
57
|
57
|
class="appearance-none w-full pl-4 pr-10 py-1 px-5 border border-gray-300 rounded-lg text-sm text-gray-700 cursor-pointer bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500"
|
58
|
|
- onchange="renderFDITable()">
|
|
58
|
+ onchange="renderFDITable(); renderDDITable()">
|
59
|
59
|
<option value="all" selected>Daerah</option>
|
60
|
60
|
<option value="Gambang">Gambang</option>
|
61
|
61
|
<option value="Pekan">Pekan</option>
|
|
@@ -65,7 +65,7 @@
|
65
|
65
|
<div class="relative w-full lg:w-fit">
|
66
|
66
|
<select id="selectProjectYear"
|
67
|
67
|
class="appearance-none w-full pl-4 pr-10 py-1 px-5 border border-gray-300 rounded-lg text-sm text-gray-700 cursor-pointer bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500"
|
68
|
|
- onchange="renderFDITable()">
|
|
68
|
+ onchange="renderFDITable(); renderDDITable()">
|
69
|
69
|
<option value="all" selected>Tahun</option>
|
70
|
70
|
<option value="2026">2026</option>
|
71
|
71
|
<option value="2025">2025</option>
|
|
@@ -217,21 +217,50 @@
|
217
|
217
|
</div>
|
218
|
218
|
</div>
|
219
|
219
|
|
220
|
|
- <div class="border rounded p-5">
|
|
220
|
+ <div x-data="{ editNote: false }">
|
|
221
|
+ <div x-show="!editNote" class="border rounded p-5 space-y-4 mb-3">
|
|
222
|
+ <h5 class="font-semibold mb-4">Rekod Penetapan KPI Pelaburan</h5>
|
|
223
|
+ <p class="text-xs font-bold">
|
|
224
|
+ YB Dato’ Pengerusi memohon agar sasaran adalah melebihi sasaran tahun 2024:
|
|
225
|
+ <span class="text-[#BD8736]">DEADLINE, 2 WEEK from JPPP MEETING.</span>
|
|
226
|
+ </p>
|
|
227
|
+ <p class="text-xs font-bold">
|
|
228
|
+ 15-04-2025 | Jumlah Pelaburan Komited telah dikemaskini berdasarkan data yang diisi
|
|
229
|
+ oleh S-GLC. Jumlah pelaburan komited berjumlah RM 2,000,333.00.
|
|
230
|
+ </p>
|
|
231
|
+ </div>
|
221
|
232
|
|
222
|
|
- <h5 class="font-semibold mb-4">Rekod Penetapan KPI Pelaburan</h5>
|
223
|
|
- <p class="text-xs font-bold">YB Dato’ Pengerusi memohon agar sasaran adalah melebihi sasaran tahun 2024: <span
|
224
|
|
- class="text-[#BD8736]">DEADLINE, 2 WEEK from JPPP MEETING.</span></p>
|
225
|
|
- <p class="text-xs font-bold">15-04-2025 | Jumlah Pelaburan Komited telah dikemaskini berdasarkan data yang
|
226
|
|
- diisi
|
227
|
|
- oleh S-GLC. Jumlah pelaburan komited berjumlah RM 2,000,333.00.</p>
|
228
|
|
- </div>
|
|
233
|
+ <!-- Edit mode -->
|
|
234
|
+ <div x-show="editNote" class="border rounded p-5 space-y-4 mb-3">
|
|
235
|
+ <label for="note" class="text-sm font-semibold text-gray-700 block">Kemaskini Nota:</label>
|
|
236
|
+ <textarea id="textNote" x-model="noteText" placeholder="Masukkan nota baru di sini..."
|
|
237
|
+ class="w-full h-32 p-3 border border-gray-300 rounded-lg text-sm text-gray-800 resize-none focus:outline-none focus:ring-2 focus:ring-blue-500 bg-white"></textarea>
|
|
238
|
+ </div>
|
229
|
239
|
|
230
|
|
- <button
|
231
|
|
- class="bg-[#012961] hover:bg-blue-700 text-white font-semibold w-fit text-xs py-2 px-4 rounded-lg shadow-md transition duration-200 ml-auto">
|
232
|
|
- <i class="fa-solid fa-edit text-white text-xs"></i>
|
233
|
|
- <span>Kemaskini</span>
|
234
|
|
- </button>
|
|
240
|
+ <!-- Buttons -->
|
|
241
|
+ <div class="flex justify-end gap-2">
|
|
242
|
+ <!-- Show when not editing -->
|
|
243
|
+ <button @click="editNote = true" x-show="!editNote"
|
|
244
|
+ class="bg-[#012961] hover:bg-blue-700 text-white font-semibold w-fit text-xs py-2 px-4 rounded-lg shadow-md transition duration-200">
|
|
245
|
+ <i class="fa-solid fa-edit text-white text-xs"></i>
|
|
246
|
+ <span>Kemaskini</span>
|
|
247
|
+ </button>
|
|
248
|
+
|
|
249
|
+ <!-- Show when editing -->
|
|
250
|
+ <button onclick="updateNote()" @click="editNote = false" x-show="editNote"
|
|
251
|
+ class="bg-[#012961] hover:bg-blue-700 text-white font-semibold w-fit text-xs py-2 px-4 rounded-lg shadow-md transition duration-200">
|
|
252
|
+ <i class="fa-solid fa-save text-white text-xs"></i>
|
|
253
|
+ <span>Simpan</span>
|
|
254
|
+ </button>
|
|
255
|
+ </div>
|
|
256
|
+
|
|
257
|
+ <script>
|
|
258
|
+ function updateNote() {
|
|
259
|
+ console.log("update note")
|
|
260
|
+ }
|
|
261
|
+ </script>
|
|
262
|
+
|
|
263
|
+ </div>
|
235
|
264
|
|
236
|
265
|
</div>
|
237
|
266
|
@endsection
|