Compare commits

..
6 Commits
Author SHA1 Message Date
ricky d18a0c180a added name function to estimate 2026-08-06 07:55:51 -04:00
ricky baca0ed6c7 updated readme 2026-07-02 22:48:25 -04:00
ricky 6bf84dd61a Added payment link 2026-07-01 14:06:02 -04:00
ricky 61b02831e3 removed comment 2026-03-28 06:40:59 -04:00
ricky 7c79f2388a removed Custom Field Synchronization 2026-03-28 00:32:22 -04:00
ricky 36267893bd 2026.3.17 2026-03-28 00:25:55 -04:00
6 changed files with 16 additions and 20 deletions
+4 -15
View File
@@ -89,17 +89,6 @@ Supported automation:
Invoices containing an Issue reference (e.g. `#123`) automatically attach to the corresponding Issue. Invoices containing an Issue reference (e.g. `#123`) automatically attach to the corresponding Issue.
### Custom Field Synchronization
Invoice custom fields can be mapped to Issue custom fields.
Example use case:
* Mileage In/Out recorded in Redmine
* Automatically synchronized to the QuickBooks invoice.
### Customer Synchronization ### Customer Synchronization
Customer records are automatically updated in the local database when changes occur in QuickBooks. Customer records are automatically updated in the local database when changes occur in QuickBooks.
@@ -153,7 +142,7 @@ https://redmine.yourdomain.com/qbo/webhook
# Installation # Installation
## 1\. Clone the Plugin ## 1. Clone the Plugin
Install the plugin into your Redmine plugins directory. Install the plugin into your Redmine plugins directory.
@@ -168,7 +157,7 @@ Use a **tagged release** for stability.
--- ---
## 2\. Install Dependencies ## 2. Install Dependencies
```bash ```bash
bundle install bundle install
@@ -178,7 +167,7 @@ Required for **Redmine 6 / Rails 7 compatibility**.
--- ---
## 3\. Run Database Migrations ## 3. Run Database Migrations
```bash ```bash
bundle exec rake redmine:plugins:migrate RAILS_ENV=production bundle exec rake redmine:plugins:migrate RAILS_ENV=production
@@ -186,7 +175,7 @@ bundle exec rake redmine:plugins:migrate RAILS_ENV=production
--- ---
## 4\. Restart Redmine ## 4. Restart Redmine
Restart your Redmine server so the plugin and hooks are loaded. Restart your Redmine server so the plugin and hooks are loaded.
+4
View File
@@ -16,6 +16,10 @@ class Estimate < QboBaseModel
self.primary_key = :id self.primary_key = :id
qbo_sync push: false qbo_sync push: false
def name
to_s
end
# returns a human readable string # returns a human readable string
def to_s def to_s
return self[:doc_number] return self[:doc_number]
+5
View File
@@ -8,4 +8,9 @@
<br/> <br/>
<br/> <br/>
<%= link_to t(:label_create_payment), "https://qbo.intuit.com/app/recvpayment?nameId=#{@customer.id}", target: :_blank %>
<br/>
<br/>
<%= button_to t(:label_edit_customer), edit_customer_path(@customer), method: :get%> <%= button_to t(:label_edit_customer), edit_customer_path(@customer), method: :get%>
+1
View File
@@ -34,6 +34,7 @@ en:
label_closed_issues: "Closed Issues" label_closed_issues: "Closed Issues"
label_connected: "Successfully connected to QuickBooks" label_connected: "Successfully connected to QuickBooks"
label_create_estimate: "Create Estimate" label_create_estimate: "Create Estimate"
label_create_payment: "Create Payment"
label_customer_count: "Customer Count" label_customer_count: "Customer Count"
label_customer_link_expires: "This customer link expires in" label_customer_link_expires: "This customer link expires in"
label_customers: "Customers" label_customers: "Customers"
+1 -1
View File
@@ -14,7 +14,7 @@ Redmine::Plugin.register :redmine_qbo do
name 'Redmine QBO plugin' name 'Redmine QBO plugin'
author 'Rick Barrette' author 'Rick Barrette'
description 'A pluging for Redmine to connect with QuickBooks Online to create Time Activity Entries for billable hours logged when an Issue is closed' description 'A pluging for Redmine to connect with QuickBooks Online to create Time Activity Entries for billable hours logged when an Issue is closed'
version '2026.3.16' version '2026.3.17'
url 'https://github.com/rickbarrette/redmine_qbo' url 'https://github.com/rickbarrette/redmine_qbo'
author_url 'https://barrettefabrication.com' author_url 'https://barrettefabrication.com'
settings default: {empty: true}, partial: 'qbo/settings' settings default: {empty: true}, partial: 'qbo/settings'
@@ -16,9 +16,6 @@ module RedmineQbo
# View User # View User
def view_users_form(context={}) def view_users_form(context={})
# Update the users
#Employee.update_all
# Check to see if there is a quickbooks user attached to the issue # Check to see if there is a quickbooks user attached to the issue
@selected = context[:user]&.employee&.id @selected = context[:user]&.employee&.id