erp_invoicing 3.1.0 → 4.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/app/models/extensions/party.rb +15 -3
- data/app/models/invoice.rb +33 -1
- data/app/models/invoice_party_role.rb +16 -0
- data/app/models/payment_application.rb +17 -1
- data/lib/erp_invoicing/engine.rb +1 -1
- data/lib/erp_invoicing/version.rb +6 -2
- metadata +31 -234
- data/app/assets/javascripts/erp_invoicing/application.js +0 -9
- data/app/assets/stylesheets/erp_invoicing/application.css +0 -7
- data/app/controllers/erp_invoicing/erp_app/organizer/bill_pay/accounts_controller.rb +0 -166
- data/app/controllers/erp_invoicing/erp_app/organizer/bill_pay/base_controller.rb +0 -22
- data/app/controllers/erp_invoicing/erp_app/shared/billing_accounts_controller.rb +0 -111
- data/app/controllers/erp_invoicing/erp_app/shared/files_controller.rb +0 -52
- data/app/controllers/erp_invoicing/erp_app/shared/invoices_controller.rb +0 -208
- data/app/controllers/erp_invoicing/sms_controller.rb +0 -156
- data/app/helpers/erp_invoicing/application_helper.rb +0 -4
- data/app/views/layouts/erp_invoicing/application.html.erb +0 -14
- data/db/data_migrations/20111121153349_create_bill_pay_organizer_application.rb +0 -14
- data/db/data_migrations/20120118181839_create_invoice_management_desktop_application.rb +0 -26
- data/db/data_migrations/20120229174322_add_billpay_widget.rb +0 -26
- data/public/javascripts/erp_app/desktop/applications/invoice_management/billing_accounts_panel.js +0 -79
- data/public/javascripts/erp_app/desktop/applications/invoice_management/invoices_panel.js +0 -48
- data/public/javascripts/erp_app/desktop/applications/invoice_management/module.js +0 -36
- data/public/javascripts/erp_app/organizer/applications/bill_pay/base.js +0 -146
- data/public/javascripts/erp_app/organizer/applications/bill_pay/extensions.js +0 -21
- data/public/javascripts/erp_app/organizer/applications/bill_pay/make_payment_window.js +0 -109
- data/public/javascripts/erp_app/organizer/applications/bill_pay/payment_accounts_grid_panel.js +0 -105
- data/public/javascripts/erp_app/organizer/applications/bill_pay/transactions_grid_panel.js +0 -84
- data/public/javascripts/erp_app/shared/add_invoice_window.js +0 -220
- data/public/javascripts/erp_app/shared/billing_accounts_grid_panel.js +0 -316
- data/public/javascripts/erp_app/shared/invoice_items_grid_panel.js +0 -152
- data/public/javascripts/erp_app/shared/invoices_grid_panel.js +0 -361
- data/public/javascripts/erp_app/shared/payments_grid_panel.js +0 -74
- data/spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb +0 -28
- data/spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb +0 -16
- data/spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb +0 -15
- data/spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb +0 -24
- data/spec/dummy/db/data_migrations/20110509223702_add_publisher_role.knitkit.rb +0 -22
- data/spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb +0 -12
- data/spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb +0 -27
- data/spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb +0 -24
- data/spec/dummy/db/data_migrations/20110608185830_create_default_dynamic_models_and_forms.erp_forms.rb +0 -33
- data/spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb +0 -19
- data/spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb +0 -252
- data/spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb +0 -26
- data/spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb +0 -26
- data/spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb +0 -15
- data/spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb +0 -53
- data/spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb +0 -16
- data/spec/dummy/db/data_migrations/20110816153456_add_knitkit_application.knitkit.rb +0 -32
- data/spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb +0 -21
- data/spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb +0 -32
- data/spec/dummy/db/data_migrations/20110828190913_create_desktop_app_dynamic_forms.erp_forms.rb +0 -19
- data/spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb +0 -12
- data/spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb +0 -42
- data/spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb +0 -22
- data/spec/dummy/db/data_migrations/20111118182910_setup_knitkit_capabilities.knitkit.rb +0 -128
- data/spec/dummy/db/data_migrations/20111121153349_create_bill_pay_organizer_application.erp_invoicing.rb +0 -15
- data/spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb +0 -14
- data/spec/dummy/db/data_migrations/20120118181839_create_invoice_management_desktop_application.erp_invoicing.rb +0 -27
- data/spec/dummy/db/data_migrations/20120127144444_create_website_role_types.knitkit.rb +0 -14
- data/spec/dummy/db/data_migrations/20120127150505_create_website_default_configuration.knitkit.rb +0 -73
- data/spec/dummy/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.knitkit.rb +0 -34
- data/spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb +0 -29
- data/spec/dummy/db/data_migrations/20120229174322_add_billpay_widget.erp_invoicing.rb +0 -27
- data/spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb +0 -29
- data/spec/dummy/db/data_migrations/20120316150424_add_is_template_to_default_website_config.knitkit.rb +0 -17
- data/spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb +0 -11
- data/spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb +0 -19
- data/spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb +0 -23
- data/spec/dummy/db/data_migrations/20120605154637_add_calculate_balance_strategy_types.erp_invoicing.rb +0 -21
- data/spec/dummy/db/data_migrations/20120809020508_update_website_and_configuration.knitkit.rb +0 -78
- data/spec/dummy/db/data_migrations/20120824013449_create_ticket_form.erp_forms.rb +0 -67
- data/spec/dummy/db/data_migrations/20121026013449_update_ticket_form.erp_forms.rb +0 -65
- data/spec/dummy/db/data_migrations/20121026191738_update_contact_form.erp_forms.rb +0 -27
- data/spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb +0 -20
- data/spec/dummy/db/data_migrations/20121129185611_upgrade_website_role_iid.knitkit.rb +0 -21
- data/spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb +0 -16
- data/spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb +0 -24
- data/spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb +0 -23
- data/spec/dummy/db/migrate/20121214000230_base_erp_services.erp_base_erp_svcs.rb +0 -461
- data/spec/dummy/db/migrate/20121214000231_base_tech_services.erp_tech_svcs.rb +0 -255
- data/spec/dummy/db/migrate/20121214000232_create_has_attribute_tables.erp_tech_svcs.rb +0 -39
- data/spec/dummy/db/migrate/20121214000233_base_app_framework.erp_app.rb +0 -276
- data/spec/dummy/db/migrate/20121214000234_dynamic_forms.erp_forms.rb +0 -95
- data/spec/dummy/db/migrate/20121214000235_create_tickets.erp_forms.rb +0 -19
- data/spec/dummy/db/migrate/20121214000236_upgrade_dynamic_forms_table.erp_forms.rb +0 -32
- data/spec/dummy/db/migrate/20121214000237_setup_knitkit.knitkit.rb +0 -316
- data/spec/dummy/db/migrate/20121214000238_invoicing_services.erp_invoicing.rb +0 -277
- data/spec/dummy/db/migrate/20121214000239_base_inventory.erp_inventory.rb +0 -91
- data/spec/dummy/db/migrate/20121214000240_base_inventory_indexes.erp_inventory.rb +0 -48
- data/spec/dummy/db/migrate/20121214000241_base_txns_and_accts.erp_txns_and_accts.rb +0 -364
- data/spec/dummy/db/migrate/20121214000242_agreements_services.erp_agreements.rb +0 -160
- data/spec/dummy/db/migrate/20121214000243_agreements_services_indexes.erp_agreements.rb +0 -52
- data/spec/dummy/db/migrate/20121214000244_base_orders.erp_orders.rb +0 -178
- data/spec/dummy/db/migrate/20121214000245_base_products.erp_products.rb +0 -234
- data/spec/dummy/db/migrate/20121214000246_base_products_indexes.erp_products.rb +0 -59
- data/spec/dummy/db/migrate/20121214000247_erp_commerce_base.erp_commerce.rb +0 -442
- data/spec/dummy/db/migrate/20121214000248_base_work_efforts.erp_work_effort.rb +0 -211
- data/spec/dummy/db/migrate/20130107181155_create_groups.erp_tech_svcs.rb +0 -19
- data/spec/dummy/db/migrate/20130107181156_upgrade_security.erp_tech_svcs.rb +0 -54
- data/spec/dummy/db/migrate/20130107181157_upgrade_security2.erp_tech_svcs.rb +0 -270
- data/spec/dummy/db/schema.rb +0 -2569
- data/spec/dummy/db/spec.sqlite3 +0 -0
- data/spec/dummy/log/spec.log +0 -64744
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 7e365f81c6acd92a870c00bb151777b8933d7958
|
4
|
+
data.tar.gz: 88c2affeaafa500990ecf8860884795884ee8e5c
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: d2fcce87ce55c3727b525fc20ebbdff65b0457d6b6f38912f5fa70203862c832ce372b0373342915d22e0349875716bf715fdda56ec36e0fb5e8a5d2aa0fa160
|
7
|
+
data.tar.gz: a8e691f4e4c3a213b89da8048fdc68dd97ba9043670fe917dc5c27e751c9af69d79d98bae6be5714645b403bc31e1bb8efefc349ecde2562838da47fda18b3ad
|
@@ -1,10 +1,22 @@
|
|
1
1
|
Party.class_eval do
|
2
2
|
|
3
|
-
has_many
|
4
|
-
|
3
|
+
has_many :invoice_party_roles, :dependent => :destroy
|
4
|
+
has_many :invoices, :through => :invoice_party_roles
|
5
5
|
|
6
6
|
def billing_accounts
|
7
|
-
|
7
|
+
BillingAccount.joins("inner join financial_txn_accounts on
|
8
|
+
financial_txn_accounts.financial_account_id = billing_accounts.id and
|
9
|
+
financial_txn_accounts.financial_account_type = 'BillingAccount'")
|
10
|
+
.joins("inner join biz_txn_acct_roots on
|
11
|
+
biz_txn_acct_roots.biz_txn_acct_id = financial_txn_accounts.id and
|
12
|
+
biz_txn_acct_roots.biz_txn_acct_type = 'FinancialTxnAccount'")
|
13
|
+
.joins("inner join biz_txn_acct_party_roles on
|
14
|
+
biz_txn_acct_party_roles.biz_txn_acct_root_id = biz_txn_acct_roots.id and
|
15
|
+
biz_txn_acct_party_roles.party_id = #{self.id}").uniq
|
16
|
+
end
|
17
|
+
|
18
|
+
def billing_accounts_with_roles(*roles)
|
19
|
+
billing_accounts.where('biz_txn_acct_party_roles.biz_txn_acct_pty_rtype_id' => roles)
|
8
20
|
end
|
9
21
|
|
10
22
|
end
|
data/app/models/invoice.rb
CHANGED
@@ -1,3 +1,23 @@
|
|
1
|
+
#### Table Definition ###########################
|
2
|
+
# create_table :invoices do |t|
|
3
|
+
# t.string :invoice_number
|
4
|
+
# t.string :description
|
5
|
+
# t.string :message
|
6
|
+
# t.date :invoice_date
|
7
|
+
# t.date :due_date
|
8
|
+
# t.string :external_identifier
|
9
|
+
# t.string :external_id_source
|
10
|
+
# t.references :product
|
11
|
+
# t.references :invoice_type
|
12
|
+
# t.references :billing_account
|
13
|
+
# t.references :invoice_payment_strategy_type
|
14
|
+
# t.references :balance
|
15
|
+
# t.references :calculate_balance_strategy_type
|
16
|
+
#
|
17
|
+
# t.timestamps
|
18
|
+
# end
|
19
|
+
#################################################
|
20
|
+
|
1
21
|
class Invoice < ActiveRecord::Base
|
2
22
|
attr_protected :created_at, :updated_at
|
3
23
|
|
@@ -6,7 +26,7 @@ class Invoice < ActiveRecord::Base
|
|
6
26
|
belongs_to :billing_account
|
7
27
|
belongs_to :invoice_type
|
8
28
|
belongs_to :invoice_payment_strategy_type
|
9
|
-
belongs_to :
|
29
|
+
belongs_to :balance_record, :class_name => "Money", :foreign_key => 'balance_id', :dependent => :destroy
|
10
30
|
belongs_to :calculate_balance_strategy_type
|
11
31
|
has_many :invoice_payment_term_sets, :dependent => :destroy
|
12
32
|
has_many :payment_applications, :as => :payment_applied_to, :dependent => :destroy do
|
@@ -71,7 +91,19 @@ class Invoice < ActiveRecord::Base
|
|
71
91
|
else
|
72
92
|
self.balance
|
73
93
|
end
|
94
|
+
end
|
95
|
+
|
96
|
+
def balance
|
97
|
+
self.balance_record.amount
|
98
|
+
end
|
74
99
|
|
100
|
+
def balance=(amount, currency=Currency.usd)
|
101
|
+
if self.balance_record
|
102
|
+
self.balance_record.amount = amount
|
103
|
+
else
|
104
|
+
self.balance_record = Money.create(:amount => amount, :currency => currency)
|
105
|
+
end
|
106
|
+
self.balance_record.save
|
75
107
|
end
|
76
108
|
|
77
109
|
def payment_due
|
@@ -1,3 +1,19 @@
|
|
1
|
+
#### Table Definition ###########################
|
2
|
+
# create_table :invoice_party_roles do |t|
|
3
|
+
# t.string :description
|
4
|
+
# t.integer :role_type_id
|
5
|
+
# t.string :external_identifier
|
6
|
+
# t.string :external_id_source
|
7
|
+
# t.references :invoice
|
8
|
+
# t.references :party
|
9
|
+
|
10
|
+
# t.timestamps
|
11
|
+
# end
|
12
|
+
|
13
|
+
# add_index :invoice_party_roles, :invoice_id, :name => 'invoice_party_invoice_id_idx'
|
14
|
+
# add_index :invoice_party_roles, :party_id, :name => 'invoice_party_party_id_idx'
|
15
|
+
#################################################
|
16
|
+
|
1
17
|
class InvoicePartyRole < ActiveRecord::Base
|
2
18
|
attr_protected :created_at, :updated_at
|
3
19
|
|
@@ -1,3 +1,20 @@
|
|
1
|
+
## Schema Definition ################################################
|
2
|
+
# create_table "payment_applications", :force => true do |t|
|
3
|
+
# t.integer "financial_txn_id"
|
4
|
+
# t.integer "payment_applied_to_id"
|
5
|
+
# t.string "payment_applied_to_type"
|
6
|
+
# t.integer "applied_money_amount_id"
|
7
|
+
# t.string "comment"
|
8
|
+
# t.datetime "created_at", :null => false
|
9
|
+
# t.datetime "updated_at", :null => false
|
10
|
+
# end
|
11
|
+
#
|
12
|
+
# add_index "payment_applications", ["applied_money_amount_id"], :name => "index_payment_applications_on_applied_money_amount_id"
|
13
|
+
# add_index "payment_applications", ["financial_txn_id"], :name => "index_payment_applications_on_financial_txn_id"
|
14
|
+
# add_index "payment_applications", ["payment_applied_to_id", "payment_applied_to_type"], :name => "payment_applied_to_idx"
|
15
|
+
#
|
16
|
+
######################################################################
|
17
|
+
|
1
18
|
class PaymentApplication < ActiveRecord::Base
|
2
19
|
attr_protected :created_at, :updated_at
|
3
20
|
|
@@ -47,7 +64,6 @@ class PaymentApplication < ActiveRecord::Base
|
|
47
64
|
else
|
48
65
|
self.payment_applied_to.balance = self.payment_applied_to.balance + self.money.amount
|
49
66
|
end
|
50
|
-
self.payment_applied_to.save
|
51
67
|
end
|
52
68
|
end
|
53
69
|
|
data/lib/erp_invoicing/engine.rb
CHANGED
@@ -3,7 +3,7 @@ module ErpInvoicing
|
|
3
3
|
isolate_namespace ErpInvoicing
|
4
4
|
|
5
5
|
initializer "erp_invoicing.merge_public" do |app|
|
6
|
-
app.middleware.insert_before Rack::
|
6
|
+
app.middleware.insert_before Rack::Runtime, ::ActionDispatch::Static, "#{root}/public"
|
7
7
|
end
|
8
8
|
|
9
9
|
ErpBaseErpSvcs.register_as_compass_ae_engine(config, self)
|
metadata
CHANGED
@@ -1,96 +1,71 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: erp_invoicing
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
5
|
-
prerelease:
|
4
|
+
version: 4.0.0
|
6
5
|
platform: ruby
|
7
6
|
authors:
|
8
7
|
- Rick Koloski, Russell Holmes
|
9
8
|
autorequire:
|
10
9
|
bindir: bin
|
11
10
|
cert_chain: []
|
12
|
-
date:
|
11
|
+
date: 2014-11-19 00:00:00.000000000 Z
|
13
12
|
dependencies:
|
14
|
-
- !ruby/object:Gem::Dependency
|
15
|
-
name: erp_inventory
|
16
|
-
requirement: !ruby/object:Gem::Requirement
|
17
|
-
none: false
|
18
|
-
requirements:
|
19
|
-
- - ~>
|
20
|
-
- !ruby/object:Gem::Version
|
21
|
-
version: '3.1'
|
22
|
-
type: :runtime
|
23
|
-
prerelease: false
|
24
|
-
version_requirements: !ruby/object:Gem::Requirement
|
25
|
-
none: false
|
26
|
-
requirements:
|
27
|
-
- - ~>
|
28
|
-
- !ruby/object:Gem::Version
|
29
|
-
version: '3.1'
|
30
13
|
- !ruby/object:Gem::Dependency
|
31
14
|
name: erp_work_effort
|
32
15
|
requirement: !ruby/object:Gem::Requirement
|
33
|
-
none: false
|
34
16
|
requirements:
|
35
|
-
- - ~>
|
17
|
+
- - "~>"
|
36
18
|
- !ruby/object:Gem::Version
|
37
|
-
version: '
|
19
|
+
version: '4.0'
|
38
20
|
type: :runtime
|
39
21
|
prerelease: false
|
40
22
|
version_requirements: !ruby/object:Gem::Requirement
|
41
|
-
none: false
|
42
23
|
requirements:
|
43
|
-
- - ~>
|
24
|
+
- - "~>"
|
44
25
|
- !ruby/object:Gem::Version
|
45
|
-
version: '
|
26
|
+
version: '4.0'
|
46
27
|
- !ruby/object:Gem::Dependency
|
47
28
|
name: erp_commerce
|
48
29
|
requirement: !ruby/object:Gem::Requirement
|
49
|
-
none: false
|
50
30
|
requirements:
|
51
|
-
- - ~>
|
31
|
+
- - "~>"
|
52
32
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
33
|
+
version: '4.0'
|
54
34
|
type: :runtime
|
55
35
|
prerelease: false
|
56
36
|
version_requirements: !ruby/object:Gem::Requirement
|
57
|
-
none: false
|
58
37
|
requirements:
|
59
|
-
- - ~>
|
38
|
+
- - "~>"
|
60
39
|
- !ruby/object:Gem::Version
|
61
|
-
version: '
|
40
|
+
version: '4.0'
|
62
41
|
- !ruby/object:Gem::Dependency
|
63
42
|
name: knitkit
|
64
43
|
requirement: !ruby/object:Gem::Requirement
|
65
|
-
none: false
|
66
44
|
requirements:
|
67
|
-
- - ~>
|
45
|
+
- - "~>"
|
68
46
|
- !ruby/object:Gem::Version
|
69
|
-
version: '
|
47
|
+
version: '3.0'
|
70
48
|
type: :runtime
|
71
49
|
prerelease: false
|
72
50
|
version_requirements: !ruby/object:Gem::Requirement
|
73
|
-
none: false
|
74
51
|
requirements:
|
75
|
-
- - ~>
|
52
|
+
- - "~>"
|
76
53
|
- !ruby/object:Gem::Version
|
77
|
-
version: '
|
54
|
+
version: '3.0'
|
78
55
|
- !ruby/object:Gem::Dependency
|
79
56
|
name: erp_dev_svcs
|
80
57
|
requirement: !ruby/object:Gem::Requirement
|
81
|
-
none: false
|
82
58
|
requirements:
|
83
|
-
- - ~>
|
59
|
+
- - "~>"
|
84
60
|
- !ruby/object:Gem::Version
|
85
|
-
version: '
|
61
|
+
version: '4.0'
|
86
62
|
type: :development
|
87
63
|
prerelease: false
|
88
64
|
version_requirements: !ruby/object:Gem::Requirement
|
89
|
-
none: false
|
90
65
|
requirements:
|
91
|
-
- - ~>
|
66
|
+
- - "~>"
|
92
67
|
- !ruby/object:Gem::Version
|
93
|
-
version: '
|
68
|
+
version: '4.0'
|
94
69
|
description: ErpInvoicing adds models and services to the CompassAE core to handle
|
95
70
|
invoicing and billing functions. It includes extensions to the core ERP classes
|
96
71
|
for accounts and things that are 'billable' (products, work efforts), and additional
|
@@ -103,28 +78,9 @@ executables: []
|
|
103
78
|
extensions: []
|
104
79
|
extra_rdoc_files: []
|
105
80
|
files:
|
106
|
-
-
|
107
|
-
-
|
108
|
-
-
|
109
|
-
- public/javascripts/erp_app/organizer/applications/bill_pay/base.js
|
110
|
-
- public/javascripts/erp_app/organizer/applications/bill_pay/extensions.js
|
111
|
-
- public/javascripts/erp_app/organizer/applications/bill_pay/make_payment_window.js
|
112
|
-
- public/javascripts/erp_app/organizer/applications/bill_pay/payment_accounts_grid_panel.js
|
113
|
-
- public/javascripts/erp_app/organizer/applications/bill_pay/transactions_grid_panel.js
|
114
|
-
- public/javascripts/erp_app/shared/add_invoice_window.js
|
115
|
-
- public/javascripts/erp_app/shared/billing_accounts_grid_panel.js
|
116
|
-
- public/javascripts/erp_app/shared/invoice_items_grid_panel.js
|
117
|
-
- public/javascripts/erp_app/shared/invoices_grid_panel.js
|
118
|
-
- public/javascripts/erp_app/shared/payments_grid_panel.js
|
119
|
-
- app/assets/javascripts/erp_invoicing/application.js
|
120
|
-
- app/assets/stylesheets/erp_invoicing/application.css
|
121
|
-
- app/controllers/erp_invoicing/erp_app/organizer/bill_pay/accounts_controller.rb
|
122
|
-
- app/controllers/erp_invoicing/erp_app/organizer/bill_pay/base_controller.rb
|
123
|
-
- app/controllers/erp_invoicing/erp_app/shared/billing_accounts_controller.rb
|
124
|
-
- app/controllers/erp_invoicing/erp_app/shared/files_controller.rb
|
125
|
-
- app/controllers/erp_invoicing/erp_app/shared/invoices_controller.rb
|
126
|
-
- app/controllers/erp_invoicing/sms_controller.rb
|
127
|
-
- app/helpers/erp_invoicing/application_helper.rb
|
81
|
+
- GPL-3-LICENSE
|
82
|
+
- README.rdoc
|
83
|
+
- Rakefile
|
128
84
|
- app/models/billing_account.rb
|
129
85
|
- app/models/calculate_balance_strategy_type.rb
|
130
86
|
- app/models/extensions/document.rb
|
@@ -145,25 +101,20 @@ files:
|
|
145
101
|
- app/models/invoice_type.rb
|
146
102
|
- app/models/payment_application.rb
|
147
103
|
- app/models/recurring_payment.rb
|
148
|
-
- app/views/layouts/erp_invoicing/application.html.erb
|
149
104
|
- config/routes.rb
|
150
|
-
- db/data_migrations/20111121153349_create_bill_pay_organizer_application.rb
|
151
|
-
- db/data_migrations/20120118181839_create_invoice_management_desktop_application.rb
|
152
|
-
- db/data_migrations/20120229174322_add_billpay_widget.rb
|
153
105
|
- db/data_migrations/20120605154637_add_calculate_balance_strategy_types.rb
|
154
106
|
- db/migrate/20111121000000_invoicing_services.rb
|
107
|
+
- lib/erp_invoicing.rb
|
155
108
|
- lib/erp_invoicing/engine.rb
|
156
109
|
- lib/erp_invoicing/version.rb
|
157
|
-
- lib/erp_invoicing.rb
|
158
110
|
- lib/tasks/erp_invoicing_tasks.rake
|
159
|
-
-
|
160
|
-
- Rakefile
|
161
|
-
- README.rdoc
|
111
|
+
- spec/dummy/Rakefile
|
162
112
|
- spec/dummy/app/assets/javascripts/application.js
|
163
113
|
- spec/dummy/app/assets/stylesheets/application.css
|
164
114
|
- spec/dummy/app/controllers/application_controller.rb
|
165
115
|
- spec/dummy/app/helpers/application_helper.rb
|
166
116
|
- spec/dummy/app/views/layouts/application.html.erb
|
117
|
+
- spec/dummy/config.ru
|
167
118
|
- spec/dummy/config/application.rb
|
168
119
|
- spec/dummy/config/boot.rb
|
169
120
|
- spec/dummy/config/database.yml
|
@@ -177,85 +128,10 @@ files:
|
|
177
128
|
- spec/dummy/config/initializers/wrap_parameters.rb
|
178
129
|
- spec/dummy/config/locales/en.yml
|
179
130
|
- spec/dummy/config/routes.rb
|
180
|
-
- spec/dummy/config.ru
|
181
|
-
- spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
|
182
|
-
- spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
|
183
|
-
- spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
|
184
|
-
- spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
|
185
|
-
- spec/dummy/db/data_migrations/20110509223702_add_publisher_role.knitkit.rb
|
186
|
-
- spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
|
187
|
-
- spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
|
188
|
-
- spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
|
189
|
-
- spec/dummy/db/data_migrations/20110608185830_create_default_dynamic_models_and_forms.erp_forms.rb
|
190
|
-
- spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
|
191
|
-
- spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
|
192
|
-
- spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
|
193
|
-
- spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
|
194
|
-
- spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
|
195
|
-
- spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
|
196
|
-
- spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
197
|
-
- spec/dummy/db/data_migrations/20110816153456_add_knitkit_application.knitkit.rb
|
198
|
-
- spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
|
199
|
-
- spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
|
200
|
-
- spec/dummy/db/data_migrations/20110828190913_create_desktop_app_dynamic_forms.erp_forms.rb
|
201
|
-
- spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
202
|
-
- spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
|
203
|
-
- spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
|
204
|
-
- spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
|
205
|
-
- spec/dummy/db/data_migrations/20111118182910_setup_knitkit_capabilities.knitkit.rb
|
206
|
-
- spec/dummy/db/data_migrations/20111121153349_create_bill_pay_organizer_application.erp_invoicing.rb
|
207
|
-
- spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
|
208
|
-
- spec/dummy/db/data_migrations/20120118181839_create_invoice_management_desktop_application.erp_invoicing.rb
|
209
|
-
- spec/dummy/db/data_migrations/20120127144444_create_website_role_types.knitkit.rb
|
210
|
-
- spec/dummy/db/data_migrations/20120127150505_create_website_default_configuration.knitkit.rb
|
211
|
-
- spec/dummy/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.knitkit.rb
|
212
|
-
- spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
|
213
|
-
- spec/dummy/db/data_migrations/20120229174322_add_billpay_widget.erp_invoicing.rb
|
214
|
-
- spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
|
215
|
-
- spec/dummy/db/data_migrations/20120316150424_add_is_template_to_default_website_config.knitkit.rb
|
216
|
-
- spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
|
217
|
-
- spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
|
218
|
-
- spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
|
219
|
-
- spec/dummy/db/data_migrations/20120605154637_add_calculate_balance_strategy_types.erp_invoicing.rb
|
220
|
-
- spec/dummy/db/data_migrations/20120809020508_update_website_and_configuration.knitkit.rb
|
221
|
-
- spec/dummy/db/data_migrations/20120824013449_create_ticket_form.erp_forms.rb
|
222
|
-
- spec/dummy/db/data_migrations/20121026013449_update_ticket_form.erp_forms.rb
|
223
|
-
- spec/dummy/db/data_migrations/20121026191738_update_contact_form.erp_forms.rb
|
224
|
-
- spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
225
|
-
- spec/dummy/db/data_migrations/20121129185611_upgrade_website_role_iid.knitkit.rb
|
226
|
-
- spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
|
227
|
-
- spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
|
228
|
-
- spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
|
229
|
-
- spec/dummy/db/migrate/20121214000230_base_erp_services.erp_base_erp_svcs.rb
|
230
|
-
- spec/dummy/db/migrate/20121214000231_base_tech_services.erp_tech_svcs.rb
|
231
|
-
- spec/dummy/db/migrate/20121214000232_create_has_attribute_tables.erp_tech_svcs.rb
|
232
|
-
- spec/dummy/db/migrate/20121214000233_base_app_framework.erp_app.rb
|
233
|
-
- spec/dummy/db/migrate/20121214000234_dynamic_forms.erp_forms.rb
|
234
|
-
- spec/dummy/db/migrate/20121214000235_create_tickets.erp_forms.rb
|
235
|
-
- spec/dummy/db/migrate/20121214000236_upgrade_dynamic_forms_table.erp_forms.rb
|
236
|
-
- spec/dummy/db/migrate/20121214000237_setup_knitkit.knitkit.rb
|
237
|
-
- spec/dummy/db/migrate/20121214000238_invoicing_services.erp_invoicing.rb
|
238
|
-
- spec/dummy/db/migrate/20121214000239_base_inventory.erp_inventory.rb
|
239
|
-
- spec/dummy/db/migrate/20121214000240_base_inventory_indexes.erp_inventory.rb
|
240
|
-
- spec/dummy/db/migrate/20121214000241_base_txns_and_accts.erp_txns_and_accts.rb
|
241
|
-
- spec/dummy/db/migrate/20121214000242_agreements_services.erp_agreements.rb
|
242
|
-
- spec/dummy/db/migrate/20121214000243_agreements_services_indexes.erp_agreements.rb
|
243
|
-
- spec/dummy/db/migrate/20121214000244_base_orders.erp_orders.rb
|
244
|
-
- spec/dummy/db/migrate/20121214000245_base_products.erp_products.rb
|
245
|
-
- spec/dummy/db/migrate/20121214000246_base_products_indexes.erp_products.rb
|
246
|
-
- spec/dummy/db/migrate/20121214000247_erp_commerce_base.erp_commerce.rb
|
247
|
-
- spec/dummy/db/migrate/20121214000248_base_work_efforts.erp_work_effort.rb
|
248
|
-
- spec/dummy/db/migrate/20130107181155_create_groups.erp_tech_svcs.rb
|
249
|
-
- spec/dummy/db/migrate/20130107181156_upgrade_security.erp_tech_svcs.rb
|
250
|
-
- spec/dummy/db/migrate/20130107181157_upgrade_security2.erp_tech_svcs.rb
|
251
|
-
- spec/dummy/db/schema.rb
|
252
|
-
- spec/dummy/db/spec.sqlite3
|
253
|
-
- spec/dummy/log/spec.log
|
254
131
|
- spec/dummy/public/404.html
|
255
132
|
- spec/dummy/public/422.html
|
256
133
|
- spec/dummy/public/500.html
|
257
134
|
- spec/dummy/public/favicon.ico
|
258
|
-
- spec/dummy/Rakefile
|
259
135
|
- spec/dummy/script/rails
|
260
136
|
- spec/factories/basic.rb
|
261
137
|
- spec/models/billing_account_spec.rb
|
@@ -264,34 +140,28 @@ files:
|
|
264
140
|
- spec/models/payment_application_spec.rb
|
265
141
|
- spec/spec_helper.rb
|
266
142
|
homepage: http://development.compassagile.com
|
267
|
-
licenses:
|
143
|
+
licenses:
|
144
|
+
- GPL-3-LICENSE
|
145
|
+
metadata: {}
|
268
146
|
post_install_message:
|
269
147
|
rdoc_options: []
|
270
148
|
require_paths:
|
271
149
|
- lib
|
272
150
|
required_ruby_version: !ruby/object:Gem::Requirement
|
273
|
-
none: false
|
274
151
|
requirements:
|
275
|
-
- -
|
152
|
+
- - ">="
|
276
153
|
- !ruby/object:Gem::Version
|
277
154
|
version: '0'
|
278
|
-
segments:
|
279
|
-
- 0
|
280
|
-
hash: 295831078268186584
|
281
155
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
282
|
-
none: false
|
283
156
|
requirements:
|
284
|
-
- -
|
157
|
+
- - ">="
|
285
158
|
- !ruby/object:Gem::Version
|
286
159
|
version: '0'
|
287
|
-
segments:
|
288
|
-
- 0
|
289
|
-
hash: 295831078268186584
|
290
160
|
requirements: []
|
291
161
|
rubyforge_project:
|
292
|
-
rubygems_version:
|
162
|
+
rubygems_version: 2.2.2
|
293
163
|
signing_key:
|
294
|
-
specification_version:
|
164
|
+
specification_version: 4
|
295
165
|
summary: ErpInvoicing adds models and services to the CompassAE core to handle invoicing
|
296
166
|
and billing functions.
|
297
167
|
test_files:
|
@@ -314,79 +184,6 @@ test_files:
|
|
314
184
|
- spec/dummy/config/locales/en.yml
|
315
185
|
- spec/dummy/config/routes.rb
|
316
186
|
- spec/dummy/config.ru
|
317
|
-
- spec/dummy/db/data_migrations/20101011152441_payment_gateway_actions.erp_commerce.rb
|
318
|
-
- spec/dummy/db/data_migrations/20101014142230_financial_txn_types.erp_txns_and_accts.rb
|
319
|
-
- spec/dummy/db/data_migrations/20110109173616_create_capability_scope_types.erp_tech_svcs.rb
|
320
|
-
- spec/dummy/db/data_migrations/20110324010232_product_role_types.erp_products.rb
|
321
|
-
- spec/dummy/db/data_migrations/20110509223702_add_publisher_role.knitkit.rb
|
322
|
-
- spec/dummy/db/data_migrations/20110525001935_add_usd_currency.erp_base_erp_svcs.rb
|
323
|
-
- spec/dummy/db/data_migrations/20110527160807_add_default_prod_avail_types.erp_products.rb
|
324
|
-
- spec/dummy/db/data_migrations/20110605231556_create_order_party_roles.erp_orders.rb
|
325
|
-
- spec/dummy/db/data_migrations/20110608185830_create_default_dynamic_models_and_forms.erp_forms.rb
|
326
|
-
- spec/dummy/db/data_migrations/20110609150135_add_iso_codes.erp_base_erp_svcs.rb
|
327
|
-
- spec/dummy/db/data_migrations/20110728201729_erp_app_setup.erp_app.rb
|
328
|
-
- spec/dummy/db/data_migrations/20110728201730_create_desktop_app_product_manager.erp_products.rb
|
329
|
-
- spec/dummy/db/data_migrations/20110728201731_create_desktop_app_order_manager.erp_orders.rb
|
330
|
-
- spec/dummy/db/data_migrations/20110728201732_create_organizer_app_order_management.erp_orders.rb
|
331
|
-
- spec/dummy/db/data_migrations/20110728201733_update_preferences.erp_app.rb
|
332
|
-
- spec/dummy/db/data_migrations/20110802200222_schedule_delete_expired_sessions_job.erp_tech_svcs.rb
|
333
|
-
- spec/dummy/db/data_migrations/20110816153456_add_knitkit_application.knitkit.rb
|
334
|
-
- spec/dummy/db/data_migrations/20110816161238_create_desktop_app_audit_log_viewer.erp_app.rb
|
335
|
-
- spec/dummy/db/data_migrations/20110817160743_add_file_manager_application.erp_app.rb
|
336
|
-
- spec/dummy/db/data_migrations/20110828190913_create_desktop_app_dynamic_forms.erp_forms.rb
|
337
|
-
- spec/dummy/db/data_migrations/20110913145838_setup_compass_ae_instance.erp_base_erp_svcs.rb
|
338
|
-
- spec/dummy/db/data_migrations/20111108183739_add_default_capabilities.erp_app.rb
|
339
|
-
- spec/dummy/db/data_migrations/20111108183740_add_new_contact_widgets.erp_app.rb
|
340
|
-
- spec/dummy/db/data_migrations/20111111144706_setup_audit_log_types.erp_tech_svcs.rb
|
341
|
-
- spec/dummy/db/data_migrations/20111118182910_setup_knitkit_capabilities.knitkit.rb
|
342
|
-
- spec/dummy/db/data_migrations/20111121153349_create_bill_pay_organizer_application.erp_invoicing.rb
|
343
|
-
- spec/dummy/db/data_migrations/20120109173616_create_download_capability_type.erp_tech_svcs.rb
|
344
|
-
- spec/dummy/db/data_migrations/20120118181839_create_invoice_management_desktop_application.erp_invoicing.rb
|
345
|
-
- spec/dummy/db/data_migrations/20120127144444_create_website_role_types.knitkit.rb
|
346
|
-
- spec/dummy/db/data_migrations/20120127150505_create_website_default_configuration.knitkit.rb
|
347
|
-
- spec/dummy/db/data_migrations/20120127150506_add_primary_host_to_website_configuration.knitkit.rb
|
348
|
-
- spec/dummy/db/data_migrations/20120229160222_add_userinfo_widget.erp_app.rb
|
349
|
-
- spec/dummy/db/data_migrations/20120229174322_add_billpay_widget.erp_invoicing.rb
|
350
|
-
- spec/dummy/db/data_migrations/20120229174343_add_orders_widget.erp_orders.rb
|
351
|
-
- spec/dummy/db/data_migrations/20120316150424_add_is_template_to_default_website_config.knitkit.rb
|
352
|
-
- spec/dummy/db/data_migrations/20120405193721_create_party_and_role_type_for_communication_events.erp_app.rb
|
353
|
-
- spec/dummy/db/data_migrations/20120411180756_create_user_management_mobile_application.erp_app.rb
|
354
|
-
- spec/dummy/db/data_migrations/20120418164215_create_configuration_management_desktop_application.erp_app.rb
|
355
|
-
- spec/dummy/db/data_migrations/20120605154637_add_calculate_balance_strategy_types.erp_invoicing.rb
|
356
|
-
- spec/dummy/db/data_migrations/20120809020508_update_website_and_configuration.knitkit.rb
|
357
|
-
- spec/dummy/db/data_migrations/20120824013449_create_ticket_form.erp_forms.rb
|
358
|
-
- spec/dummy/db/data_migrations/20121026013449_update_ticket_form.erp_forms.rb
|
359
|
-
- spec/dummy/db/data_migrations/20121026191738_update_contact_form.erp_forms.rb
|
360
|
-
- spec/dummy/db/data_migrations/20121116155018_create_group_relationship_and_role_types.erp_tech_svcs.rb
|
361
|
-
- spec/dummy/db/data_migrations/20121129185611_upgrade_website_role_iid.knitkit.rb
|
362
|
-
- spec/dummy/db/data_migrations/20121130201859_upgrade_remove_system_mgmt_app.erp_app.rb
|
363
|
-
- spec/dummy/db/data_migrations/20121130212146_note_capabilities.erp_tech_svcs.rb
|
364
|
-
- spec/dummy/db/data_migrations/20121218175028_create_security_management_desktop_application.erp_app.rb
|
365
|
-
- spec/dummy/db/migrate/20121214000230_base_erp_services.erp_base_erp_svcs.rb
|
366
|
-
- spec/dummy/db/migrate/20121214000231_base_tech_services.erp_tech_svcs.rb
|
367
|
-
- spec/dummy/db/migrate/20121214000232_create_has_attribute_tables.erp_tech_svcs.rb
|
368
|
-
- spec/dummy/db/migrate/20121214000233_base_app_framework.erp_app.rb
|
369
|
-
- spec/dummy/db/migrate/20121214000234_dynamic_forms.erp_forms.rb
|
370
|
-
- spec/dummy/db/migrate/20121214000235_create_tickets.erp_forms.rb
|
371
|
-
- spec/dummy/db/migrate/20121214000236_upgrade_dynamic_forms_table.erp_forms.rb
|
372
|
-
- spec/dummy/db/migrate/20121214000237_setup_knitkit.knitkit.rb
|
373
|
-
- spec/dummy/db/migrate/20121214000238_invoicing_services.erp_invoicing.rb
|
374
|
-
- spec/dummy/db/migrate/20121214000239_base_inventory.erp_inventory.rb
|
375
|
-
- spec/dummy/db/migrate/20121214000240_base_inventory_indexes.erp_inventory.rb
|
376
|
-
- spec/dummy/db/migrate/20121214000241_base_txns_and_accts.erp_txns_and_accts.rb
|
377
|
-
- spec/dummy/db/migrate/20121214000242_agreements_services.erp_agreements.rb
|
378
|
-
- spec/dummy/db/migrate/20121214000243_agreements_services_indexes.erp_agreements.rb
|
379
|
-
- spec/dummy/db/migrate/20121214000244_base_orders.erp_orders.rb
|
380
|
-
- spec/dummy/db/migrate/20121214000245_base_products.erp_products.rb
|
381
|
-
- spec/dummy/db/migrate/20121214000246_base_products_indexes.erp_products.rb
|
382
|
-
- spec/dummy/db/migrate/20121214000247_erp_commerce_base.erp_commerce.rb
|
383
|
-
- spec/dummy/db/migrate/20121214000248_base_work_efforts.erp_work_effort.rb
|
384
|
-
- spec/dummy/db/migrate/20130107181155_create_groups.erp_tech_svcs.rb
|
385
|
-
- spec/dummy/db/migrate/20130107181156_upgrade_security.erp_tech_svcs.rb
|
386
|
-
- spec/dummy/db/migrate/20130107181157_upgrade_security2.erp_tech_svcs.rb
|
387
|
-
- spec/dummy/db/schema.rb
|
388
|
-
- spec/dummy/db/spec.sqlite3
|
389
|
-
- spec/dummy/log/spec.log
|
390
187
|
- spec/dummy/public/404.html
|
391
188
|
- spec/dummy/public/422.html
|
392
189
|
- spec/dummy/public/500.html
|
@@ -1,9 +0,0 @@
|
|
1
|
-
// This is a manifest file that'll be compiled into including all the files listed below.
|
2
|
-
// Add new JavaScript/Coffee code in separate files in this directory and they'll automatically
|
3
|
-
// be included in the compiled file accessible from http://example.com/assets/application.js
|
4
|
-
// It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the
|
5
|
-
// the compiled file.
|
6
|
-
//
|
7
|
-
//= require jquery
|
8
|
-
//= require jquery_ujs
|
9
|
-
//= require_tree .
|
@@ -1,7 +0,0 @@
|
|
1
|
-
/*
|
2
|
-
* This is a manifest file that'll automatically include all the stylesheets available in this directory
|
3
|
-
* and any sub-directories. You're free to add application-wide styles to this file and they'll appear at
|
4
|
-
* the top of the compiled file, but it's generally better to create a new file per style scope.
|
5
|
-
*= require_self
|
6
|
-
*= require_tree .
|
7
|
-
*/
|