Skip to content

Commit

Permalink
Display the e-folio for no-property recording acts
Browse files Browse the repository at this point in the history
  • Loading branch information
jmcota committed Jun 9, 2022
1 parent cbb7177 commit 3076f45
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Land.Pages/recording-stamps/recording.stamp.aspx
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@
<img style="margin-right:-12pt;margin-left:-12pt;margin-top:-12pt" alt="" title=""
src="../user.controls/qrcode.aspx?size=120&#38;data=<%=SEARCH_SERVICES_SERVER_BASE_ADDRESS%>/?type=resource%26uid=<%=base.UniqueInvolvedResource.UID%>%26hash=<%=base.UniqueInvolvedResource.QRCodeSecurityHash()%>" />
<div style="margin-top:-12pt;font-size:7pt;white-space:nowrap">
Consultar folio real/predio<br />
Consultar folio electrónico<br />
<b><%=base.UniqueInvolvedResource.UID%></b>
</div>
<% } %>
Expand Down
7 changes: 5 additions & 2 deletions Land.Pages/recording-stamps/recording.stamp.aspx.cs
Original file line number Diff line number Diff line change
Expand Up @@ -475,11 +475,14 @@ private string GetAmendmentActTypeDisplayName(RecordingAct amendmentAct) {

private string GetNoPropertyActText(RecordingAct recordingAct, int index) {
const string template =
"{INDEX}.- <b style='text-transform:uppercase'>{RECORDING.ACT}</b><br/>";
"{INDEX}.- <b style='text-transform:uppercase'>{RECORDING.ACT}</b> " +
"(folio electrónico <b>{RESOURCE.UID}</b>)<br/>";

string x = template.Replace("{INDEX}", index.ToString());

return x.Replace("{RECORDING.ACT}", recordingAct.DisplayName);
x = x.Replace("{RECORDING.ACT}", recordingAct.DisplayName);

return x.Replace("{RESOURCE.UID}", recordingAct.Resource.UID);
}


Expand Down

0 comments on commit 3076f45

Please sign in to comment.