This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| List<Producto__c> productos = [select FamiliaNombre__c, Familia__c, Subfamilia__c, SubfamiliaVentas__c from Producto__c where Activo__c= true]; | |
| for( Producto__c producto : productos ){ | |
| Set<String> familias = new Set<String>{ '55' }; | |
| if( producto.FamiliaNombre__c=='Yale' && familias.contains( producto.Subfamilia__c ) ){ | |
| producto.SubfamiliaVentas__c = 'Digital'; | |
| } | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| SALESFORCE_CLIENT_ID= | |
| SALESFORCE_CLIENT_SECRET= | |
| SALESFORCE_REDIRECT_URL=http://localhost:5000/login/callback | |
| NODE_ENV=development | |
| DEBUG=development | |
| ORIGINS=localhost:5000 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var _3Model = require("3vot-model") | |
| var Ajax = require("3vot-model/lib/3vot-model-vfr-sfc"); | |
| Account = _3Model.setup("Account", ["Name"]); | |
| Account.ajax = Ajax; | |
| module.exports= Account |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var _3vot = require("3vot/utils") | |
| var WalkDir = require("3vot-cli/node_modules/3vot-cloud/utils/walk"); | |
| var Path = require("path") | |
| var fs = require("fs") | |
| var rimraf = require("rimraf") | |
| var $ = require('cheerio') | |
| var fs = require('fs') | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var productos = Producto.all(); | |
| var marcas = []; | |
| for (var i = productos.length - 1; i >= 0; i--) { | |
| var marca = productos[i].marca; | |
| if(marcas.indexOf(marca) == -1 ) marcas.push(marca); | |
| } | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <head> | |
| </head> | |
| <body id="_3vot_<%= @app_name %>" class="_3vot"> | |
| <script src="<%= @serverTag %>/3vot.js"></script> | |
| </body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| { | |
| stats: [ | |
| {text: "Aumento Precio Coca" , stat: "+69%" }, | |
| {text: "Muertos en 4 Estados" , stat: "59%", details: "<p>Chihuahua 21%</p><p>Sinaloa 14%</p><p>Guererro: 10%</p><p>Durango 7%</p>"}, | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| angular.module('templates.app', ['admin/projects/projects-edit.tpl.html', 'admin/projects/projects-list.tpl.html', 'admin/users/users-edit.tpl.html', 'admin/users/users-list.tpl.html', 'dashboard/dashboard.tpl.html', 'header.tpl.html', 'notifications.tpl.html', 'projects/productbacklog/productbacklog-edit.tpl.html', 'projects/productbacklog/productbacklog-list.tpl.html', 'projects/projects-list.tpl.html', 'projects/sprints/sprints-edit.tpl.html', 'projects/sprints/sprints-list.tpl.html', 'projects/sprints/tasks/tasks-edit.tpl.html', 'projects/sprints/tasks/tasks-list.tpl.html', 'projectsinfo/list.tpl.html']); | |
| angular.module("admin/projects/projects-edit.tpl.html", []).run(["$templateCache", function($templateCache) { | |
| $templateCache.put("admin/projects/projects-edit.tpl.html", | |
| "<div class=\"well\">\n" + | |
| " <form name=\"form\" crud-edit=\"project\">\n" + | |
| " <legend>Project</legend>\n" + | |
| " <div class=\"row-fluid\">\n" + | |
| " <div class=\"span6\">\n" + | |
| " |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| require('rspine'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| RSpine= require "rspine" | |
| User = require("models/user") | |
| class LoadMananger | |
| launchStage: | |
| desktop: | |
| "appMetrics": ".app-metrics" | |
| "menu": ".menu" | |
| "newsFeed" : [".news-feed",".small-news-feed"] |
NewerOlder