Commit Graph
100 Commits
Author SHA1 Message Date
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 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
ricky cf97b341ab Updated Gemfile to work off my branch 2016-01-12 19:39:30 -05:00
ricky 7637a6fa28 Updated Gemfile to use my copy of quickbooks-ruby
Also Added quickbooks-ruby-base
2016-01-12 19:01:33 -05:00
ricky aad4597265 Removed unneeded Code & Fixed Estimate Field Check 2016-01-11 23:37:01 -05:00
ricky f9e271cbcb Added sanity checks for QBO info 2016-01-11 23:24:35 -05:00
ricky 2ec9e43951 Added estimate generation capability
TODO: check to see if we can get the PDF link
2016-01-11 23:20:27 -05:00
ricky c2808c7e8f Broke billing of time into a seprate method 2016-01-11 22:18:40 -05:00
ricky 84acf5f775 Update README.md 2016-01-10 10:34:36 -05:00
ricky 95301261c7 Added Screenshots 2016-01-10 10:24:54 -05:00
ricky 8b78e113f9 Only pull QBO Service Items & Auto sync QBO Items 2016-01-10 10:11:15 -05:00
ricky 1c67328363 Update README.md 2016-01-10 09:47:55 -05:00
ricky 8f86220fef Cleaned up QBO index 2016-01-09 23:23:51 -05:00
ricky fa2a6a2021 Version bump 0.0.2 2016-01-09 23:15:32 -05:00
ricky b9e5ace6cd Redirect to QBO Sync after Authentication & reverse item order 2016-01-09 23:13:24 -05:00
ricky 6d357f27f9 It's in Production!
Made some tweaks and error checks
2016-01-09 10:11:13 -05:00
ricky ed66b7b7b4 Added QBO Sync to Issue and User views
This will allow the databases to automaticly "Refresh" with a simple
page refresh
2016-01-09 09:27:58 -05:00
ricky 9781ad39c1 Changed the word Ticket to Issue.Tracker 2016-01-09 09:00:22 -05:00
ricky deb3b7cac5 Check if spent hours is > 0 before billing 2016-01-09 08:56:32 -05:00
ricky def2bf068e Added QBO Billed Flag to Time Entries
This allows prevents duplicate billing for Time Entries
2016-01-09 08:45:52 -05:00
ricky 7abf20f35d Added QBO Employee setting to the User.
This allows the a QBO Employee ID to be assigned to a redmine user
2016-01-09 00:51:02 -05:00
ricky e45ff68cfa Updated README 2016-01-08 23:07:34 -05:00
ricky 9acc1cb516 Split qbo_hook_listener into 3 specific classes 2016-01-08 22:39:59 -05:00
ricky 6594ef6488 Added Item dropdown box for Issues 2016-01-08 22:19:07 -05:00
ricky 9506a4b854 Added QBO Form 2016-01-07 21:51:09 -05:00
ricky 78768519e9 Updated QBO Auth Token to new convention 2016-01-07 21:10:53 -05:00
ricky 7b0538a043 Fixed Models & Migrations for setting custom IDs 2016-01-07 20:48:14 -05:00
ricky 5d04efe29c Added License
to app/models/qbo_employee.rb app/models/qbo_item.rb
2016-01-07 19:42:53 -05:00
ricky c666f41d68 Added sync functionality to Item and Employee 2016-01-07 15:52:52 -05:00
ricky fa230a400e Added framework for Item and Employee Models 2016-01-07 15:00:46 -05:00
ricky 1a6c4c1981 Moving Fat from the controller to the Customer Model 2016-01-07 14:59:51 -05:00
ricky 515e7fb691 Started working on the QBO index page 2016-01-04 22:37:06 -05:00
ricky 8a28b12323 Added Quickbooks to the top menu 2016-01-04 21:50:35 -05:00
ricky 56e1c2c8a4 Fixed routes and paths 2016-01-04 21:40:26 -05:00
ricky 168c53b71b Added nil check for qbo_customer_id when closing 2016-01-02 10:25:20 -05:00
ricky bc2be81f7e Cleaned up README 2016-01-02 10:15:01 -05:00
ricky 541ac2232d Renamed: README.rdoc -> README.md 2016-01-02 10:11:55 -05:00
ricky f8ff28f955 Added TimeActivty Creation
A new Time Activity is now created when an issue is closed.
2016-01-02 10:05:02 -05:00
ricky 6ef89d3e45 Updated README.rdoc 2016-01-01 23:06:58 -05:00