Hello Team , Iam trying since few days to create a Gift Certificate in document printer ., but when I insert {Transactions} its giving error , can any body who knows document help me please below is the template where I strucked.
[LAYOUT]
-- General layout
<Paragraph FontSize="1" TextAlignment="Center" Padding="0,0,0,0">
<Image Height="75" Width="450" Source="C:\ProgramData\SAMBAPOS\Invoice.jpg"/></Paragraph>
<Section FontFamily="Calibri" Margin="0" LineHeight="1">
<Paragraph FontSize="45" TextAlignment="Center" Padding="0,0,0,0">
<Run>Gift Certificate</Run></Paragraph>
<Table FontSize="24">
<Table.Columns>
<TableColumn Width="*"/>
</Table.Columns>
<TableRowGroup><TableRow>
<TableCell><Paragraph></Paragraph></TableCell>
<TableCell><Paragraph TextAlignment="Left">Presented To;</Paragraph></TableCell>
<TableCell><Paragraph TextAlignment="Left"></Paragraph></TableCell>
</TableRow></TableRowGroup>
</Table>
<Table FontSize="17.5"> <Table.Columns>
<TableColumn Width="*"/>
</Table.Columns>
<TableRowGroup><TableRow>
<TableCell><Paragraph></Paragraph></TableCell>
<TableCell><Paragraph TextAlignment="Left"></Paragraph></TableCell>
<TableCell><Paragraph TextAlignment="Left"></Paragraph></TableCell>
<TableCell><Paragraph TextAlignment="Left"></Paragraph></TableCell>
<TableCell><Paragraph TextAlignment="Right"></Paragraph></TableCell>
</TableRow></TableRowGroup>
</Table>
<Paragraph FontSize="20" TextAlignment="Left" BorderThickness="0,0.6,0,0" BorderBrush="Black" Padding="0">
<Bold>Message:</Bold></Paragraph>
<Table Padding="0,10" BorderThickness="0,0,0,1" BorderBrush="Black">
{ENTITIES}
<TableRowGroup><TableRow>
<TableCell><Paragraph FontSize="20" TextAlignment="Right"><Bold>Gift Amount:${TICKET TOTAL}</Bold></Paragraph></TableCell>
<TableCell><Paragraph FontSize="20" TextAlignment="Right"><Bold></Bold></Paragraph></TableCell>
</TableRow></TableRowGroup>
</Table>
<Table Padding="0,0">
<Table.Columns>
<TableColumn Width="6*"/>
<TableColumn Width="2*"/>
</Table.Columns>
</Table>
<Paragraph TextAlignment="Center" BorderThickness="0,0.6,0,0" BorderBrush="Black" Padding="10">
Gift Certificate: *No Cash Value<LineBreak/>
Redeemable at below Address <LineBreak/>
</Paragraph>
<Paragraph FontSize="16" TextAlignment="Center" BorderThickness="0,0.9,0,0" BorderBrush="Black" Padding="10">
<Bold>The Copper Pot, 110 Palmerston Street - Westport <LineBreak/>
www.Thecopperpot.co.nz<LineBreak/>
<LineBreak/>
T H A N K Y O U !</Bold><LineBreak/></Paragraph>
</Section>
[TRANSACTIONS]
[ENTITIES:Account]
-- Customer entity format
<Table>
<Table.Columns>
<TableColumn Width="*"/>
<TableColumn Width="1*"/>
</Table.Columns>
<TableRowGroup>
<TableRow>
<TableCell><Paragraph FontSize="20" TextAlignment="Left"><Bold>{ENTITY DATA:Customer Name}</Bold></Paragraph></TableCell>
</TableRow>
<TableRow>
<TableCell><Paragraph FontSize="18" TextAlignment="Left">{ENTITY DATA:Address}</Paragraph></TableCell>
</TableRow>
<TableRow>
<TableCell><Paragraph FontSize="18" TextAlignment="Left">Phone:{ENTITY NAME}</Paragraph></TableCell>
</TableRow>
</TableRowGroup>
</Table>
[ENTITIES:Customer]
-- Customer entity format
<Table>
<Table.Columns>
<TableColumn Width="*"/>
<TableColumn Width="1*"/>
</Table.Columns>
<TableRowGroup>
<TableRow>
<TableCell><Paragraph FontSize="20" TextAlignment="Left"><Bold>{ENTITY DATA:Customer Name}</Bold></Paragraph></TableCell>
</TableRow>
<TableRow>
<TableCell><Paragraph FontSize="18" TextAlignment="Left">{ENTITY DATA:Address}</Paragraph></TableCell>
</TableRow>
<TableRow>
<TableCell><Paragraph FontSize="18" TextAlignment="Left">Phone:{ENTITY NAME}</Paragraph></TableCell>
</TableRow>
</TableRowGroup>
</Table>