diff options
author | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-12 03:48:00 +0100 |
---|---|---|
committer | Dave Lawrence <dlawrence@mozilla.com> | 2012-12-12 03:48:00 +0100 |
commit | b4d57a7e6b4e8f1dc540d6b0ed651f990e5c3213 (patch) | |
tree | a3092116722a8f0f904d1ef261a06a692a842e95 /extensions/MozProjectReview/template/en | |
parent | 7ef08cc7c04992fb524f7f6b802ede78e6671f3b (diff) | |
download | bugzilla-b4d57a7e6b4e8f1dc540d6b0ed651f990e5c3213.tar.gz bugzilla-b4d57a7e6b4e8f1dc540d6b0ed651f990e5c3213.tar.xz |
Bug 819022 - Project Kickoff Form: Add "Vendor" and "Line Item in Budget?" in the Finance portion
Diffstat (limited to 'extensions/MozProjectReview/template/en')
2 files changed, 33 insertions, 12 deletions
diff --git a/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-finance.txt.tmpl b/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-finance.txt.tmpl index 1fc72de6f..99691c287 100644 --- a/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-finance.txt.tmpl +++ b/extensions/MozProjectReview/template/en/default/bug/create/comment-moz-project-review-finance.txt.tmpl @@ -13,6 +13,12 @@ Finance Questions: +Vendor: [% cgi.param('finance_purchase_vendor') %] +Is this line item in budget?: [% cgi.param('finance_purchase_inbudget') %] +[% IF cgi.param('finance_purchase_inbudget') == 'No' %] +Not In Budget Why: +[%+ cgi.param('finance_purchase_notinbudget_why') %] +[% END %] What is the purchase for?: [%+ cgi.param('finance_purchase_what') %] Why is the purchase needed?: @@ -21,6 +27,5 @@ What is the risk if not purchased?: [%+ cgi.param('finance_purchase_risk') %] What is the alternative?: [%+ cgi.param('finance_purchase_alternative') %] -Is this line item in budget?: [% cgi.param('finance_purchase_inbudget') %] What is the urgency?: [% cgi.param('finance_purchase_urgency') %] Total Cost: [% cgi.param('finance_purchase_cost') %] diff --git a/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl b/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl index a84bbe743..db06d0c24 100644 --- a/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl +++ b/extensions/MozProjectReview/template/en/default/bug/create/create-moz-project-review.html.tmpl @@ -507,6 +507,33 @@ <div id="finance_questions" class="bz_default_hidden"> <div class="header">Finance</div> + <div id="finance_purchase_vendor_row" class="field_row"> + <span class="field_label required">Vendor:</span> + <span class="field_data"> + <input type="text" name="finance_purchase_vendor" maxsize="255" size="60" id="finance_purchase_vendor"> + </span> + </div> + + <div id="finance_purchase_inbudget_row" class="field_row"> + <span class="field_label required">Is this line item in budget?:</span> + <span class="field_data"> + <select name="finance_purchase_inbudget" id="finance_purchase_inbudget" + onchange="MPR.toggleVisibleById(this, 'No', 'finance_purchase_notinbudget_why_row');"> + <option value="">Select One</option> + <option value="Yes">Yes</option> + <option value="No">No</option> + </select> + </span> + </div> + + <div id="finance_purchase_notinbudget_why_row" class="field_row bz_default_hidden"> + <span class="field_label required">Not In Budget Why:</span> + <span class="field_data"> + <em>Please include additional description for this out of budget line item</em><br> + <textarea name="finance_purchase_notinbudget_why" id="finance_purchase_notinbudget_why" rows="10" cols="80"></textarea> + </span> + </div> + <div id="finance_purchase_what_row" class="field_row"> <span class="field_label required">What is the purchase for?:</span> <span class="field_data"> @@ -535,17 +562,6 @@ </span> </div> - <div id="finance_purchase_inbudget_row" class="field_row"> - <span class="field_label required">Is this line item in budget?:</span> - <span class="field_data"> - <select name="finance_purchase_inbudget" id="finance_purchase_inbudget"> - <option value="">Select One</option> - <option value="Yes">Yes</option> - <option value="No">No</option> - </select> - </span> - </div> - <div id="finance_purchase_urgency_row" class="field_row"> <span class="field_label required">When do the items need to be ordered by?:</span> <span class="field_data"> |