Hi, I have a formatting problem. I'm trying to put...
# suitescript
s
Hi, I have a formatting problem. I'm trying to put this "ALIQUOTA IPI" next to "ALIQUOTA ICMS", but without success. I'm not very good with HTML. Can someone help me?
Copy code
<#if record.item?has_content>

<table style="width: 100%; margin-top: 10px;"><!-- start items --><#list record.item as item><#if item_index==0>
<thead>
	<tr>
	<th align="center" colspan="3" style="padding: 10px 6px; width: 102px;">${item.quantity@label}</th>
	<th colspan="14" style="padding: 10px 6px; width: 420px;">${item.item@label}</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 81px;">Al&iacute;quota ICMS</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 101px;">${item.rate@label}</th>
	<th align="right" colspan="4" style="padding: 10px 6px; width: 122px;">${item.amount@label}</th>
	</tr>
</thead>
</#if>
  
  <tr>
	<td align="center" colspan="3" line-height="150%" style="width: 102px;">${item.quantity}</td>
	<td colspan="14" style="width: 420px;"><span style="font-weight: bold; line-height: 150%; color: #333333;">${item.item}</span><br />${item.description}</td>
	<td align="right" colspan="5" style="width: 81px;">${(item.custcol_aliq_icms)!'-'}</td>
	<td align="right" colspan="5" style="width: 101px;">${item.rate}</td>
	<td align="right" colspan="4" style="width: 122px;">${item.amount}</td>
	</tr>
	</#list><!-- end items --></table>
  
  <table style="width: 100%; margin-top: 10px;"><!-- start items --><#list record.item as item><#if item_index==0>
<thead>
	<tr>
	<th align="center" colspan="3" style="padding: 10px 6px; width: 102px;">${item.quantity@label}</th>
	<th colspan="14" style="padding: 10px 6px; width: 420px;">${item.item@label}</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 81px;">Al&iacute;quota IPI</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 101px;">${item.rate@label}</th>
	<th align="right" colspan="4" style="padding: 10px 6px; width: 122px;">${item.amount@label}</th>
	</tr>
</thead>
</#if>
  
  <tr>
	<td align="center" colspan="3" line-height="150%" style="width: 102px;">${item.quantity}</td>
	<td colspan="14" style="width: 420px;"><span style="font-weight: bold; line-height: 150%; color: #333333;">${item.item}</span><br />${item.description}</td>
	<td align="right" colspan="5" style="width: 81px;">${(item.custcol_aliq_ipi)!'-'}</td>
	<td align="right" colspan="5" style="width: 101px;">${item.rate}</td>
	<td align="right" colspan="4" style="width: 122px;">${item.amount}</td>
	</tr>
	</#list><!-- end items --></table>
c
Copy code
<#if record.item?has_content>

<table style="width: 100%; margin-top: 10px;"><!-- start items --><#list record.item as item><#if item_index==0>
<thead>
	<tr>
	<th align="center" colspan="3" style="padding: 10px 6px; width: 102px;">${item.quantity@label}</th>
	<th colspan="14" style="padding: 10px 6px; width: 420px;">${item.item@label}</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 81px;">Al&iacute;quota ICMS</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 81px;">Al&iacute;quota IPI</th>
	<th align="right" colspan="5" style="padding: 10px 6px; width: 101px;">${item.rate@label}</th>
	<th align="right" colspan="4" style="padding: 10px 6px; width: 122px;">${item.amount@label}</th>
	</tr>
</thead>
</#if>
  
  <tr>
	<td align="center" colspan="3" line-height="150%" style="width: 102px;">${item.quantity}</td>
	<td colspan="14" style="width: 420px;"><span style="font-weight: bold; line-height: 150%; color: #333333;">${item.item}</span><br />${item.description}</td>
	<td align="right" colspan="5" style="width: 81px;">${(item.custcol_aliq_icms)!'-'}</td>
	<td align="right" colspan="5" style="width: 81px;">${(item.custcol_aliq_ipi)!'-'}</td>
	<td align="right" colspan="5" style="width: 101px;">${item.rate}</td>
	<td align="right" colspan="4" style="width: 122px;">${item.amount}</td>
	</tr>
	</#list><!-- end items -->
</table>`
s
Thanks @CD 😄