Deskripsi :
- Perbaikan UI Donasi
## NO Issue
This commit is contained in:
2024-07-22 10:29:51 +08:00
parent 8fa3f0332d
commit 73c6d58eef
89 changed files with 1686 additions and 1442 deletions

View File

@@ -10,6 +10,7 @@ import { Donasi_funUpdateRekening } from "../../fun/update/fun_update_rekening";
import { NotifBerhasil } from "../../component/notifikasi/notif_berhasil";
import { NotifGagal } from "../../component/notifikasi/notif_gagal";
import ComponentGlobal_ErrorInput from "@/app_modules/_global/component/error_input";
import { MainColor } from "@/app_modules/_global/color/color_pallet";
export default function Donasi_EditRekening({
dataDonasi,
@@ -25,6 +26,11 @@ export default function Donasi_EditRekening({
<Stack spacing={"xl"}>
<Stack spacing={"sm"}>
<TextInput
styles={{
label: {
color: "white",
},
}}
withAsterisk
label="Nama Bank"
placeholder="Masukan Nama Bank"
@@ -44,6 +50,11 @@ export default function Donasi_EditRekening({
}
/>
<TextInput
styles={{
label: {
color: "white",
},
}}
withAsterisk
type="number"
label="Nomor Rekening"
@@ -75,6 +86,9 @@ export default function Donasi_EditRekening({
}
radius={"xl"}
onClick={() => onUpdate(router, donasi, setLoading)}
bg={MainColor.yellow}
color="yellow"
c={"black"}
>
Update
</Button>

View File

@@ -4,6 +4,8 @@ import { AppShell } from "@mantine/core";
import React from "react";
import ComponentDonasi_HeaderTamplate from "../../component/header_tamplate";
import AppComponentGlobal_LayoutTamplate from "@/app_modules/_global/component_layout_tamplate";
import UIGlobal_LayoutTamplate from "@/app_modules/_global/ui/ui_layout_tamplate";
import UIGlobal_LayoutHeaderTamplate from "@/app_modules/_global/ui/ui_header_tamplate";
export default function LayoutDonasi_EditRekening({
children,
@@ -12,11 +14,11 @@ export default function LayoutDonasi_EditRekening({
}) {
return (
<>
<AppComponentGlobal_LayoutTamplate
header={<ComponentDonasi_HeaderTamplate title="Edit Rekening" />}
<UIGlobal_LayoutTamplate
header={<UIGlobal_LayoutHeaderTamplate title="Edit Rekening" />}
>
{children}
</AppComponentGlobal_LayoutTamplate>
</UIGlobal_LayoutTamplate>
</>
);
}