diff --git a/models/keuangan.models.go b/models/keuangan.models.go new file mode 100644 index 0000000..42b9c60 --- /dev/null +++ b/models/keuangan.models.go @@ -0,0 +1,8 @@ +package models + +type KeuanganModel struct { + TotalOrder string + TotalTagihan string + TotalPelunasan string + TotalHutang string +} diff --git a/views/corporate/mcu/mcutab/tabkeuangan.templ b/views/corporate/mcu/mcutab/tabkeuangan.templ new file mode 100644 index 0000000..b16d58f --- /dev/null +++ b/views/corporate/mcu/mcutab/tabkeuangan.templ @@ -0,0 +1,27 @@ +package corporate_mcudetail + +// import "cpone/component/customtextfield" +// import "cpone/models" + +templ TabKeuangan( + // tableID string, +) { +
+ // @customtextfield.CustomTextFieldv2(models.CustomTextFieldv2Prm{ID: "tableID", + // Name: "tableID", + // Type: "hidden", + // Value: tableID, + // }) +
+

Keuangan

+
+
+
+
+ Loading.... +
+
+
+
+
+} \ No newline at end of file diff --git a/views/corporate/mcu/mcutab/tabkeuangan_templ.go b/views/corporate/mcu/mcutab/tabkeuangan_templ.go new file mode 100644 index 0000000..4589602 --- /dev/null +++ b/views/corporate/mcu/mcutab/tabkeuangan_templ.go @@ -0,0 +1,39 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.2.663 +package corporate_mcudetail + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import "context" +import "io" +import "bytes" + +// import "cpone/component/customtextfield" +// import "cpone/models" +func TabKeuangan( +// tableID string, +) templ.Component { + return templ.ComponentFunc(func(ctx context.Context, templ_7745c5c3_W io.Writer) (templ_7745c5c3_Err error) { + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templ_7745c5c3_W.(*bytes.Buffer) + if !templ_7745c5c3_IsBuffer { + templ_7745c5c3_Buffer = templ.GetBuffer() + defer templ.ReleaseBuffer(templ_7745c5c3_Buffer) + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var1 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1 == nil { + templ_7745c5c3_Var1 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("

Keuangan

Loading....
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if !templ_7745c5c3_IsBuffer { + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteTo(templ_7745c5c3_W) + } + return templ_7745c5c3_Err + }) +} diff --git a/views/corporate/mcu/mcutab/tablekeuangan.templ b/views/corporate/mcu/mcutab/tablekeuangan.templ new file mode 100644 index 0000000..0a5176d --- /dev/null +++ b/views/corporate/mcu/mcutab/tablekeuangan.templ @@ -0,0 +1,20 @@ +package corporate_mcudetail + +// import "cpone/models" + +templ TableKeuangan( + // data []models.KeuanganModel, + // tableID string, +) { +
+ + + + + + + + +
TagihanPelunasanSisa
+
+} \ No newline at end of file diff --git a/views/corporate/mcu/mcutab/tablekeuangan_templ.go b/views/corporate/mcu/mcutab/tablekeuangan_templ.go new file mode 100644 index 0000000..dd3f08a --- /dev/null +++ b/views/corporate/mcu/mcutab/tablekeuangan_templ.go @@ -0,0 +1,39 @@ +// Code generated by templ - DO NOT EDIT. + +// templ: version: v0.2.663 +package corporate_mcudetail + +//lint:file-ignore SA4006 This context is only used if a nested component is present. + +import "github.com/a-h/templ" +import "context" +import "io" +import "bytes" + +// import "cpone/models" +func TableKeuangan( +// data []models.KeuanganModel, +// tableID string, +) templ.Component { + return templ.ComponentFunc(func(ctx context.Context, templ_7745c5c3_W io.Writer) (templ_7745c5c3_Err error) { + templ_7745c5c3_Buffer, templ_7745c5c3_IsBuffer := templ_7745c5c3_W.(*bytes.Buffer) + if !templ_7745c5c3_IsBuffer { + templ_7745c5c3_Buffer = templ.GetBuffer() + defer templ.ReleaseBuffer(templ_7745c5c3_Buffer) + } + ctx = templ.InitializeContext(ctx) + templ_7745c5c3_Var1 := templ.GetChildren(ctx) + if templ_7745c5c3_Var1 == nil { + templ_7745c5c3_Var1 = templ.NopComponent + } + ctx = templ.ClearChildren(ctx) + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("
TagihanPelunasanSisa
") + if templ_7745c5c3_Err != nil { + return templ_7745c5c3_Err + } + if !templ_7745c5c3_IsBuffer { + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteTo(templ_7745c5c3_W) + } + return templ_7745c5c3_Err + }) +} diff --git a/views/corporate/mcu/mcutabview.templ b/views/corporate/mcu/mcutabview.templ index fb5dadc..fa39cab 100644 --- a/views/corporate/mcu/mcutabview.templ +++ b/views/corporate/mcu/mcutabview.templ @@ -29,6 +29,9 @@ templ TabViewMcuDetail( +
@@ -58,5 +61,10 @@ templ TabViewMcuDetail(
+
+
+ Soon.... +
+
} \ No newline at end of file diff --git a/views/corporate/mcu/mcutabview_templ.go b/views/corporate/mcu/mcutabview_templ.go index f4a7f10..146f0bf 100644 --- a/views/corporate/mcu/mcutabview_templ.go +++ b/views/corporate/mcu/mcutabview_templ.go @@ -51,14 +51,14 @@ func TabViewMcuDetail( if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" hx-target=\"#tabdaftarpeserta\">Daftar Peserta
  • Executive Summary
  • Daftar Peserta
  • Executive Summary
  • Keuangan
  • ") + _, templ_7745c5c3_Err = templ_7745c5c3_Buffer.WriteString("\" type=\"application/pdf\" width=\"100%\" height=\"100%\">
    Soon....\r
    ") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }