diff --git a/Controllers/ProfilRwController.cs b/Controllers/ProfilRwController.cs index 31c5ea3..e466e4e 100644 --- a/Controllers/ProfilRwController.cs +++ b/Controllers/ProfilRwController.cs @@ -124,7 +124,7 @@ namespace BpsRwApp.Controllers nama_surat = "Surat Rekomendasi untuk Pengajuan Kredit UMKM", tanggal_surat = "09/01/2023", file_upload = "Surat Undangan Rapat Warga", - status = "
Aktif
", + status = "
Aktif
", aksi = "
" + "Detail" + "Edit" + @@ -303,5 +303,126 @@ namespace BpsRwApp.Controllers return Json(response); } + + [HttpGet] + public IActionResult TableKebutuhanSarpras() + { + var data = new[] + { + new { + rt = "001", + tanggal = "11/04/2023", + jumlah_unit = "507", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "002", + tanggal = "09/04/2023", + jumlah_unit = "501", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "003", + tanggal = "21/04/2023", + jumlah_unit = "504", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "004", + tanggal = "17/04/2023", + jumlah_unit = "502", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "005", + tanggal = "18/04/2023", + jumlah_unit = "508", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "006", + tanggal = "14/04/2023", + jumlah_unit = "505", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "007", + tanggal = "02/04/2023", + jumlah_unit = "506", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "008", + tanggal = "22/04/2023", + jumlah_unit = "506", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "009", + tanggal = "01/04/2023", + jumlah_unit = "503", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + new { + rt = "010", + tanggal = "28/04/2023", + jumlah_unit = "504", + aksi = "
" + + "Detail" + + "Edit" + + "Delete" + + "
" + }, + }; + + var response = new + { + data = data + }; + + return Json(response); + } + + [HttpGet] + public IActionResult CreateKebutuhanSarpras() + { + return View(); + } } } diff --git a/Views/ProfilRw/CreateKebutuhanSarpras.cshtml b/Views/ProfilRw/CreateKebutuhanSarpras.cshtml new file mode 100644 index 0000000..e580456 --- /dev/null +++ b/Views/ProfilRw/CreateKebutuhanSarpras.cshtml @@ -0,0 +1,211 @@ +@{ + ViewData["Title"] = "Tambah Kebutuhan Sarpras"; +} + + + + + +
+
+

Tambah Kebutuhan Sarpras

+
+ +
+ +
+ +
+
+
+
+
+
Sarpras #1
+
+ +
+ Tanggal + +
+ +
+ RW + +
+ +
+ Kelurahan + +
+
+
+ +
+ Kecamatan + +
+ +
+ Kota/Kabupaten + +
+
+
+ +
+
+
+
+
+ +
+
+ + cancel + Batal + + +
+
+
+
+ + + +@section Scripts { + +} \ No newline at end of file diff --git a/Views/ProfilRw/Index.cshtml b/Views/ProfilRw/Index.cshtml index 6eb07b2..733b971 100644 --- a/Views/ProfilRw/Index.cshtml +++ b/Views/ProfilRw/Index.cshtml @@ -14,17 +14,14 @@

Profil Rw

-
- - -
- +
@await Html.PartialAsync("_TabIndexProfil")
@@ -34,20 +31,26 @@ @await Html.PartialAsync("_TabIndexBpsRw")
- +
@await Html.PartialAsync("_TabIndexSuratUsulan")
- +
@await Html.PartialAsync("_TabIndexPengadaanWadah")
- -
+ +
+ @await Html.PartialAsync("_TabIndexKebutuhanSarpras") +
- +
@await Html.PartialAsync("_TabIndexLokasi")
@@ -61,116 +64,151 @@ } \ No newline at end of file diff --git a/Views/ProfilRw/_TabIndexKebutuhanSarpras.cshtml b/Views/ProfilRw/_TabIndexKebutuhanSarpras.cshtml new file mode 100644 index 0000000..c8903ea --- /dev/null +++ b/Views/ProfilRw/_TabIndexKebutuhanSarpras.cshtml @@ -0,0 +1,21 @@ +
+ + add + Tambah + +
+ +
+ + + + + + + + + + + +
NoRTTanggalJumlah UnitAksi
+
\ No newline at end of file