Commit 4cb8b9aa authored by prumde's avatar prumde

Changes for Inventory DrillDown

git-svn-id: http://15.206.35.175/svn/proteus/business-java/trunk@203954 ce508802-f39f-4f6c-b175-0d175dae99d5
parent 72e4d276
......@@ -142,7 +142,7 @@
<html>
<![CDATA[
<div style='max-height: 300px; overflow: auto;'>
<div *ngFor="let inventoryShortage of context" onclick="setFeedData.onClick($event);" style="padding: 0px 5px 0px;">
<div *ngFor="let inventoryShortage of context" style="padding: 0px 5px 0px;">
<ng-container *ngTemplateOutlet=" eventsTemplate; context:{ $implicit: inventoryShortage }"></ng-container>
</div>
</div>
......@@ -150,8 +150,10 @@
<ng-template #eventsTemplate let-inventoryShortage>
<div style='border-bottom: 1px solid #ececec;'>
<div style='display: inline-block;'>
<div style='font-size:14px; padding:1px; cursor:pointer; ' (click)="_onDrillDown(inventoryShortage)">
<span style='position: relative; vertical-align: -webkit-baseline-middle;'>
<div style='font-size:14px; padding:1px; cursor:pointer; ' (click)="_onDrillDown(inventoryShortage, 'ITEM_CODE')">
<span #itemElem style='position: relative; vertical-align: -webkit-baseline-middle;'
(mouseover)='itemElem.style.textDecoration= "underline"'
(mouseout)='itemElem.style.textDecoration= "none"'>
{{inventoryShortage.ITEM_SH_DESCR + ' (' + inventoryShortage.ITEM_CODE + ')'}}
</span>
</div>
......@@ -159,12 +161,12 @@
<span title='Average Sales Per Day'>
{{inventoryShortage.AVG_SALE + ' '+ inventoryShortage.ITEM_UNIT +'/day' }}
</span>
<span style='padding-left:20px;' title='Available Quantity'>
<span style='padding-left:20px;' title='Pending Orders'>
Pending Orders {{inventoryShortage.PEND_ORD_QTY + ' ' + inventoryShortage.ITEM_UNIT}}
</span>
</div>
<div style='font-size:12px; padding:1px; color: #787878;'>
<span title='Pending Orders'>
<span>
{{inventoryShortage.SITE_SH_DESCR + ' (' + inventoryShortage.SITE_CODE + ')'}}
</span>
</div>
......@@ -176,7 +178,7 @@
</span>
</div>
<div style='font-size:14px; padding:1px;text-align: right;'>
<span style='position: relative; vertical-align: -webkit-baseline-middle;'>
<span style='position: relative; vertical-align: -webkit-baseline-middle;' title='Available Quantity'>
{{' In stock ' + inventoryShortage.AVAIL_STOCK_QTY + ' ' + inventoryShortage.ITEM_UNIT }}
</span>
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment