Fix: Accidentally had another Sale Price inputbox (readonly)
This commit is contained in:
parent
bf79638d4b
commit
3c4f24989c
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user