mirror of
https://github.com/rickbarrette/redmine_qbo_vehicles.git
synced 2026-02-13 17:43:58 -05:00
Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1199af0886 | |||
| 5a2832b751 |
2
init.rb
2
init.rb
@@ -14,7 +14,7 @@ Redmine::Plugin.register :redmine_qbo_vehicles do
|
|||||||
name 'Redmine QBO Vehicles plugin'
|
name 'Redmine QBO Vehicles plugin'
|
||||||
author 'Rick Barrette'
|
author 'Rick Barrette'
|
||||||
description 'This is a plugin for Redmine to intergrate with the redmine_qbo plugin to provide vehicle data tracking'
|
description 'This is a plugin for Redmine to intergrate with the redmine_qbo plugin to provide vehicle data tracking'
|
||||||
version '2026.1.3'
|
version '2026.1.4'
|
||||||
url 'https://github.com/rickbarrette/redmine_qbo_vehicles'
|
url 'https://github.com/rickbarrette/redmine_qbo_vehicles'
|
||||||
author_url 'https://barrettefabrication.com'
|
author_url 'https://barrettefabrication.com'
|
||||||
requires_redmine version_or_higher: '6.1.0'
|
requires_redmine version_or_higher: '6.1.0'
|
||||||
|
|||||||
@@ -23,7 +23,7 @@ module Vehicles
|
|||||||
locals: {
|
locals: {
|
||||||
vehicle: context[:form].select( :vehicle_id,
|
vehicle: context[:form].select( :vehicle_id,
|
||||||
context[:issue].customer ? context[:issue].customer.vehicles.pluck(:name, :id) : [],
|
context[:issue].customer ? context[:issue].customer.vehicles.pluck(:name, :id) : [],
|
||||||
selected: context[:issue].vehicle,
|
selected: context[:issue].vehicle ? context[:issue].vehicle.id : nil,
|
||||||
include_blank: true )
|
include_blank: true )
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user