You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Consider the template "Late Delivery and Penalty".
The model contains the definition:
import [email protected] from https://models.accordproject.org/accordproject/[email protected]
@template
asset LateDeliveryAndPenaltyContract extends Contract {
--> Party buyer
--> Party seller
/* ...rest of asset definition here
}
## Late Delivery and Penalty.
In case of delayed delivery{{#if forceMajeure}} except for Force Majeure cases,{{/if}}
{{seller}} (the Seller) shall pay to {{buyer}} (the Buyer) for every {{penaltyDuration}}
...
Expected Behavior
As per olde Template Studio, the text used to render as:
Late Delivery and Penalty.
----
In case of delayed delivery except for Force Majeure cases,
"Dan" (the Seller) shall pay to "Steve" (the Buyer) for every 2 days
Actual Behavior
The Template Playground renders the same model, grammar and data as:
## Late Delivery and Penalty.
In case of delayed delivery except for Force Majeure cases,
"resource:[email protected]#Dan" (the Seller) shall pay to "resource:[email protected]#Steve" (the Buyer) for every {"$class":"[email protected]","amount":2,"unit":"days"}
...
The text was updated successfully, but these errors were encountered:
martinhalford
changed the title
TenplateMark not rendering relationships "resource" data
TemplateMark not rendering relationships "resource" data
Aug 1, 2023
Context
Consider the template "Late Delivery and Penalty".
The model contains the definition:
The data.json reads as follows:
The grammar is defined as:
Expected Behavior
As per olde Template Studio, the text used to render as:
Actual Behavior
The Template Playground renders the same model, grammar and data as:
The text was updated successfully, but these errors were encountered: