Fix: Accidentally had another Sale Price inputbox (readonly)

This commit is contained in:
tanshu 2016-03-15 16:18:46 +05:30
parent bf79638d4b
commit 3c4f24989c

View File

@ -13,25 +13,22 @@
No matches found.
</md-not-found>
</md-autocomplete>
<md-input-container flex-gt-sm>
<md-input-container>
<input type="text" ng-model="recipe.Quantity" placeholder="Quantity"/>
</md-input-container>
<md-input-container flex-gt-sm ng-show="recipe.Product.IsSold">
<md-input-container ng-show="recipe.Product.IsSold">
<input type="text" ng-model="recipe.SalePrice" placeholder="Sale Price"/>
<md-tooltip md-direction="top">
Product's Sale Price {{recipe.Product.SalePrice}}, Recipe's Sale Price {{recipe.SalePrice}},
</md-tooltip>
</md-input-container>
<md-input-container class="md-block" flex-gt-sm>
<md-input-container class="md-block">
<input type="text" readonly value="{{recipe.Product.Units}}"/>
</md-input-container>
<md-input-container class="md-block" flex-gt-sm>
<md-input-container class="md-block">
<input type="text" readonly placeholder="Cost Price / Costing"
value="{{costPrice | currency}} / {{costPrice * 100 / recipe.SalePrice | number:2}}%"/>
</md-input-container>
<md-input-container ng-show="recipe.Product.IsSold">
<input type="text" readonly placeholder="Sale Price" value="{{recipe.Product.SalePrice}}"/>
</md-input-container>
</div>
<div layout-gt-sm="row">
<md-datepicker md-placeholder="Valid From" ng-model="recipe.ValidFrom"></md-datepicker>