Commit Graph

1011 Commits

Author SHA1 Message Date
c6ac6141d9 Update qbo_item.rb 2016-03-10 12:23:28 -05:00
f25fac1190 Update qbo_estimate.rb 2016-03-10 12:21:49 -05:00
49f2baed9f Update qbo_employee.rb
Fixed noob mistake
2016-03-10 12:20:34 -05:00
9acc33e373 Update qbo_employee.rb
Fixed removal of customers
2016-03-10 12:19:17 -05:00
0308a67a86 Simplified all quickbooks inporting
no more loops
2016-03-02 21:11:38 -05:00
7b63e64da0 Update qbo_invoice.rb
Loose the loop!
2016-03-02 14:43:22 -05:00
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
62ac1bf295 Update qbo_estimate.rb
Fixed Loop
2016-02-29 09:42:51 -05:00
d044024981 Update qbo_item.rb
Removed all call
2016-02-29 09:41:48 -05:00
65be0c5f7a Update qbo_item.rb
Simplified Item Deletion
2016-02-29 09:39:33 -05:00
e9db63ea82 Update qbo_estimate.rb
Simplified Estimate Deletion
2016-02-29 09:37:24 -05:00
c8107c418f Update qbo_employee.rb
Simplified Employee Deletion
2016-02-29 09:36:22 -05:00
2d96f6653b Update qbo_customer.rb
Simplified Customer Deletion
2016-02-29 09:33:43 -05:00
b4833d7a5f Fixed destroy call 2016-02-29 09:27:37 -05:00
12cebb1cd1 Update qbo_invoice.rb 2016-02-29 09:15:11 -05:00
ad4ce232b5 Added removal for deleted entery while syncing
Added Invoices & Estimates to QBO#Index
2016-02-28 12:07:58 -05:00
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
e9038a56c1 Updated locale with Estimate 2016-02-25 20:54:20 -05:00
f2df6b5128 Update qbo_purchase.rb
Updated to use qbo_customer_id
2016-01-27 14:33:27 -05:00
970a2fa681 Update qbo_purchase.rb
Simplified line item detail logic...

untested
2016-01-27 14:14:31 -05:00
3d2176c5bd Update qbo_purchase.rb
WIP Fixing Purchase Sync Methods
2016-01-27 12:42:56 -05:00
baf251e211 Update qbo_purchase.rb
Fixed Typo
2016-01-27 12:33:32 -05:00
def5b72aa3 Update qbo_customer.rb
Added a separate has_many line for purchases
2016-01-27 12:32:18 -05:00
89498c9559 Update qbo_purchase.rb
Added seprate belongs_to line for customer
2016-01-27 12:31:33 -05:00
b28e9b5a5b Update qbo_purchase.rb
Fixed typo for QBO Customer
2016-01-27 12:29:10 -05:00
d529139a9f Update qbo_customer.rb 2016-01-27 09:52:04 -05:00
798bfde516 Update qbo_controller.rb
Added Purchases to sync
2016-01-27 09:21:28 -05:00
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
0b74f2cf52 Added Invoice Support 2016-01-24 18:54:34 -05:00
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
f07809eacb Update qbo_employee.rb 2016-01-20 12:16:51 -05:00
d1653da540 Update qbo_estimate.rb
to use Qbo.get_base
2016-01-20 12:16:15 -05:00
d9b1b45f89 Update qbo_item.rb
to use Qbo.get_base
2016-01-20 12:15:42 -05:00
2f85d2f56d Updated QBO Customer touse Qbo.get_base 2016-01-20 12:13:44 -05:00
430579d622 Removed nil check 2016-01-20 12:12:37 -05:00
2357b002c6 Update qbo.rb
Added get_base convenience method
2016-01-20 06:39:42 -05:00
eb911f195c Removed unneeded code 2016-01-17 10:45:18 -05:00
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
2365fc2cf8 Corrected get_base to use :customer 2016-01-15 14:26:24 -05:00
6556197dd0 Readded nil checks 2016-01-14 21:49:26 -05:00
e19688a525 Fixed QBO#Index 2016-01-13 21:00:15 -05:00
ec1c263347 Added relationship to issues, renamed qbp_customer, started cleaning up
listeners
2016-01-13 20:37:02 -05:00
135850b74d Estimates are now attached to issues and displayed on the issue 2016-01-12 21:45:56 -05:00
ddb4f40486 Updated to quickbooks-ruby-base and added QboEstimate 2016-01-12 20:55:56 -05:00
c2808c7e8f Broke billing of time into a seprate method 2016-01-11 22:18:40 -05:00
8b78e113f9 Only pull QBO Service Items & Auto sync QBO Items 2016-01-10 10:11:15 -05:00
8f86220fef Cleaned up QBO index 2016-01-09 23:23:51 -05:00
b9e5ace6cd Redirect to QBO Sync after Authentication & reverse item order 2016-01-09 23:13:24 -05:00
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
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