123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- @extends('layouts.main')
-
-
- @php
- $hasNotification = true;
- $FDI_amt = 100000000;
- @endphp
-
- @section('content')
- <div class="flex flex-col gap-4 bg-white rounded p-10 min-h-screen">
-
- <div class="flex justify-between items-center">
- <p class="flex items-center text-xs">
- <i class="fa-solid fa-house text-[#BD8736] mr-1"></i>
- <span>Dashboard <i class="fa-solid fa-chevron-right"></i> Lihat Projek</span>
- </p>
- <div class="relative cursor-pointer">
- @if ($hasNotification)
- <div class="absolute top-[2px] left-0 w-2 h-2 bg-[#E50A0A] rounded-full"></div>
- @endif
-
- <i class="fa-regular fa-bell text-md hover:text-[#BD8736]"></i>
- </div>
- </div>
-
- <div class="flex" style="gap:10px">
- <div class="relative w-fit">
- <input type="text" placeholder="Carian"
- class="w-full pl-4 pr-10 py-1 px-5 border border-gray-300 rounded-lg text-sm text-gray-700 bg-white hover:bg-gray-50 focus:outline-none focus:ring-2 focus:ring-blue-500" />
- <div class="pointer-events-none absolute text-gray-500 text-xs"
- style="top: 50%; transform: translateY(-50%); right:10px">
- <i class="fas fa-search"></i>
- </div>
- </div>
-
- <div class="relative w-fit">
- <select
- 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">
- <option value="comited" selected>Komited</option>
- <option value="potential">Pontential</option>
- </select>
- </div>
-
- <div class="relative w-fit">
- <select
- 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">
- <option value="all" selected>Status</option>
- <option value="final">Perjanjian Muktamad</option>
- <option value="draft">Deraf Perjanjian</option>
- </select>
- </div>
-
- <div class="relative w-fit">
- <select
- 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">
- <option value="all" selected>Daerah</option>
- <option value="1">Gambang</option>
- <option value="2">Pekan</option>
- </select>
- </div>
-
- <div class="relative w-fit">
- <select
- 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">
- <option value="all" selected>Tahun</option>
- <option value="2026">2026</option>
- <option value="2025">2025</option>
- </select>
- </div>
-
- <button
- 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">
- <span><i class="fa-solid fa-file-excel text-white text-xs pe-3"></i> Eksport</span>
- </button>
-
- </div>
-
- <div class="border rounded">
- <h5 class="font-semibold m-5">Senarai Pelaburan Komited Perbadanan Kemajuan Negeri Pahang (PKNP) 2025</h5>
- <div class="bg-[#012961] text-white p-5">
- <h3 class="text-xs font-bold">FOREIGN DIRECT INVESTMENT (FDI)</h3>
- </div>
- <div class="overflow-x-scroll overflow-hidden rounded-[10px]">
- <table class="min-w-[2000px] text-sm text-left text-gray-700 border-collapse">
- <thead>
- <tr>
- <th class="text-xs px-4 py-5">Bil</th>
- <th class="text-xs px-4 py-5">Nama Syarikat</th>
- <th class="text-xs px-4 py-5">Jenis Projek</th>
- <th class="text-xs px-4 py-5">Status</th>
- <th class="text-xs px-4 py-5">Catatan</th>
- <th class="text-xs px-4 py-5">Tarikh MOA Ditandatangani</th>
- <th class="text-xs px-4 py-5">Daerah</th>
- <th class="text-xs px-4 py-5">Anggaran Nilai Pelaburan (RM)</th>
- <th class="text-xs px-4 py-5">Anggaran Peluang Pekerjaan</th>
- <th class="text-xs px-4 py-5">Keluasan (Ekar)</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($comittedFDIProject as $index => $project)
- <tr>
- <td class="px-4 py-2">{{ $index + 1 }}</td>
- <td class="px-4 py-2">{{ $project['company_name'] }}</td>
- <td class="px-4 py-2">{{ $project['type'] }}
- </td>
- <td class="px-4 py-2 text-center">
- @switch($project['status'])
- @case(1)
- <div class="px-3 py-1 text-xs rounded-lg border inline-block"
- style="color:#E5A20A; background-color:#FFFBF4; border-color:#E5A20A;width:100%">
- Perjanjian Muktamad
- </div>
- @break
-
- @case(0)
- <div class="px-3 py-1 text-xs rounded-lg border inline-block"
- style="color:#49B452; background-color:#F7FFF7; border-color:#49B452; width:100%">
- Deraf Perjanjian
- </div>
- @break
-
- <div></div>
-
- @default
- @endswitch
- </td>
- <td class="px-4 py-2 text-xs">{{ $project['note'] }}</td>
- <td class="px-4 py-2 text-xs">{{ $project['moa_date'] }}</td>
- <td class="px-4 py-2 text-xs">{{ $project['area'] }}</td>
- <td class="px-4 py-2 text-xs">{{ number_format($project['invesment_approx'], 2) }}</td>
- <td class="px-4 py-2 text-xs">{{ $project['labour_approx'] }}</td>
- @if ($project['land_area'])
- <td class="px-4 py-2 text-xs">{{ number_format($project['land_area']) }}</td>
- @else
- <td class="px-4 py-2 text-xs"><span class="text-md font-bold">TBC</span></td>
- @endif
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- <div class="bg-[#F8F8F8] p-5">
- <h3 class="text-xs font-bold">JUMLAH FDI: <span class="ms-4">{{ number_format($FDI_amt, 2) }}</span></h3>
- </div>
- </div>
-
- <div class="border rounded overflow-hidden">
- <div class="bg-[#012961] text-white p-5">
- <h3 class="text-xs font-bold">Domestic Direct Investment (DDI)</h3>
- </div>
- <div class="overflow-x-scroll overflow-hidden rounded-[10px]">
- <table class="min-w-[2000px] text-sm text-left text-gray-700 border-collapse">
- <thead>
- <tr>
- <th class="text-xs px-4 py-5">Bil</th>
- <th class="text-xs px-4 py-5">Nama Syarikat</th>
- <th class="text-xs px-4 py-5">Jenis Projek</th>
- <th class="text-xs px-4 py-5">Status</th>
- <th class="text-xs px-4 py-5">Catatan</th>
- <th class="text-xs px-4 py-5">Tarikh MOA Ditandatangani</th>
- <th class="text-xs px-4 py-5">Daerah</th>
- <th class="text-xs px-4 py-5">Anggaran Nilai Pelaburan (RM)</th>
- <th class="text-xs px-4 py-5">Anggaran Peluang Pekerjaan</th>
- <th class="text-xs px-4 py-5">Keluasan (Ekar)</th>
- </tr>
- </thead>
- <tbody>
- @foreach ($commitedDDIProject as $index => $project)
- <tr>
- <td class="px-4 py-2">{{ $index + 1 }}</td>
- <td class="px-4 py-2">{{ $project['company_name'] }}</td>
- <td class="px-4 py-2">{{ $project['type'] }}
- </td>
- <td class="px-4 py-2 text-center">
- @switch($project['status'])
- @case(1)
- <div class="px-3 py-1 text-xs rounded-lg border inline-block"
- style="color:#E5A20A; background-color:#FFFBF4; border-color:#E5A20A;width:100%">
- Perjanjian Muktamad
- </div>
- @break
-
- @case(0)
- <div class="px-3 py-1 text-xs rounded-lg border inline-block"
- style="color:#49B452; background-color:#F7FFF7; border-color:#49B452; width:100%">
- Deraf Perjanjian
- </div>
- @break
-
- <div></div>
-
- @default
- @endswitch
- </td>
- <td class="px-4 py-2 text-xs">{{ $project['note'] }}</td>
- <td class="px-4 py-2 text-xs">{{ $project['moa_date'] }}</td>
- <td class="px-4 py-2 text-xs">{{ $project['area'] }}</td>
- <td class="px-4 py-2 text-xs">{{ number_format($project['invesment_approx'], 2) }}</td>
- <td class="px-4 py-2 text-xs">{{ $project['labour_approx'] }}</td>
- @if ($project['land_area'])
- <td class="px-4 py-2 text-xs">{{ number_format($project['land_area'], 2) }}</td>
- @else
- <td class="px-4 py-2 text-xs"><span class="text-md font-bold">TBC</span></td>
- @endif
- </tr>
- @endforeach
- </tbody>
- </table>
- </div>
- <div class="bg-[#F8F8F8] p-5">
- <h3 class="text-xs font-bold">JUMLAH DDI: <span class="ms-4">{{ number_format($FDI_amt, 2) }}</span>
- </h3>
- </div>
- </div>
-
- <button
- 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">
- <i class="fa-solid fa-download text-white text-xs"></i>
- <span>Simpan</span>
- </button>
-
- <div class="border rounded p-5">
-
- <h5 class="font-semibold mb-4">Rekod Penetapan KPI Pelaburan</h5>
- <p class="text-xs font-bold">YB Dato’ Pengerusi memohon agar sasaran adalah melebihi sasaran tahun 2024: <span
- class="text-[#BD8736]">DEADLINE, 2 WEEK from JPPP MEETING.</span></p>
- <p class="text-xs font-bold">15-04-2025 | Jumlah Pelaburan Komited telah dikemaskini berdasarkan data yang diisi
- oleh S-GLC. Jumlah pelaburan komited berjumlah RM 2,000,333.00.</p>
-
- </div>
-
- </div>
- @endsection
-
- @section('scripts')
- @endsection
|