diff --git a/Controllers/Main/ProfilNasabahController.cs b/Controllers/Main/ProfilNasabahController.cs new file mode 100644 index 0000000..81d8989 --- /dev/null +++ b/Controllers/Main/ProfilNasabahController.cs @@ -0,0 +1,26 @@ +using Microsoft.AspNetCore.Mvc; + +namespace BankSampahApp.Controllers.Main +{ + [Route("Main/[controller]/[action]")] + public class ProfilNasabahController : Controller + { + public IActionResult Index() + { + return View("~/Views/Main/ProfilNasabah/Index.cshtml"); + } + + public IActionResult Edit() + { + return View("~/Views/Main/ProfilNasabah/Edit.cshtml"); + } + + [HttpPost] + public IActionResult Edit(string namaNasabah, string nik, string email, string noHp, string namaBank, string noRekening, + string alamat, string rt, string rw, string kodePos, string provinsi, string kota, string kecamatan, string kelurahan) + { + // TODO: Implement save logic + return RedirectToAction("Index"); + } + } +} diff --git a/Views/Main/ProfilNasabah/Edit.cshtml b/Views/Main/ProfilNasabah/Edit.cshtml new file mode 100644 index 0000000..beec941 --- /dev/null +++ b/Views/Main/ProfilNasabah/Edit.cshtml @@ -0,0 +1,235 @@ +@{ + ViewData["Title"] = "Edit Profil Nasabah"; + Layout = "~/Views/Shared/_LayoutApp.cshtml"; +} + +
+ +
+

Profil Nasabah

+
+ + +
+
+ Profile Photo +
+
+
Ikhdan Nizar Maulana
+
Nasabah
+
+
+
Status Aktif
+
+
+ + +
+
+ +
+

Informasi Biodata

+
+ +
+ + +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+ +
+ + +
+ +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+ + +
+
+ +
+ + +
+
+
+ +
+ + +
+
+
+
+ +
+ + +
+ + Batal + + +
+
+
+
diff --git a/Views/Main/ProfilNasabah/Index.cshtml b/Views/Main/ProfilNasabah/Index.cshtml new file mode 100644 index 0000000..ef23d42 --- /dev/null +++ b/Views/Main/ProfilNasabah/Index.cshtml @@ -0,0 +1,129 @@ +@{ + ViewData["Title"] = "Profil Nasabah"; + Layout = "~/Views/Shared/_LayoutApp.cshtml"; +} + +
+ +
+

Profil Nasabah

+
+ + +
+
+ Profile Photo +
+
+
Ikhdan Nizar Maulana
+
Nasabah
+
+
+
Status Aktif
+
+
+ + +
+ +
+

Informasi Biodata

+ + + Edit Biodata + +
+ +
+ + +
+ +
+
+ Nama Nasabah + Ikhdan Nizar Maulana +
+
+ NIK + 7123981241 +
+
+ + +
+
+ Email + banksampahjaktim@gmail.com +
+
+ No. HP Penanggung Jawab + 0822472812142 +
+
+ + +
+
+ Nama Bank + Mandiri +
+
+ No. Rekening + 71494814124 +
+
+ +
+ + +
+ +
+
+ Alamat + Jalan Raya Pasar Minggu No. 45, Jakarta Timur, DKI Jakarta +
+
+ RT + 02 +
+
+ RW + 02 +
+
+ Kode Pos + 61374 +
+
+
+ + +
+
+ Kelurahan + Pasar Minggu +
+
+ Kecamatan + Pasarejo +
+
+ + +
+
+
+ Kota + Koda Adm, Jakarta Timur +
+
+ Provinsi + DKI Jakarta +
+
+
+
+
+
diff --git a/Views/Shared/_SidebarUnified.cshtml b/Views/Shared/_SidebarUnified.cshtml index a7a29dc..1857bfc 100644 --- a/Views/Shared/_SidebarUnified.cshtml +++ b/Views/Shared/_SidebarUnified.cshtml @@ -155,6 +155,12 @@ Profil +
  • + + + Profil Nasabah + +