From 2c314a3891690eb712fbf0901586850e401cbdd8 Mon Sep 17 00:00:00 2001 From: Mauricio Baeza Date: Wed, 11 Aug 2021 22:10:23 -0500 Subject: [PATCH] Add select warehouse in add product --- source/static/js/ui/products.js | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/source/static/js/ui/products.js b/source/static/js/ui/products.js index e29c563..3b150c0 100644 --- a/source/static/js/ui/products.js +++ b/source/static/js/ui/products.js @@ -427,8 +427,13 @@ var body_add_inventory = {rows: [{minHeight: 10}, ]}, {view: 'textarea', id: 'txt_add_description', height: 100, label: 'DescripciĆ³n', readonly: true, labelPosition: 'top'}, - {view: 'counter', id: 'txt_new_cant', label: 'Cantidad a agregar', - labelWidth: 'auto', step: 1, value: 0, min: 0.01}, + {minHeight: 10}, + {cols: [ + {view: 'counter', id: 'txt_new_cant', label: 'Cantidad a agregar', + labelWidth: 'auto', step: 1, value: 0, min: 0.01}, + {view: 'richselect', id: 'lst_warehouses', label: 'Almacen: ', + labelPosition: 'left', required: false, options: [], hidden: true}, + ]}, {minHeight: 20}, {cols: [{}, {view: 'button', id: 'cmd_add_inventory_save', label: 'Guardar'}, {},