Skip to content

Commit

Permalink
Fix: #4866 - add burial date to burial report
Browse files Browse the repository at this point in the history
  • Loading branch information
fisharebest committed Aug 14, 2023
1 parent 718d7b7 commit f5da807
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions resources/xml/reports/cemetery_report.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,8 @@

<!-- landscape orientation -->
<SetVar name="namewidth" value="185"/>
<SetVar name="datewidth" value="95"/>
<SetVar name="placewidth" value="325"/>
<SetVar name="datewidth" value="115"/>
<SetVar name="placewidth" value="200"/>

<Doc pageSize="$pageSize" orientation="landscape">
<Header>
Expand All @@ -46,10 +46,16 @@
<Text style="label"><var var="I18N::translate('Date of death')" /></Text>
</TextBox>

<SetVar name="fill" value="" />
<if condition="$sortby=='DEAT:DATE'"><SetVar name="fill" value="#AAAAAA" /></if>
<TextBox bgcolor="$fill" border="1" width="$datewidth">
<Text style="label"><var var="I18N::translate('Date of burial')" /></Text>
</TextBox>

<SetVar name="fill" value="" />
<if condition="$sortby=='PLAC'"><SetVar name="fill" value="#AAAAAA" /></if>
<TextBox bgcolor="$fill" border="1" width="$placewidth">
<Text style="label"><var var="I18N::translate('Place')" /></Text>
<Text style="label"><var var="I18N::translate('Place of burial')" /></Text>
</TextBox>

<TextBox border="1" newline="1">
Expand All @@ -75,6 +81,9 @@
<Cell style="text" width="$datewidth">
<GedcomValue tag="DEAT:DATE" newline="1" />
</Cell>
<Cell style="text" width="$datewidth">
<GedcomValue tag="BURI:DATE" newline="1" />
</Cell>
<Cell style="text" width="$placewidth">
<GedcomValue tag="BURI:CEME" />
<if condition="@BURI:CEME !== ''">, </if>
Expand Down

0 comments on commit f5da807

Please sign in to comment.