|
|
@@ -2,8 +2,8 @@
|
|
|
# The data can then be loaded with the rake db:seed (or created alongside the db with db:setup).
|
|
|
#
|
|
|
# Examples:
|
|
|
-#
|
|
|
- # USUARIOS DEFAULT
|
|
|
+#
|
|
|
+ # USUARIOS DEFAULT
|
|
|
User.create(userid:'adminpos', first_name: 'Administrador', last_name: ' POS ', email: 'info@sml.mx', usertype: "A" , password: 'smlpos2016', password_confirmation: 'smlpos2016').save(:validate => false)
|
|
|
|
|
|
## UNIDADES DE MEDIDA
|
|
|
@@ -25,11 +25,11 @@
|
|
|
|
|
|
# CLIENTE
|
|
|
Customer.create(nick_name: "Publico general", phone: "0000000000", email: 'cliente@clientes.com', credit: false, credit_limit: 0, time_limit: 0, notes: "ninguna", status: 1, is_public: 1)
|
|
|
-
|
|
|
+
|
|
|
# ALMACEN
|
|
|
Warehouse.create(name: 'Almacen central', status: 1, prefix: 'CEN')
|
|
|
|
|
|
- # categoria de atributos creadas por default
|
|
|
- ProductsAttributesCategory.create([
|
|
|
- {name: "Talla"}, {name: "Color"}, {name: "Estilo"}
|
|
|
- ])
|
|
|
+ # categoria de atributos creadas por default
|
|
|
+ # ProductsAttributesCategory.create([
|
|
|
+ # {name: "Talla"}, {name: "Color"}, {name: "Estilo"}
|
|
|
+ # ])
|