View signDocument.js
This file contains 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
function Clicksign(o) { | |
"use strict"; | |
var r, u, t = window.location.protocol + "//" + window.location.host, | |
e = {}, | |
n = function (t) { | |
(e[t] || []).forEach(function (t) { | |
t() | |
}) | |
}, | |
c = function (t) { |
View gist:435c6a6b28f20e80acd0b7cff312e699
This file contains 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
#-----lib/tasks/import.rake------# | |
require File.expand_path(File.dirname(__FILE__) + '../../../config/environment.rb') | |
namespace :import do | |
desc "Given the path of a excel spreadsheet exported from Smart it will import paid invoices " | |
task :paid_invoices, [:path] => :environment do |t, args| | |
path = args.path | |
LegacyImportation.new.paid_invoices_importation(path) | |
end |
View gist:d31895bc402bf1a631eecfed17f35b31
This file contains 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
#-----lib/tasks/import.rake------# | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/models/application_record.rb') | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/models/invoice.rb') | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/models/installment.rb') | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/models/seller.rb') | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/models/payer.rb') | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/models/operation.rb') | |
# require File.expand_path(File.dirname(__FILE__) + '../../../app/services/legacy_importation.rb') |
View gist:1e76a21f6041b39a21d4c73fc7af4d2d
This file contains 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
➜ lead_advalori git:(master) git push heroku master [2.3.5] | |
Counting objects: 3, done. | |
Delta compression using up to 4 threads. | |
Compressing objects: 100% (3/3), done. | |
Writing objects: 100% (3/3), 380 bytes | 0 bytes/s, done. | |
Total 3 (delta 2), reused 0 (delta 0) | |
remote: Compressing source files... done. | |
remote: Building source: | |
remote: | |
remote: -----> Deleting 0 files matching .slugignore patterns. |