Merge pull request #217 from dikstub-rssa/fix/anything-moko

feat (resume): update template html include data fasyankes, not set yet
This commit is contained in:
Dwi Atmoko Purbo Sakti
2025-12-16 11:52:51 +07:00
committed by GitHub
3 changed files with 11 additions and 7 deletions
@@ -328,6 +328,10 @@ func generateResumeTemplateData(resume er.Resume, event pl.Event, tx *gorm.DB) (
templateData.DischargeMethod = rData.Management.DischargeMethod
templateData.Medications = rData.Medication.Medications
templateData.Date = pu.GetTimeNow().Format("02-01-2006")
// this below is just my guess
// templateData.ControlHealthcare = get from vclaim sep eg. III
// templateData.ControlUnit = get from vclaim sep eg. R.KERINCI - KLS 3
// templateData.ControlDate = get from vclaim sep eg. 2022-01-01
return &templateData, nil
}
@@ -62,10 +62,10 @@ type ResumePDF struct {
ConditionOnDischarge string
DischargeMethod string
Medications []er.MedicationEntry
// fasyankes
// date
// klinik
Date string
ControlHealthcare string
ControlUnit string
ControlDate string
Date string
}
type ScreeningPDF struct {