|
@@ -2,7 +2,7 @@
|
|
|
.pos-step
|
|
|
.products-selector
|
|
|
searcher(:items='products' :keys="['name', 'displayName', 'ean13', 'defaultCode']" mode='normal' @onSearch='filterProducts')
|
|
|
- card-grid(:items='visibleProducts' :loading='loadingProducts' @onAdd='showProductForm' :details="['price:c']" @onSelect='selectProduct')
|
|
|
+ card-grid(:items='visibleProducts' :loading='loadingProducts' @onAdd='showProductForm' :details="['price:c']" :options='selectedCurrency' @onSelect='selectProduct')
|
|
|
product-modal(:show='showingProductForm' @onAccept='submitProduct' @onCancel='hideProductForm')
|
|
|
variant-modal
|
|
|
discount-modal(:item='itemToDiscount' :options='selectedCurrency' :show='!!itemToDiscount' @onAccept='applyPrice' @onCancel='applyPrice')
|