Merge pull request 'fix(fixed-price): confirm on deletion' (#781) from 3358-fixed_price into dev
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #781 Reviewed-by: Carlos Jimenez Ruiz <carlosjr@verdnatura.es>
This commit is contained in:
commit
b66d1a68e9
|
@ -116,7 +116,8 @@
|
||||||
class="dense"
|
class="dense"
|
||||||
vn-focus
|
vn-focus
|
||||||
ng-model="price.minPrice"
|
ng-model="price.minPrice"
|
||||||
on-change="$ctrl.upsertPrice(price)">
|
on-change="$ctrl.upsertPrice(price)"
|
||||||
|
step="0.01">
|
||||||
</vn-input-number>
|
</vn-input-number>
|
||||||
</field>
|
</field>
|
||||||
</vn-td-editable>
|
</vn-td-editable>
|
||||||
|
@ -140,7 +141,7 @@
|
||||||
<vn-icon-button
|
<vn-icon-button
|
||||||
icon="delete"
|
icon="delete"
|
||||||
vn-tooltip="Delete"
|
vn-tooltip="Delete"
|
||||||
ng-click="$ctrl.removePrice($index)">
|
ng-click="deleteFixedPrice.show({$index})">
|
||||||
</vn-icon-button>
|
</vn-icon-button>
|
||||||
</vn-td>
|
</vn-td>
|
||||||
</vn-tr>
|
</vn-tr>
|
||||||
|
@ -164,3 +165,9 @@
|
||||||
vn-id="item-descriptor"
|
vn-id="item-descriptor"
|
||||||
warehouse-fk="$ctrl.vnConfig.warehouseFk">
|
warehouse-fk="$ctrl.vnConfig.warehouseFk">
|
||||||
</vn-item-descriptor-popover>
|
</vn-item-descriptor-popover>
|
||||||
|
<vn-confirm
|
||||||
|
vn-id="deleteFixedPrice"
|
||||||
|
on-accept="$ctrl.removePrice($data.$index)"
|
||||||
|
question="Are you sure you want to continue?"
|
||||||
|
message="This row will be removed">
|
||||||
|
</vn-confirm>
|
|
@ -2,3 +2,4 @@ Fixed prices: Precios fijados
|
||||||
Search prices by item ID or code: Buscar por ID de artículo o código
|
Search prices by item ID or code: Buscar por ID de artículo o código
|
||||||
Search fixed prices: Buscar precios fijados
|
Search fixed prices: Buscar precios fijados
|
||||||
Add fixed price: Añadir precio fijado
|
Add fixed price: Añadir precio fijado
|
||||||
|
This row will be removed: Esta linea se eliminará
|
Loading…
Reference in New Issue