mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 00:34:37 -04:00
Admin Portal - Profile
This commit is contained in:
parent
38606b3f2c
commit
5c96609514
32
public/main.profile.dart.js
vendored
32
public/main.profile.dart.js
vendored
@ -386278,38 +386278,40 @@
|
||||
B.JSArray_methods.add$1(pdfColumns, customField3);
|
||||
if (company.getCustomFieldLabel$1(customField4).length !== 0 && !B.JSArray_methods.contains$1(pdfColumns, customField4))
|
||||
B.JSArray_methods.add$1(pdfColumns, customField4);
|
||||
for (t1 = pdfColumns.length, t2 = !company.enableProductQuantity, t3 = company.enableProductDiscount, t4 = _this._invoice_edit_items_desktop$_columns, _i = 0; _i < pdfColumns.length; pdfColumns.length === t1 || (0, A.throwConcurrentModificationError)(pdfColumns), ++_i) {
|
||||
t1 = _this._invoice_edit_items_desktop$_columns;
|
||||
B.JSArray_methods.set$length(t1, 0);
|
||||
for (t2 = pdfColumns.length, t3 = !company.enableProductQuantity, t4 = company.enableProductDiscount, _i = 0; _i < pdfColumns.length; pdfColumns.length === t2 || (0, A.throwConcurrentModificationError)(pdfColumns), ++_i) {
|
||||
column = pdfColumns[_i];
|
||||
if ("item" === column || "service" === column)
|
||||
t4.push("item");
|
||||
t1.push("item");
|
||||
else if ("description" === column)
|
||||
t4.push("description");
|
||||
t1.push("description");
|
||||
else if ("unit_cost" === column || "rate" === column)
|
||||
t4.push(_s9_);
|
||||
t1.push(_s9_);
|
||||
else {
|
||||
if ("quantity" === column || "hours" === column)
|
||||
t5 = !t2 || _this._widget.isTasks;
|
||||
t5 = !t3 || _this._widget.isTasks;
|
||||
else
|
||||
t5 = false;
|
||||
if (t5)
|
||||
t4.push(_s8_);
|
||||
t1.push(_s8_);
|
||||
else if (("product1" === column || "task1" === column) && company.getCustomFieldLabel$1(customField1).length !== 0)
|
||||
t4.push("custom1");
|
||||
t1.push("custom1");
|
||||
else if (("product2" === column || "task2" === column) && company.getCustomFieldLabel$1(customField2).length !== 0)
|
||||
t4.push("custom2");
|
||||
t1.push("custom2");
|
||||
else if (("product3" === column || "task3" === column) && company.getCustomFieldLabel$1(customField3).length !== 0)
|
||||
t4.push("custom3");
|
||||
t1.push("custom3");
|
||||
else if (("product4" === column || "task4" === column) && company.getCustomFieldLabel$1(customField4).length !== 0)
|
||||
t4.push("custom4");
|
||||
t1.push("custom4");
|
||||
else if ("tax" === column) {
|
||||
if (hasTax1)
|
||||
t4.push("tax1");
|
||||
t1.push("tax1");
|
||||
if (hasTax2)
|
||||
t4.push("tax2");
|
||||
t1.push("tax2");
|
||||
if (hasTax3)
|
||||
t4.push("tax3");
|
||||
} else if ("discount" === column && t3)
|
||||
t4.push("discount");
|
||||
t1.push("tax3");
|
||||
} else if ("discount" === column && t4)
|
||||
t1.push("discount");
|
||||
}
|
||||
}
|
||||
},
|
||||
|
Loading…
x
Reference in New Issue
Block a user