adjustment
This commit is contained in:
@@ -125,11 +125,11 @@
|
||||
>
|
||||
<br /><span style="margin-left: 10px"
|
||||
>c) Anggota keluarga saya :
|
||||
{{ if eq (len .PatientRelatives_Name) 0 }}
|
||||
{{ if eq (len .Relatives) 0 }}
|
||||
..........................................
|
||||
{{ else }}
|
||||
<ul style="margin:0; padding-left:40px;">
|
||||
{{ range $i, $name := .PatientRelatives_Name }}
|
||||
{{ range $i, $name := .Relatives }}
|
||||
{{ if lt $i 2 }}
|
||||
<li>{{ $name }}</li>
|
||||
{{ end }}
|
||||
@@ -271,7 +271,7 @@
|
||||
</div>
|
||||
|
||||
<div style="height:20px;">
|
||||
{{ .Responsible_Name }}
|
||||
{{ .Responsible }}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -285,7 +285,7 @@
|
||||
</div>
|
||||
|
||||
<div style="height:20px;">
|
||||
{{ .InformationGivenBy_Name }}
|
||||
{{ .Informant }}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -299,7 +299,7 @@
|
||||
</div>
|
||||
|
||||
<div style="height:20px;">
|
||||
{{ .Witness1_Name }}
|
||||
{{ .Witness1 }}
|
||||
</div>
|
||||
</td>
|
||||
|
||||
@@ -313,7 +313,7 @@
|
||||
</div>
|
||||
|
||||
<div style="height:20px;">
|
||||
{{ .Witness2_Name }}
|
||||
{{ .Witness2 }}
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -6,12 +6,12 @@ import (
|
||||
)
|
||||
|
||||
type GeneralConsentPDF struct {
|
||||
PatientRelatives_Name []string `json:"patientRelatives_name"`
|
||||
Responsible_Name string `json:"responsible_name"`
|
||||
InformationGivenBy_Name string `json:"informationGivenBy_name"`
|
||||
Witness1_Name string `json:"witness1_name"`
|
||||
Witness2_Name string `json:"witness2_name"`
|
||||
Date string `json:"date"`
|
||||
Relatives []string `json:"relatives"`
|
||||
Responsible string `json:"responsible"`
|
||||
Informant string `json:"informant"`
|
||||
Witness1 string `json:"witness1"`
|
||||
Witness2 string `json:"witness2"`
|
||||
Date string `json:"date"`
|
||||
}
|
||||
|
||||
type GenerateDto struct {
|
||||
|
||||
Reference in New Issue
Block a user