mirror of
https://github.com/rickbarrette/redmine_qbo.git
synced 2026-08-19 04:40:44 -04:00
Compare commits
4
Commits
2026.3.17
...
baca0ed6c7
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
baca0ed6c7 | ||
|
|
6bf84dd61a | ||
|
|
61b02831e3 | ||
|
|
7c79f2388a |
@@ -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.
|
||||||
|
|
||||||
|
|||||||
@@ -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%>
|
||||||
|
|||||||
@@ -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"
|
||||||
|
|||||||
@@ -15,10 +15,7 @@ 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
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user