
Add a custom transaction body field of type Inline HTML.
For that go to Customization > Lists, Record, & fields > Transaction Body Fields
Add Label, select type as Inline HTML.
Under ‘Applies To’ subtab check Item Receipt
Under Validation and Defaulting subtab, add the below code in DEFAULT VALUE
' <style>
.ITEMRECEIPT_summary{
font-size: 12px;
}
</style>
<table class="totallingtable" cellspacing="0" cellpadding="0px" border="0px">
<caption style="display: none">Summary</caption>
<tbody>
<tr>
<td border:"1px">
<p style="font-size:12px">
TOTAL
</td>
<td>
<strong class=" ITEMRECEIPT_summary ">'||{custbody17} ||'</strong>
</td>
</p>
</tr>
</tbody>
</table> '
Here ‘custbody17’ holds the total amount which is to be added to Summary Box.
Click on Save & Apply to Forms.
Summary Box will be added in Item Receipt.