From 08e047c90e5e71f3b99953541f639b5dc8364ea5 Mon Sep 17 00:00:00 2001 From: Rick Barrette Date: Wed, 12 Oct 2016 10:31:05 -0400 Subject: [PATCH] Added done_ratio to partial billing --- lib/issue_patch.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/issue_patch.rb b/lib/issue_patch.rb index 8ed899c..2ff99b6 100644 --- a/lib/issue_patch.rb +++ b/lib/issue_patch.rb @@ -72,7 +72,7 @@ module IssuePatch item = item_service.query("SELECT * FROM Item WHERE Name = '#{key}' ").first next if item.nil? - time_entry.description = "#{tracker} ##{id}: #{subject} #{"(Partial)" if not closed?}" + time_entry.description = "#{tracker} ##{id}: #{subject} #{"(Partial @ #{done_ratio}%)" if not closed?}" # TODO entry.user.qbo_employee.id time_entry.employee_id = assigned_to.qbo_employee_id time_entry.customer_id = customer_id