show gp icons on view
parent
ebacfd0147
commit
93bb0a4f05
|
|
@ -394,7 +394,23 @@
|
|||
<td><%= lotOccupancyTransaction.transactionDateString %></td>
|
||||
<td>
|
||||
<% if (lotOccupancyTransaction.externalReceiptNumber !== '') { %>
|
||||
<%= lotOccupancyTransaction.externalReceiptNumber %><br />
|
||||
<%= lotOccupancyTransaction.externalReceiptNumber %>
|
||||
<% if (configFunctions.getProperty('settings.dynamicsGP.integrationIsEnabled')) { %>
|
||||
<% if (lotOccupancyTransaction.dynamicsGPDocument === undefined) { %>
|
||||
<span data-tooltip="No Matching Document Found">
|
||||
<i class="fas fa-times-circle has-text-danger" aria-label="No Matching Document Found"></i>
|
||||
</span>
|
||||
<% } else if (lotOccupancyTransaction.dynamicsGPDocument.documentTotal.toFixed(2) === lotOccupancyTransaction.transactionAmount.toFixed(2)) { %>
|
||||
<span data-tooltip="Matching Document Found">
|
||||
<i class="fas fa-check-circle has-text-success" aria-label="Matching Document Found"></i>
|
||||
</span>
|
||||
<% } else { %>
|
||||
<span data-tooltip="Matching Document: $<%= lotOccupancyTransaction.dynamicsGPDocument.documentTotal.toFixed(2) %>">
|
||||
<i class="fas fa-exclamation-triangle has-text-warning" aria-label="Matching Document: $<%= lotOccupancyTransaction.dynamicsGPDocument.documentTotal.toFixed(2) %>"></i>
|
||||
</span>
|
||||
<% } %>
|
||||
<% } %>
|
||||
<br />
|
||||
<% } %>
|
||||
<small><%= lotOccupancyTransaction.transactionNote %></small>
|
||||
</td>
|
||||
|
|
|
|||
Loading…
Reference in New Issue