Commit Graph
100 Commits
Author SHA1 Message Date
ricky b5c8823dda Create pdf_patch.rb
Added QBO Customer Name to PDF
2016-04-13 09:17:30 -04:00
ricky d9317e717b Update query_patch.rb
Fixed Formatting
2016-04-13 08:53:39 -04:00
ricky 9e9c111256 Added QBO Customer to Issues Query 2016-04-12 23:15:47 -04:00
ricky c254c78ee5 Removed @ from variables 2016-04-09 21:53:38 -04:00
ricky dc1edaa651 Update issues_form_hook_listener.rb
Fixed Typos
2016-04-01 12:29:52 -04:00
ricky 028b309a60 0.0.4
Version Bump
2016-04-01 06:39:04 -04:00
ricky e0b07764c0 Update qbo_customer.rb
Removed delete all
2016-04-01 06:37:30 -04:00
ricky 73dc8b3b44 Merge branch 'import' 2016-04-01 06:35:02 -04:00
ricky 1bc23ab553 Fixed import errors 2016-03-31 09:22:04 -04:00
ricky 5be8d987b6 Update qbo_estimate.rb
Added Transaction
2016-03-31 09:10:41 -04:00
ricky f89cdf8ab2 Update qbo_employee.rb
Added Transaction
2016-03-31 09:09:52 -04:00
ricky d33eba2b20 Update qbo_customer.rb
Added Transaction
2016-03-31 09:08:56 -04:00
ricky 39a2e1564f Update qbo_invoice.rb
Added Transaction
2016-03-31 09:07:30 -04:00
ricky 3070192485 Update qbo_item.rb
Formatting
2016-03-31 09:05:38 -04:00
ricky ed5959d8e0 Added transaction to items 2016-03-31 09:05:04 -04:00
ricky 79d990dd01 Added Sorting to drop downs 2016-03-31 09:02:54 -04:00
ricky b1cf8363a9 Update issues_form_hook_listener.rb
Sort the options!
2016-03-29 09:19:39 -04:00
ricky 3d251da80b Update index.html.erb
Sort the options!
2016-03-29 09:18:50 -04:00
ricky cc9af5dc36 Added more garbage collection & removed automatic sync from show hook 2016-03-10 21:00:54 -05:00
ricky 2c3503f4ac Added garbage colllection for instance variables 2016-03-10 20:38:15 -05:00
ricky 5104509106 Update qbo_estimate.rb
Fixed ID
2016-03-10 12:29:21 -05:00
ricky 77be0b9d4c Update qbo_item.rb
Fixed ID
2016-03-10 12:28:18 -05:00
ricky 897810b029 Update qbo_customer.rb
Fixed ID
2016-03-10 12:27:43 -05:00
ricky 37371d2373 Update qbo_employee.rb
Fixed ID
2016-03-10 12:27:16 -05:00
ricky 95fbad525d Update qbo_invoice.rb
Fixed id
2016-03-10 12:26:35 -05:00
ricky 9ce8fa4661 Update issues_form_hook_listener.rb
Remove automatic sync of items.
2016-03-10 12:24:42 -05:00
ricky c6ac6141d9 Update qbo_item.rb 2016-03-10 12:23:28 -05:00
ricky f25fac1190 Update qbo_estimate.rb 2016-03-10 12:21:49 -05:00
ricky 49f2baed9f Update qbo_employee.rb
Fixed noob mistake
2016-03-10 12:20:34 -05:00
ricky 9acc33e373 Update qbo_employee.rb
Fixed removal of customers
2016-03-10 12:19:17 -05:00
ricky 4f6d194615 Fixed bug where the selected drop down items were not instance variables 2016-03-02 21:43:07 -05:00
ricky 0308a67a86 Simplified all quickbooks inporting
no more loops
2016-03-02 21:11:38 -05:00
ricky 7b63e64da0 Update qbo_invoice.rb
Loose the loop!
2016-03-02 14:43:22 -05:00
ricky eb8e2fa018 Update qbo_invoice.rb
Added a block to find_or_create_by to succinctly update doc_number
2016-02-29 11:43:10 -05:00
ricky 62ac1bf295 Update qbo_estimate.rb
Fixed Loop
2016-02-29 09:42:51 -05:00
ricky d044024981 Update qbo_item.rb
Removed all call
2016-02-29 09:41:48 -05:00
ricky 65be0c5f7a Update qbo_item.rb
Simplified Item Deletion
2016-02-29 09:39:33 -05:00
ricky e9db63ea82 Update qbo_estimate.rb
Simplified Estimate Deletion
2016-02-29 09:37:24 -05:00
ricky c8107c418f Update qbo_employee.rb
Simplified Employee Deletion
2016-02-29 09:36:22 -05:00
ricky 2d96f6653b Update qbo_customer.rb
Simplified Customer Deletion
2016-02-29 09:33:43 -05:00
ricky b4833d7a5f Fixed destroy call 2016-02-29 09:27:37 -05:00
ricky 12cebb1cd1 Update qbo_invoice.rb 2016-02-29 09:15:11 -05:00
ricky ad4ce232b5 Added removal for deleted entery while syncing
Added Invoices & Estimates to QBO#Index
2016-02-28 12:07:58 -05:00
ricky 82a273c0c2 Merge branch 'billable-purchases' 2016-02-25 22:53:46 -05:00
ricky 88b66c4b41 Fixed Estiamte & Invoice Link
Added Estimate Drop down
Disabled Automatic Estimate Creation
Added Controllers for Estimates & Invoices
2016-02-25 22:51:38 -05:00
ricky e9038a56c1 Updated locale with Estimate 2016-02-25 20:54:20 -05:00
ricky f2df6b5128 Update qbo_purchase.rb
Updated to use qbo_customer_id
2016-01-27 14:33:27 -05:00
ricky b57d51d80a Create 015_update_qbo_purchases.rb 2016-01-27 14:32:44 -05:00
ricky 970a2fa681 Update qbo_purchase.rb
Simplified line item detail logic...

untested
2016-01-27 14:14:31 -05:00
ricky 3d2176c5bd Update qbo_purchase.rb
WIP Fixing Purchase Sync Methods
2016-01-27 12:42:56 -05:00
ricky baf251e211 Update qbo_purchase.rb
Fixed Typo
2016-01-27 12:33:32 -05:00
ricky def5b72aa3 Update qbo_customer.rb
Added a separate has_many line for purchases
2016-01-27 12:32:18 -05:00
ricky 89498c9559 Update qbo_purchase.rb
Added seprate belongs_to line for customer
2016-01-27 12:31:33 -05:00
ricky b28e9b5a5b Update qbo_purchase.rb
Fixed typo for QBO Customer
2016-01-27 12:29:10 -05:00
ricky d529139a9f Update qbo_customer.rb 2016-01-27 09:52:04 -05:00
ricky 5155c0bc68 Create 014_update_customers.rb
Added reference to customers for purchases
2016-01-27 09:31:51 -05:00
ricky 798bfde516 Update qbo_controller.rb
Added Purchases to sync
2016-01-27 09:21:28 -05:00
ricky d79daa7a28 Fixed migration for purchases 2016-01-26 12:32:49 -05:00
ricky 6bcf210f79 Create 013_create_qbo_purchases.rb 2016-01-26 12:24:48 -05:00
ricky 7244455bf2 Update README.md
Better Documentation!
2016-01-26 04:42:14 -05:00
ricky e65d78bb25 Create qbo_purchase.rb
Initial & untested commit for billable-purchases.

TODO:
Create database table
Add relationships
Attach to Issues
2016-01-25 12:31:26 -05:00
ricky 0b74f2cf52 Added Invoice Support 2016-01-24 18:54:34 -05:00
ricky 98b89e7875 Added Patch to Users to add releation ship for Users to Employees 2016-01-24 17:35:07 -05:00
ricky b1996aa309 Update users_show_hook_listener.rb
Cleaned up nil checks
2016-01-22 05:43:06 -05:00
ricky f4712ad849 Update issues_show_hook_listener.rb
Cleaned up nil checks
2016-01-22 05:38:31 -05:00
ricky a8546934ee Cleaned up issue save hook 2016-01-22 05:22:09 -05:00
ricky a7b7db690d Fixed Issue Save Hook 2016-01-22 04:08:21 -05:00
ricky 0ed61b191f Update issues_save_hook_listener.rb
Removed un-needed code, and added parenthesis on line 33
2016-01-21 13:37:30 -05:00
ricky 0fb4ec1157 Update issues_save_hook_listener.rb
Fixed conventions, Removed explicit non-nil checks, updated comments
2016-01-21 13:27:08 -05:00
ricky d22257e8ab Update issues_form_hook_listener.rb
Fixed conventions, Removed explicit non-nil checks
2016-01-21 13:09:49 -05:00
ricky e1bb565c59 Update qbo_controller.rb
Updating to the following conventions
https://github.com/bbatsov/ruby-style-guide
2016-01-21 12:19:13 -05:00
ricky 03e1e7e0b2 Update users_show_hook_listener.rb
Updating to the following conventions
https://github.com/bbatsov/ruby-style-guide
2016-01-21 12:15:20 -05:00
ricky aa3fefd628 Update issues_show_hook_listener.rb
Updating to the following conventions
https://github.com/bbatsov/ruby-style-guide
2016-01-21 12:13:00 -05:00
ricky 5e635f9e2b Update issues_form_hook_listener.rb
Updating to the following conventions
https://github.com/bbatsov/ruby-style-guide
2016-01-21 12:09:40 -05:00
ricky 2aad7115c4 Update issues_save_hook_listener.rb
Updating to the following conventions
https://github.com/bbatsov/ruby-style-guide
2016-01-21 12:07:36 -05:00
ricky 80ee5287a0 Update README.md 2016-01-21 09:52:37 -05:00
ricky 26d8d9d3e9 Update README.md 2016-01-21 09:49:29 -05:00
ricky f0c08e155f Update LICENSE
Formating
2016-01-21 06:08:55 -05:00
ricky afb3af18d4 Update README.md 2016-01-20 12:46:24 -05:00
ricky 20be533a19 Update issues_save_hook_listener.rb
to ues Qbo.get_base
2016-01-20 12:21:08 -05:00
ricky f07809eacb Update qbo_employee.rb 2016-01-20 12:16:51 -05:00
ricky d1653da540 Update qbo_estimate.rb
to use Qbo.get_base
2016-01-20 12:16:15 -05:00
ricky d9b1b45f89 Update qbo_item.rb
to use Qbo.get_base
2016-01-20 12:15:42 -05:00
ricky 2f85d2f56d Updated QBO Customer touse Qbo.get_base 2016-01-20 12:13:44 -05:00
ricky 430579d622 Removed nil check 2016-01-20 12:12:37 -05:00
ricky 2357b002c6 Update qbo.rb
Added get_base convenience method
2016-01-20 06:39:42 -05:00
ricky 191cfd5fff Fixed issue hooks 2016-01-20 06:27:26 -05:00
ricky eb911f195c Removed unneeded code 2016-01-17 10:45:18 -05:00
ricky 98cd3d51e9 Estimate PDF is now dowloaded and served
TODO: The routes are somehow messed up and need to be fixed.

example: example.com/redmine/redmine/qbo/estimate/1
in lieu: example.com/redmine/qbo/estimate/1
2016-01-17 10:40:37 -05:00
ricky 2365fc2cf8 Corrected get_base to use :customer 2016-01-15 14:26:24 -05:00
ricky 6556197dd0 Readded nil checks 2016-01-14 21:49:26 -05:00
ricky e19688a525 Fixed QBO#Index 2016-01-13 21:00:15 -05:00
ricky ec1c263347 Added relationship to issues, renamed qbp_customer, started cleaning up
listeners
2016-01-13 20:37:02 -05:00
ricky 6f194e37bd Cleaned up the show_issue hook 2016-01-12 22:39:45 -05:00
ricky 135850b74d Estimates are now attached to issues and displayed on the issue 2016-01-12 21:45:56 -05:00
ricky 98e94da39b Added qbo_estimate_id to issues safe attribute list 2016-01-12 21:08:04 -05:00
ricky 3a4b3c0646 Added qbo_estimate to issues 2016-01-12 21:00:57 -05:00
ricky ddb4f40486 Updated to quickbooks-ruby-base and added QboEstimate 2016-01-12 20:55:56 -05:00
ricky a10b075ab8 Rename columns of QBO table 2016-01-12 20:55:00 -05:00
ricky 77448e8dc1 Create table qbo_estimates 2016-01-12 19:40:20 -05:00