Fix for bold design when product key is blank
This commit is contained in:
parent
def0e1a24a
commit
cd2c992158
2 changed files with 10 additions and 0 deletions
|
|
@ -30484,6 +30484,11 @@ function calculateAmounts(invoice) {
|
|||
var hasTaxes = false;
|
||||
var taxes = {};
|
||||
invoice.has_product_key = false;
|
||||
|
||||
// Bold designs currently breaks w/o the product column
|
||||
if (invoice.invoice_design_id == 2) {
|
||||
invoice.has_product_key = true;
|
||||
}
|
||||
|
||||
// sum line item
|
||||
for (var i=0; i<invoice.invoice_items.length; i++) {
|
||||
|
|
|
|||
|
|
@ -590,6 +590,11 @@ function calculateAmounts(invoice) {
|
|||
var hasTaxes = false;
|
||||
var taxes = {};
|
||||
invoice.has_product_key = false;
|
||||
|
||||
// Bold designs currently breaks w/o the product column
|
||||
if (invoice.invoice_design_id == 2) {
|
||||
invoice.has_product_key = true;
|
||||
}
|
||||
|
||||
// sum line item
|
||||
for (var i=0; i<invoice.invoice_items.length; i++) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue