layouts/basic/modules/Vtiger/Detail/Widget/InventoryBlock.tpl
{*<!-- {[The file is published on the basis of YetiForce Public License 6.5 that can be found in the following directory: licenses/LicenseEN.txt or yetiforce.com]} -->*}
{strip}
<!-- tpl-Base-Detail-Widget-InventoryBlock -->
<div class="listViewEntriesDiv table-responsive">
<input type="hidden" name="page" value="{$PAGING_MODEL->get('page')}" />
<table class="table listViewEntriesTable c-detail-widget__table">
<thead>
<tr class="text-left listViewHeaders">
{foreach from=$HEADER_FIELD item=FIELD key=NAME}
<th class="p-1" nowrap>
{\App\Language::translate($FIELD->get('label'), $MODULE_NAME)}
</th>
{/foreach}
</tr>
</thead>
<tbody>
{foreach from=$ENTRIES item=INVENTORY_ROW}
<tr class="listViewEntries">
{foreach from=$HEADER_FIELD item=FIELD key=NAME}
<td nowrap>{$FIELD->getListViewDisplayValue($INVENTORY_ROW[$FIELD->getColumnName()], $INVENTORY_ROW)}</td>
{/foreach}
</tr>
{/foreach}
</tbody>
</table>
</div>
{if $PAGING_MODEL->isNextPageExists()}
<div class="d-flex py-1">
<div class="ml-auto">
<button type="button" class="btn btn-primary btn-sm moreRecentRecords">{\App\Language::translate('LBL_MORE',$MODULE_NAME)}</button>
</div>
</div>
{/if}
<!-- /tpl-Base-Detail-Widget-InventoryBlock -->
{/strip}