5 Commits
2.0.2 ... 2.0.4

Author SHA1 Message Date
0b60a8e41b 2.0.4 2024-01-07 20:53:07 -05:00
817a43e849 Fixed update 2024-01-07 20:47:26 -05:00
047296329e 2.0.32.0.3 2023-12-31 16:42:47 -05:00
c8cb74f3d4 Merge branch 'redmine-5' 2023-12-31 16:35:26 -05:00
aceb6cb6b5 fixed typo 2023-12-31 16:26:02 -05:00
3 changed files with 3 additions and 3 deletions

View File

@@ -84,7 +84,7 @@ class VehiclesController < ApplicationController
@customer = params[:customer]
begin
@vehicle = Vehicle.find_by_id(params[:id])
if @vehicle.update_attributes(allowed_params)
if @vehicle.update(allowed_params)
flash[:notice] = "Vehicle updated"
redirect_to @vehicle
else

View File

@@ -205,7 +205,7 @@ class Customer < ActiveRecord::Base
qbo = Qbo.first
@details = qbo.perform_authenticated_request do |access_token|
service = Quickbooks::Service::Customer.new(:company_id => qbo.realm_id, :access_token => access_token)
serivce.update(@details)
service.update(@details)
end
#raise "QBO Fault" if @details.fault?
self.id = @details.id

View File

@@ -22,7 +22,7 @@ Redmine::Plugin.register :redmine_qbo do
name 'Redmine Quickbooks Online plugin'
author 'Rick Barrette'
description 'This is a plugin for Redmine to intergrate with Quickbooks Online to allow for seamless intergration CRM and invoicing of completed issues'
version '2.0.2'
version '2.0.4'
url 'https://github.com/rickbarrette/redmine_qbo'
author_url 'https://barrettefabrication.com'
settings :default => {'empty' => true}, :partial => 'qbo/settings'