Consider the template "Late Delivery and Penalty".
The model contains the definition:
import org.accordproject.party@0.2.0.Party from https://models.accordproject.org/accordproject/party@0.2.0.cto
@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:org.accordproject.party@0.2.0.Party#Dan" (the Seller) shall pay to "resource:org.accordproject.party@0.2.0.Party#Steve" (the Buyer) for every {"$class":"org.accordproject.time@0.3.0.Duration","amount":2,"unit":"days"}
...
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: