SyncMadeEasy/force-app/main/default/lwc/orgObjectSynchCheck/orgObjectSynchCheck.html

59 lines
2.8 KiB
HTML

<!--
@description :
@author : Satyam Mishra
@group :
@last modified on : 04-26-2024
@last modified by : Satyam Mishra
-->
<template>
<lightning-card title="Hourly Sync Totals" icon-name="custom:custom63">
<div class="tableDiv">
<div class={tableStyle}>
<table aria-describedby="conatact-list" class="slds-table slds-table_bordered ">
<!--Header of the table-->
<thead>
<tr class="slds-line-height_reset">
<!--th class="slds-size_1-of-6 " scope="col">
<div class="slds-truncate " title="#"> ** </div>
</th-->
<th class="slds-size_1-of-6 " scope="col">
<div class="slds-truncate " title="Resourve">Resource</div>
</th>
<th class="slds-size_1-of-6 " scope="col">
<div class="slds-truncate " title="Previous Hour">@{previous.data}</div>
</th>
<th class="slds-size_1-of-6 " scope="col">
<div class="slds-truncate " title="Current Hour">@{current.data} </div>
</th>
<th class="slds-size_1-of-6" scope="col">
<div class="slds-truncate " title="Day to Hour">Today</div>
</th>
</tr>
</thead>
<!--Body of the table-->
<tbody>
<template for:each={objCheckList.data} for:item="ocVO">
<tr key={ocVO.id} class="slds-hint-parent">
<!--td class="slds-size_1-of-6">
<div>{ocVO.id}</div>
</!td-->
<td class="slds-size_1-of-6">
<div>{ocVO.name}</div>
</td>
<td class="slds-size_1-of-6">
<div><b>{ocVO.prevHourTotal}</b></div>
</td>
<td class="slds-size_1-of-6">
<div> <b>{ocVO.currentHourTotal}</b> </div>
</td>
<td class="slds-size_1-of-6">
<div> <b>{ocVO.dayTotal}</b> </div>
</td>
</tr>
</template>
</tbody>
</table>
</div>
</div>
</lightning-card>
</template>