1
0
mirror of https://github.com/invoiceninja/invoiceninja.git synced 2024-11-10 13:12:50 +01:00

Admin Portal - Profile

This commit is contained in:
hillelcoren 2023-01-08 08:20:19 +00:00
parent 6e6f169e08
commit 4f188ad73d

View File

@ -61649,27 +61649,28 @@
} }
return headers; return headers;
}, },
_checkResponse(response) { _checkResponse(url, response) {
var serverVersion, minClientVersion, t2, var serverVersion, minClientVersion, t2,
t1 = response.headers; t1 = response.headers;
A.print("Response: " + A.formatSize(A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t1).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes).length)); A.print("Response: " + A.formatSize(A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(t1).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes).length));
serverVersion = t1.$index(0, "x-app-version"); serverVersion = t1.$index(0, "x-app-version");
minClientVersion = t1.$index(0, "x-minimum-client-version"); minClientVersion = t1.$index(0, "x-minimum-client-version");
t1 = response.statusCode; t2 = response.statusCode;
if (t1 >= 500) if (t2 >= 500)
throw A.wrapException(A._parseError(t1, response.get$body(response))); throw A.wrapException(A._parseError(t2, response.get$body(response)));
else if (serverVersion == null) else if (serverVersion == null) {
throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server"); t2 = response.get$body(response).length > 200 ? B.JSString_methods.substring$2(response.get$body(response), 0, 200) : response.get$body(response);
else { throw A.wrapException("Error: please check that Invoice Ninja v5 is installed on the server\n\nURL: " + url + "\n\nResponse: " + t2 + "\n\nHeaders: " + t1.toString$0(0) + "}");
t2 = A.Version__compare(A.Version_parse("5.0.104"), A.Version_parse(minClientVersion)); } else {
if (t2 < 0) t1 = A.Version__compare(A.Version_parse("5.0.104"), A.Version_parse(minClientVersion));
if (t1 < 0)
throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.104 < Minimum v" + A.S(minClientVersion) + "]"); throw A.wrapException("Error: client not supported, please update to the latest version [Current v5.0.104 < Minimum v" + A.S(minClientVersion) + "]");
else { else {
t2 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4")); t1 = A.Version__compare(A.Version_parse(serverVersion), A.Version_parse("5.0.4"));
if (t2 < 0) if (t1 < 0)
throw A.wrapException("Error: server not supported, please update to the latest version [Current v" + serverVersion + " < Minimum v5.0.4]"); throw A.wrapException("Error: server not supported, please update to the latest version [Current v" + serverVersion + " < Minimum v5.0.4]");
else if (t1 >= 400) else if (t2 >= 400)
throw A.wrapException(A._parseError(t1, response.get$body(response))); throw A.wrapException(A._parseError(t2, response.get$body(response)));
} }
} }
}, },
@ -108322,7 +108323,7 @@
t1 = userCompany.settings, t1 = userCompany.settings,
reportSettings = t1 == null ? _null : t1.reportSettings, reportSettings = t1 == null ? _null : t1.reportSettings,
paymentReportSettings = reportSettings != null && reportSettings._map$_map.containsKey$1(0, "payment") ? reportSettings._map$_map.$index(0, "payment") : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null), paymentReportSettings = reportSettings != null && reportSettings._map$_map.containsKey$1(0, "payment") ? reportSettings._map$_map.$index(0, "payment") : A.ReportSettingsEntity_ReportSettingsEntity(_null, _null),
defaultColumns = A._setArrayType([B.PaymentReportFields_1, B.PaymentReportFields_2, B.PaymentReportFields_3, B.PaymentReportFields_20, B.PaymentReportFields_19], type$.JSArray_legacy_PaymentReportFields); defaultColumns = A._setArrayType([B.PaymentReportFields_1, B.PaymentReportFields_2, B.PaymentReportFields_3, B.PaymentReportFields_21, B.PaymentReportFields_20], type$.JSArray_legacy_PaymentReportFields);
t1 = paymentReportSettings.columns._list; t1 = paymentReportSettings.columns._list;
t2 = type$.legacy_PaymentReportFields; t2 = type$.legacy_PaymentReportFields;
if (t1.length !== 0) { if (t1.length !== 0) {
@ -108335,7 +108336,7 @@
paymentInvoiceMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); paymentInvoiceMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
paymentCreditMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2); paymentCreditMap = A.LinkedHashMap_LinkedHashMap$_empty(t1, t2);
t1 = columns._list; t1 = columns._list;
if (B.JSArray_methods.contains$1(t1, B.PaymentReportFields_28)) if (B.JSArray_methods.contains$1(t1, B.PaymentReportFields_29))
for (t2 = paymentMap.get$keys(paymentMap), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = userCompany.company, t4 = type$.JSArray_legacy_String, t5 = paymentMap._map$_map; t2.moveNext$0();) { for (t2 = paymentMap.get$keys(paymentMap), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = userCompany.company, t4 = type$.JSArray_legacy_String, t5 = paymentMap._map$_map; t2.moveNext$0();) {
payment = t5.$index(0, t2.__js_helper$_current); payment = t5.$index(0, t2.__js_helper$_current);
if (payment == null) if (payment == null)
@ -108354,7 +108355,7 @@
paymentInvoiceMap.$index(0, t6).push(invoice.number); paymentInvoiceMap.$index(0, t6).push(invoice.number);
} }
} }
if (B.JSArray_methods.contains$1(t1, B.PaymentReportFields_29)) if (B.JSArray_methods.contains$1(t1, B.PaymentReportFields_30))
for (t2 = paymentMap.get$keys(paymentMap), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = userCompany.company, t4 = type$.JSArray_legacy_String, t5 = paymentMap._map$_map; t2.moveNext$0();) { for (t2 = paymentMap.get$keys(paymentMap), t3 = t2._map, t2 = A.LinkedHashMapKeyIterator$(t3, t3._modifications, A._instanceType(t2)._precomputed1), t3 = userCompany.company, t4 = type$.JSArray_legacy_String, t5 = paymentMap._map$_map; t2.moveNext$0();) {
payment = t5.$index(0, t2.__js_helper$_current); payment = t5.$index(0, t2.__js_helper$_current);
if (payment == null) if (payment == null)
@ -108392,7 +108393,7 @@
case B.PaymentReportFields_1: case B.PaymentReportFields_1:
value18 = value17; value18 = value17;
break; break;
case B.PaymentReportFields_21: case B.PaymentReportFields_22:
t20 = staticState.paymentTypeMap._map$_map.$index(0, t16); t20 = staticState.paymentTypeMap._map$_map.$index(0, t16);
value18 = t20 == null ? _null : t20.name; value18 = t20 == null ? _null : t20.name;
if (value18 == null) if (value18 == null)
@ -108404,86 +108405,89 @@
case B.PaymentReportFields_3: case B.PaymentReportFields_3:
value18 = value16; value18 = value16;
break; break;
case B.PaymentReportFields_5: case B.PaymentReportFields_6:
value18 = value15; value18 = value15;
break; break;
case B.PaymentReportFields_6: case B.PaymentReportFields_7:
value18 = value14; value18 = value14;
break; break;
case B.PaymentReportFields_7: case B.PaymentReportFields_8:
value18 = value13; value18 = value13;
break; break;
case B.PaymentReportFields_12: case B.PaymentReportFields_13:
value18 = value12; value18 = value12;
break; break;
case B.PaymentReportFields_13: case B.PaymentReportFields_14:
value18 = value11; value18 = value11;
break; break;
case B.PaymentReportFields_14: case B.PaymentReportFields_15:
value18 = value10; value18 = value10;
break; break;
case B.PaymentReportFields_15: case B.PaymentReportFields_16:
value18 = value9; value18 = value9;
break; break;
case B.PaymentReportFields_16: case B.PaymentReportFields_17:
value18 = value8; value18 = value8;
break; break;
case B.PaymentReportFields_17: case B.PaymentReportFields_18:
value18 = value7; value18 = value7;
break; break;
case B.PaymentReportFields_18: case B.PaymentReportFields_19:
t20 = staticState.countryMap._map$_map.$index(0, t15); t20 = staticState.countryMap._map$_map.$index(0, t15);
value18 = t20 == null ? _null : t20.name; value18 = t20 == null ? _null : t20.name;
if (value18 == null) if (value18 == null)
value18 = ""; value18 = "";
break; break;
case B.PaymentReportFields_9: case B.PaymentReportFields_10:
value18 = value6; value18 = value6;
break; break;
case B.PaymentReportFields_11: case B.PaymentReportFields_12:
t20 = staticState.countryMap._map$_map.$index(0, t14); t20 = staticState.countryMap._map$_map.$index(0, t14);
value18 = t20 == null ? _null : t20.name; value18 = t20 == null ? _null : t20.name;
if (value18 == null) if (value18 == null)
value18 = ""; value18 = "";
break; break;
case B.PaymentReportFields_10: case B.PaymentReportFields_11:
value18 = value5; value18 = value5;
break; break;
case B.PaymentReportFields_8: case B.PaymentReportFields_9:
value18 = value4; value18 = value4;
break; break;
case B.PaymentReportFields_4: case B.PaymentReportFields_4:
value18 = value3; value18 = value3;
break; break;
case B.PaymentReportFields_19: case B.PaymentReportFields_5:
value18 = value2; value18 = client.get$primaryContact().email;
break; break;
case B.PaymentReportFields_20: case B.PaymentReportFields_20:
value18 = value2;
break;
case B.PaymentReportFields_21:
value18 = value1; value18 = value1;
break; break;
case B.PaymentReportFields_22: case B.PaymentReportFields_23:
value18 = A.presentCustomField(t6, "payment1", t13); value18 = A.presentCustomField(t6, "payment1", t13);
break; break;
case B.PaymentReportFields_23: case B.PaymentReportFields_24:
value18 = A.presentCustomField(t6, "payment2", t12); value18 = A.presentCustomField(t6, "payment2", t12);
break; break;
case B.PaymentReportFields_24: case B.PaymentReportFields_25:
value18 = A.presentCustomField(t6, "payment3", t11); value18 = A.presentCustomField(t6, "payment3", t11);
break; break;
case B.PaymentReportFields_25: case B.PaymentReportFields_26:
value18 = A.presentCustomField(t6, "payment4", t10); value18 = A.presentCustomField(t6, "payment4", t10);
break; break;
case B.PaymentReportFields_26: case B.PaymentReportFields_27:
value18 = value0; value18 = value0;
break; break;
case B.PaymentReportFields_27: case B.PaymentReportFields_28:
value18 = A.round(payment.get$completedAmount() * value0, 2); value18 = A.round(payment.get$completedAmount() * value0, 2);
break; break;
case B.PaymentReportFields_28: case B.PaymentReportFields_29:
t20 = paymentInvoiceMap.$index(0, value); t20 = paymentInvoiceMap.$index(0, value);
value18 = B.JSArray_methods.join$1(t20 == null ? A._setArrayType([], t5) : t20, ", "); value18 = B.JSArray_methods.join$1(t20 == null ? A._setArrayType([], t5) : t20, ", ");
break; break;
case B.PaymentReportFields_29: case B.PaymentReportFields_30:
t20 = paymentCreditMap.$index(0, value); t20 = paymentCreditMap.$index(0, value);
value18 = B.JSArray_methods.join$1(t20 == null ? A._setArrayType([], t5) : t20, ", "); value18 = B.JSArray_methods.join$1(t20 == null ? A._setArrayType([], t5) : t20, ", ");
break; break;
@ -108495,7 +108499,7 @@
t20 = J.getInterceptor$(value18); t20 = J.getInterceptor$(value18);
if (t20.get$runtimeType(value18) === B.Type_bool_lhE) if (t20.get$runtimeType(value18) === B.Type_bool_lhE)
row.push(new A.ReportBoolValue(value18, payment.get$entityType(), value)); row.push(new A.ReportBoolValue(value18, payment.get$entityType(), value));
else if (t19 === B.PaymentReportFields_27) else if (t19 === B.PaymentReportFields_28)
row.push(new A.ReportNumberValue(value18, _null, t18, _null, payment.get$entityType(), value)); row.push(new A.ReportNumberValue(value18, _null, t18, _null, payment.get$entityType(), value));
else if (t20.get$runtimeType(value18) === B.Type_double_K1J || t20.get$runtimeType(value18) === B.Type_int_tHn) else if (t20.get$runtimeType(value18) === B.Type_double_K1J || t20.get$runtimeType(value18) === B.Type_int_tHn)
row.push(new A.ReportNumberValue(value18, _null, t17.currencyId, _null, payment.get$entityType(), value)); row.push(new A.ReportNumberValue(value18, _null, t17.currencyId, _null, payment.get$entityType(), value));
@ -108512,7 +108516,7 @@
B.JSArray_methods.sort$1(data, new A.paymentReport_closure2(paymentReportSettings, selectedColumns)); B.JSArray_methods.sort$1(data, new A.paymentReport_closure2(paymentReportSettings, selectedColumns));
t2 = type$.MappedListIterable_of_legacy_PaymentReportFields_and_legacy_String; t2 = type$.MappedListIterable_of_legacy_PaymentReportFields_and_legacy_String;
t1 = t2._eval$1("ListIterable.E"); t1 = t2._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_wMy0, new A.paymentReport_closure3(), t2), true, t1), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.paymentReport_closure4(), t2), true, t1), data, entities, true); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_M6L, new A.paymentReport_closure3(), t2), true, t1), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.paymentReport_closure4(), t2), true, t1), data, entities, true);
}, },
PaymentReportFields: function PaymentReportFields(t0, t1) { PaymentReportFields: function PaymentReportFields(t0, t1) {
this.index = t0; this.index = t0;
@ -111780,6 +111784,9 @@
if (value9 == null) if (value9 == null)
value9 = ""; value9 = "";
break; break;
case B.TaskReportFields_25:
value9 = A.taskRateSelector(client, t5, group, project, task) * A.round(B.JSInt_methods._tdivFast$1(task.calculateDuration$0()._duration, 1000000) / 3600, 3);
break;
default: default:
value9 = ""; value9 = "";
} }
@ -111808,7 +111815,7 @@
B.JSArray_methods.sort$1(data, new A.taskReport_closure2(taskReportSettings, selectedColumns)); B.JSArray_methods.sort$1(data, new A.taskReport_closure2(taskReportSettings, selectedColumns));
t1 = type$.MappedListIterable_of_legacy_TaskReportFields_and_legacy_String; t1 = type$.MappedListIterable_of_legacy_TaskReportFields_and_legacy_String;
t2 = t1._eval$1("ListIterable.E"); t2 = t1._eval$1("ListIterable.E");
return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_qrv, new A.taskReport_closure3(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.taskReport_closure4(), t1), true, t2), data, entities, true); return new A.ReportResult(selectedColumns, A.List_List$of(new A.MappedListIterable(B.List_GRf, new A.taskReport_closure3(), t1), true, t2), A.List_List$of(new A.MappedListIterable(defaultColumns, new A.taskReport_closure4(), t1), true, t2), data, entities, true);
}, },
TaskReportFields: function TaskReportFields(t0, t1) { TaskReportFields: function TaskReportFields(t0, t1) {
this.index = t0; this.index = t0;
@ -344307,7 +344314,7 @@
$isSerializer: 1, $isSerializer: 1,
$isStructuredSerializer: 1, $isStructuredSerializer: 1,
get$types() { get$types() {
return B.List_wMy1; return B.List_wMy0;
}, },
get$wireName() { get$wireName() {
return "SizeEntity"; return "SizeEntity";
@ -347173,6 +347180,7 @@
taskB = sortAscending ? task : this; taskB = sortAscending ? task : this;
switch (sortField) { switch (sortField) {
case "duration": case "duration":
case "amount":
response = B.JSInt_methods.compareTo$1(taskA.calculateDuration$0()._duration, taskB.calculateDuration$0()._duration); response = B.JSInt_methods.compareTo$1(taskA.calculateDuration$0()._duration, taskB.calculateDuration$0()._duration);
break; break;
case "description": case "description":
@ -360430,7 +360438,7 @@
$async$goto = 1; $async$goto = 1;
break; break;
} }
A._checkResponse(response); A._checkResponse(url, response);
$async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes)); $async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes));
// goto return // goto return
$async$goto = 1; $async$goto = 1;
@ -360520,7 +360528,7 @@
$async$goto = 1; $async$goto = 1;
break; break;
} }
A._checkResponse(response); A._checkResponse(url, response);
$async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes)); $async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes));
// goto return // goto return
$async$goto = 1; $async$goto = 1;
@ -360559,7 +360567,7 @@
// returning from await. // returning from await.
response = $async$result; response = $async$result;
client.close$0(0); client.close$0(0);
A._checkResponse(response); A._checkResponse(url, response);
$async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes)); $async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes));
// goto return // goto return
$async$goto = 1; $async$goto = 1;
@ -360601,7 +360609,7 @@
// returning from await. // returning from await.
response = $async$result; response = $async$result;
client.close$0(0); client.close$0(0);
A._checkResponse(response); A._checkResponse(url, response);
$async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes)); $async$returnValue = B.C_JsonCodec.decode$1(0, A.encodingForCharset(J.$index$asx(A._contentTypeForHeaders(response.headers).parameters._collection$_map, "charset")).decode$1(0, response.bodyBytes));
// goto return // goto return
$async$goto = 1; $async$goto = 1;
@ -435186,7 +435194,8 @@
B.JSArray_methods.addAll$1(t5, t6); B.JSArray_methods.addAll$1(t5, t6);
} }
t3.push(A.FormCard$(_null, A._setArrayType([A.Flex$(t5, B.CrossAxisAlignment_2, t4, _null, B.MainAxisAlignment_2, B.MainAxisSize_1, _null, _null, B.VerticalDirection_1)], t2), _null, _null, true, B.EdgeInsets_0_0_0_0, false, _null)); t3.push(A.FormCard$(_null, A._setArrayType([A.Flex$(t5, B.CrossAxisAlignment_2, t4, _null, B.MainAxisAlignment_2, B.MainAxisSize_1, _null, _null, B.VerticalDirection_1)], t2), _null, _null, true, B.EdgeInsets_0_0_0_0, false, _null));
return A.SafeArea$(true, new A.ScrollableListView(t3, _null, _null, _null, false, _null), B.EdgeInsets_0_0_0_0, true); t3.push(new A.SizedBox(_null, 20, _null, _null));
return A.SafeArea$(true, new A.ScrollableListView(t3, _null, _null, true, false, _null), B.EdgeInsets_0_0_0_0, true);
} }
}; };
A._LoginState__submitSignUpForm_closure.prototype = { A._LoginState__submitSignUpForm_closure.prototype = {
@ -448272,6 +448281,8 @@
call$1(b) { call$1(b) {
var t1 = this.vendor; var t1 = this.vendor;
t1 = t1 == null ? null : t1.get$id(t1); t1 = t1 == null ? null : t1.get$id(t1);
if (t1 == null)
t1 = "";
b.get$_expense_model$_$this()._expense_model$_vendorId = t1; b.get$_expense_model$_$this()._expense_model$_vendorId = t1;
return b; return b;
}, },
@ -448826,7 +448837,7 @@
t5 = A.Text$(t1.get$markPaid(), _null, _null, _null, _null, _null, _null, _null, _null, _null); t5 = A.Text$(t1.get$markPaid(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
t6 = _this._showPaymentFields; t6 = _this._showPaymentFields;
t6 = A.SwitchListTile$(t4.secondary, _null, new A.ExpenseEditSettingsState_build_closure0(_this, expense, viewModel), _null, A.Text$(t1.get$markPaidHelp(), _null, _null, _null, _null, _null, _null, _null, _null, _null), t5, t6); t6 = A.SwitchListTile$(t4.secondary, _null, new A.ExpenseEditSettingsState_build_closure0(_this, expense, viewModel), _null, A.Text$(t1.get$markPaidHelp(), _null, _null, _null, _null, _null, _null, _null, _null, _null), t5, t6);
t4 = _this._showPaymentFields ? A.Column$(A._setArrayType([new A.SizedBox(_null, 8, _null, _null), A.EntityDropdown$(true, false, expense.paymentTypeId, $.$get$memoizedPaymentTypeList().call$1(staticState.paymentTypeMap), _null, B.EntityType_paymentType, B.List_empty1, t1.get$paymentType(), _null, _null, new A.ExpenseEditSettingsState_build_closure1(viewModel, expense), _null, _null, _null), A.DatePicker$(false, _null, _null, t1.get$date(), _null, new A.ExpenseEditSettingsState_build_closure2(viewModel, expense), expense.paymentDate, _null), A.DecoratedFormField$(false, _null, false, _this._expense_edit_settings$_transactionReferenceController, _null, true, _null, _null, _null, _null, false, false, _null, B.TextInputType_0_null_null, t1.get$transactionReference(), _null, _null, false, _null, _null, viewModel.onSavePressed, true, _null, _null, B.TextAlign_4, _null), new A.SizedBox(_null, 16, _null, _null)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1) : new A.SizedBox(_null, _null, _null, _null); t4 = _this._showPaymentFields ? A.Column$(A._setArrayType([new A.SizedBox(_null, 8, _null, _null), A.EntityDropdown$(true, false, expense.paymentTypeId, $.$get$memoizedPaymentTypeList().call$1(staticState.paymentTypeMap), _null, B.EntityType_paymentType, B.List_empty1, t1.get$paymentType(), _null, _null, new A.ExpenseEditSettingsState_build_closure1(viewModel, expense), _null, _null, _null), A.DatePicker$(false, _null, _null, t1.get$date(), _null, new A.ExpenseEditSettingsState_build_closure2(viewModel, expense), expense.paymentDate, _null), A.DecoratedFormField$(false, _null, false, _this._expense_edit_settings$_transactionReferenceController, _null, true, _null, _null, _null, _null, false, false, _null, B.TextInputType_1_null_null, t1.get$transactionReference(), 3, _null, false, _null, _null, viewModel.onSavePressed, true, _null, _null, B.TextAlign_4, _null), new A.SizedBox(_null, 16, _null, _null)], type$.JSArray_legacy_Widget), B.CrossAxisAlignment_2, _null, B.MainAxisAlignment_0, B.MainAxisSize_1, B.VerticalDirection_1) : new A.SizedBox(_null, _null, _null, _null);
t5 = A.Theme_of(context).colorScheme; t5 = A.Theme_of(context).colorScheme;
t7 = A.Text$(t1.get$convertCurrency(), _null, _null, _null, _null, _null, _null, _null, _null, _null); t7 = A.Text$(t1.get$convertCurrency(), _null, _null, _null, _null, _null, _null, _null, _null, _null);
t8 = $.$get$LocalizationsProvider__localizedValues(); t8 = $.$get$LocalizationsProvider__localizedValues();
@ -469296,7 +469307,7 @@
}; };
A.paymentReport_closure.prototype = { A.paymentReport_closure.prototype = {
call$1(e) { call$1(e) {
return A.EnumUtils_fromString(B.List_wMy0, e, type$.legacy_PaymentReportFields); return A.EnumUtils_fromString(B.List_M6L, e, type$.legacy_PaymentReportFields);
}, },
$signature: 2804 $signature: 2804
}; };
@ -471736,7 +471747,7 @@
}; };
A.taskReport_closure.prototype = { A.taskReport_closure.prototype = {
call$1(e) { call$1(e) {
return A.EnumUtils_fromString(B.List_qrv, e, type$.legacy_TaskReportFields); return A.EnumUtils_fromString(B.List_GRf, e, type$.legacy_TaskReportFields);
}, },
$signature: 2861 $signature: 2861
}; };
@ -488936,35 +488947,31 @@
}; };
A.TaskPresenter.prototype = { A.TaskPresenter.prototype = {
getField$2$context$field(context, field) { getField$2$context$field(context, field) {
var t3, t4, client, t5, taskTimes, taskTime, notes, _this = this, _null = null, var t3, t4, t5, client, taskTimes, taskTime, notes, t6, _this = this, _null = null,
t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization), t1 = A.Localizations_of(context, B.Type_AppLocalization_KyD, type$.legacy_AppLocalization),
task = type$.legacy_TaskEntity._as(_this.entity), task = type$.legacy_TaskEntity._as(_this.entity),
t2 = A.StoreProvider_of(context, type$.legacy_AppState).__Store__state_A; t2 = A.StoreProvider_of(context, type$.legacy_AppState).__Store__state_A;
t2 === $ && A.throwUnnamedLateFieldNI(); t2 === $ && A.throwUnnamedLateFieldNI();
t3 = t2.userCompanyStates;
t2 = t2.uiState.selectedCompanyIndex;
t3 = t3._list;
t4 = t3[t2].clientState;
t5 = task.clientId;
client = t4.$get$1(0, t5);
switch (field) { switch (field) {
case "status": case "status":
return A.EntityStatusChip$(task, true, 105); return A.EntityStatusChip$(task, true, 105);
case "client": case "client":
t1 = t2.userCompanyStates; return new A.LinkTextRelatedEntity(client, task, _null);
t2 = t2.uiState.selectedCompanyIndex;
return new A.LinkTextRelatedEntity(t1._list[t2].clientState.$get$1(0, task.clientId), task, _null);
case "rate": case "rate":
return A.Text$(A.formatNumber(task.rate, context, task.clientId, _null, B.FormatNumberType_0, true, _null, _null, false), _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.Text$(A.formatNumber(task.rate, context, t5, _null, B.FormatNumberType_0, true, _null, _null, false), _null, _null, _null, _null, _null, _null, _null, _null, _null);
case "calculated_rate": case "calculated_rate":
t1 = t2.userCompanyStates; t1 = t3[t2];
t2 = t2.uiState.selectedCompanyIndex; t4 = t1.userCompany.company;
t1 = t1._list; t1 = t1.projectState.$get$1(0, task.projectId);
t3 = t1[t2].clientState; return A.Text$(A.formatNumber(A.taskRateSelector(client, t4, t3[t2].groupState.$get$1(0, client.groupId), t1, task), context, t5, _null, B.FormatNumberType_0, true, _null, _null, false), _null, _null, _null, _null, _null, _null, _null, _null, _null);
t4 = task.clientId;
client = t3.$get$1(0, t4);
t3 = t1[t2];
t5 = t3.userCompany.company;
t3 = t3.projectState.$get$1(0, task.projectId);
return A.Text$(A.formatNumber(A.taskRateSelector(client, t5, t1[t2].groupState.$get$1(0, client.groupId), t3, task), context, t4, _null, B.FormatNumberType_0, true, _null, _null, false), _null, _null, _null, _null, _null, _null, _null, _null, _null);
case "project": case "project":
t1 = t2.userCompanyStates; return new A.LinkTextRelatedEntity(t3[t2].projectState.$get$1(0, task.projectId), task, _null);
t2 = t2.uiState.selectedCompanyIndex;
return new A.LinkTextRelatedEntity(t1._list[t2].projectState.$get$1(0, task.projectId), task, _null);
case "description": case "description":
return new A.TableTooltip(task.description, _null); return new A.TableTooltip(task.description, _null);
case "duration": case "duration":
@ -488972,15 +488979,13 @@
case "number": case "number":
return A.Text$(task.number, _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.Text$(task.number, _null, _null, _null, _null, _null, _null, _null, _null, _null);
case "invoice": case "invoice":
t1 = t2.userCompanyStates; t1 = t3[t2].invoiceState.map;
t2 = t2.uiState.selectedCompanyIndex; t2 = task.invoiceId;
t2 = t1._list[t2].invoiceState.map; t2 = t1._map$_map.$index(0, t2);
t1 = task.invoiceId; if (t2 == null)
t1 = t2._map$_map.$index(0, t1);
if (t1 == null)
t1 = _null; t1 = _null;
else else
t1 = t1.number; t1 = t2.number;
return A.Text$(t1 == null ? "" : t1, _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.Text$(t1 == null ? "" : t1, _null, _null, _null, _null, _null, _null, _null, _null, _null);
case "date": case "date":
taskTimes = task.getTaskTimes$0(); taskTimes = task.getTaskTimes$0();
@ -489006,6 +489011,18 @@
return A.Text$(_this.presentCustomField$2(context, task.customValue4), _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.Text$(_this.presentCustomField$2(context, task.customValue4), _null, _null, _null, _null, _null, _null, _null, _null, _null);
case "documents": case "documents":
return A.Text$("" + task.documents._list.length, _null, _null, _null, _null, _null, _null, _null, _null, _null); return A.Text$("" + task.documents._list.length, _null, _null, _null, _null, _null, _null, _null, _null, _null);
case "amount":
t1 = t3[t2];
t4 = t1.userCompany.company;
t1 = t1.projectState.map;
t6 = task.projectId;
t6 = t1._map$_map.$index(0, t6);
t5 = t3[t2].clientState.map._map$_map.$index(0, t5);
t2 = t3[t2].groupState.map;
t1 = client == null;
t3 = t1 ? _null : client.groupId;
t6 = task.calculateAmount$1(A.taskRateSelector(t5, t4, t2._map$_map.$index(0, t3), t6, task));
return A.Text$(A.formatNumber(t6, context, t1 ? _null : client.id, _null, B.FormatNumberType_0, true, _null, _null, false), _null, _null, _null, _null, _null, _null, _null, _null, _null);
} }
return _this.super$EntityPresenter$getField(context, field); return _this.super$EntityPresenter$getField(context, field);
} }
@ -489079,6 +489096,7 @@
t13.push("custom4"); t13.push("custom4");
t13.push("documents"); t13.push("documents");
t13.push("date"); t13.push("date");
t13.push("amount");
t14 = A._setArrayType(["status", "number", "client", "project", "description", "duration", "entity_state"], t1); t14 = A._setArrayType(["status", "number", "client", "project", "description", "duration", "entity_state"], t1);
t13 = A.AppBottomBar$(company.getCustomFieldValues$2$excludeBlank("task1", true), company.getCustomFieldValues$2$excludeBlank("task2", true), company.getCustomFieldValues$2$excludeBlank("task3", true), company.getCustomFieldValues$2$excludeBlank("task4", true), t14, B.EntityType_task, t9, t12, new A.TaskScreen_build_closure5(store), new A.TaskScreen_build_closure6(store), new A.TaskScreen_build_closure7(store), new A.TaskScreen_build_closure8(store), new A.TaskScreen_build_closure9(store), new A.TaskScreen_build_closure10(store), new A.TaskScreen_build_closure11(store), new A.TaskScreen_build_closure12(store), A._setArrayType(["number", "duration", "updated_at"], t1), t7, t13); t13 = A.AppBottomBar$(company.getCustomFieldValues$2$excludeBlank("task1", true), company.getCustomFieldValues$2$excludeBlank("task2", true), company.getCustomFieldValues$2$excludeBlank("task3", true), company.getCustomFieldValues$2$excludeBlank("task4", true), t14, B.EntityType_task, t9, t12, new A.TaskScreen_build_closure5(store), new A.TaskScreen_build_closure6(store), new A.TaskScreen_build_closure7(store), new A.TaskScreen_build_closure8(store), new A.TaskScreen_build_closure9(store), new A.TaskScreen_build_closure10(store), new A.TaskScreen_build_closure11(store), new A.TaskScreen_build_closure12(store), A._setArrayType(["number", "duration", "updated_at"], t1), t7, t13);
t1 = (t8.appLayout === B.AppLayout_mobile || t8.menuSidebarMode === B.AppSidebarMode_float) && t5.can$2(B.UserPermission_create, B.EntityType_task) ? A.FloatingActionButton$(A.Theme_of(context).primaryColorDark, A.Icon$(B.IconData_57415_MaterialIcons_null_false, B.Color_4294967295, _null), "task_fab", false, new A.TaskScreen_build_closure13(context), t6.get$newTask()) : _null; t1 = (t8.appLayout === B.AppLayout_mobile || t8.menuSidebarMode === B.AppSidebarMode_float) && t5.can$2(B.UserPermission_create, B.EntityType_task) ? A.FloatingActionButton$(A.Theme_of(context).primaryColorDark, A.Icon$(B.IconData_57415_MaterialIcons_null_false, B.Color_4294967295, _null), "task_fab", false, new A.TaskScreen_build_closure13(context), t6.get$newTask()) : _null;
@ -536877,8 +536895,8 @@
B.FullType_xI0 = new A.FullType(B.Type_VendorState_Db0, B.List_empty11, false); B.FullType_xI0 = new A.FullType(B.Type_VendorState_Db0, B.List_empty11, false);
B.List_kSI = A._setArrayType(makeConstList([B.FullType_fXI]), type$.JSArray_legacy_FullType); B.List_kSI = A._setArrayType(makeConstList([B.FullType_fXI]), type$.JSArray_legacy_FullType);
B.FullType_xS5 = new A.FullType(B.Type_BuiltList_iTR, B.List_kSI, false); B.FullType_xS5 = new A.FullType(B.Type_BuiltList_iTR, B.List_kSI, false);
B.List_qrv0 = A._setArrayType(makeConstList([B.FullType_FKj]), type$.JSArray_legacy_FullType); B.List_qrv = A._setArrayType(makeConstList([B.FullType_FKj]), type$.JSArray_legacy_FullType);
B.FullType_yLX = new A.FullType(B.Type_BuiltList_iTR, B.List_qrv0, false); B.FullType_yLX = new A.FullType(B.Type_BuiltList_iTR, B.List_qrv, false);
B.Type_CompanyPrefState_Y50 = A.typeLiteral("CompanyPrefState"); B.Type_CompanyPrefState_Y50 = A.typeLiteral("CompanyPrefState");
B.FullType_mes = new A.FullType(B.Type_CompanyPrefState_Y50, B.List_empty11, false); B.FullType_mes = new A.FullType(B.Type_CompanyPrefState_Y50, B.List_empty11, false);
B.List_b9P = A._setArrayType(makeConstList([B.FullType_h8g, B.FullType_mes]), type$.JSArray_legacy_FullType); B.List_b9P = A._setArrayType(makeConstList([B.FullType_h8g, B.FullType_mes]), type$.JSArray_legacy_FullType);
@ -537948,6 +537966,33 @@
B.List_GQ8 = A._setArrayType(makeConstList(["1er trimestre", "2e trimestre", "3e trimestre", "4e trimestre"]), type$.JSArray_legacy_String); B.List_GQ8 = A._setArrayType(makeConstList(["1er trimestre", "2e trimestre", "3e trimestre", "4e trimestre"]), type$.JSArray_legacy_String);
B.List_GQs = A._setArrayType(makeConstList(["jan", "shk", "mar", "pri", "maj", "qer", "korr", "gush", "sht", "tet", "n\xebn", "dhj"]), type$.JSArray_legacy_String); B.List_GQs = A._setArrayType(makeConstList(["jan", "shk", "mar", "pri", "maj", "qer", "korr", "gush", "sht", "tet", "n\xebn", "dhj"]), type$.JSArray_legacy_String);
B.List_GRA = A._setArrayType(makeConstList(["xaneiro", "febreiro", "marzo", "abril", "maio", "xu\xf1o", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro"]), type$.JSArray_legacy_String); B.List_GRA = A._setArrayType(makeConstList(["xaneiro", "febreiro", "marzo", "abril", "maio", "xu\xf1o", "xullo", "agosto", "setembro", "outubro", "novembro", "decembro"]), type$.JSArray_legacy_String);
B.TaskReportFields_0 = new A.TaskReportFields(0, "id");
B.TaskReportFields_1 = new A.TaskReportFields(1, "rate");
B.TaskReportFields_2 = new A.TaskReportFields(2, "calculated_rate");
B.TaskReportFields_3 = new A.TaskReportFields(3, "start_time");
B.TaskReportFields_4 = new A.TaskReportFields(4, "end_time");
B.TaskReportFields_5 = new A.TaskReportFields(5, "duration");
B.TaskReportFields_6 = new A.TaskReportFields(6, "description");
B.TaskReportFields_7 = new A.TaskReportFields(7, "invoice");
B.TaskReportFields_8 = new A.TaskReportFields(8, "invoice_amount");
B.TaskReportFields_9 = new A.TaskReportFields(9, "invoice_date");
B.TaskReportFields_10 = new A.TaskReportFields(10, "invoice_due_date");
B.TaskReportFields_11 = new A.TaskReportFields(11, "project");
B.TaskReportFields_12 = new A.TaskReportFields(12, "client");
B.TaskReportFields_13 = new A.TaskReportFields(13, "client_balance");
B.TaskReportFields_14 = new A.TaskReportFields(14, "client_address1");
B.TaskReportFields_15 = new A.TaskReportFields(15, "client_address2");
B.TaskReportFields_16 = new A.TaskReportFields(16, "client_shipping_address1");
B.TaskReportFields_17 = new A.TaskReportFields(17, "client_shipping_address2");
B.TaskReportFields_18 = new A.TaskReportFields(18, "task1");
B.TaskReportFields_19 = new A.TaskReportFields(19, "task2");
B.TaskReportFields_20 = new A.TaskReportFields(20, "task3");
B.TaskReportFields_21 = new A.TaskReportFields(21, "task4");
B.TaskReportFields_22 = new A.TaskReportFields(22, "status");
B.TaskReportFields_23 = new A.TaskReportFields(23, "assigned_to");
B.TaskReportFields_24 = new A.TaskReportFields(24, "created_by");
B.TaskReportFields_25 = new A.TaskReportFields(25, "amount");
B.List_GRf = A._setArrayType(makeConstList([B.TaskReportFields_0, B.TaskReportFields_1, B.TaskReportFields_2, B.TaskReportFields_3, B.TaskReportFields_4, B.TaskReportFields_5, B.TaskReportFields_6, B.TaskReportFields_7, B.TaskReportFields_8, B.TaskReportFields_9, B.TaskReportFields_10, B.TaskReportFields_11, B.TaskReportFields_12, B.TaskReportFields_13, B.TaskReportFields_14, B.TaskReportFields_15, B.TaskReportFields_16, B.TaskReportFields_17, B.TaskReportFields_18, B.TaskReportFields_19, B.TaskReportFields_20, B.TaskReportFields_21, B.TaskReportFields_22, B.TaskReportFields_23, B.TaskReportFields_24, B.TaskReportFields_25]), type$.JSArray_legacy_TaskReportFields);
B.List_GRv = A._setArrayType(makeConstList(["niedziela", "poniedzia\u0142ek", "wtorek", "\u015broda", "czwartek", "pi\u0105tek", "sobota"]), type$.JSArray_legacy_String); B.List_GRv = A._setArrayType(makeConstList(["niedziela", "poniedzia\u0142ek", "wtorek", "\u015broda", "czwartek", "pi\u0105tek", "sobota"]), type$.JSArray_legacy_String);
B.List_GSJ = A._setArrayType(makeConstList(["EEEE, d. MMMM y", "d. MMMM y", "d. MMM y", "dd.MM.yy"]), type$.JSArray_legacy_String); B.List_GSJ = A._setArrayType(makeConstList(["EEEE, d. MMMM y", "d. MMMM y", "d. MMM y", "dd.MM.yy"]), type$.JSArray_legacy_String);
B.List_GVQ = A._setArrayType(makeConstList(["Ahd", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"]), type$.JSArray_legacy_String); B.List_GVQ = A._setArrayType(makeConstList(["Ahd", "Isn", "Sel", "Rab", "Kha", "Jum", "Sab"]), type$.JSArray_legacy_String);
@ -538091,6 +538136,38 @@
B.List_M2I0 = A._setArrayType(makeConstList(["1-\u056b\u0576 \u0565\u057c\u0574\u057d.", "2-\u0580\u0564 \u0565\u057c\u0574\u057d.", "3-\u0580\u0564 \u0565\u057c\u0574\u057d.", "4-\u0580\u0564 \u0565\u057c\u0574\u057d."]), type$.JSArray_legacy_String); B.List_M2I0 = A._setArrayType(makeConstList(["1-\u056b\u0576 \u0565\u057c\u0574\u057d.", "2-\u0580\u0564 \u0565\u057c\u0574\u057d.", "3-\u0580\u0564 \u0565\u057c\u0574\u057d.", "4-\u0580\u0564 \u0565\u057c\u0574\u057d."]), type$.JSArray_legacy_String);
B.List_M2I = A._setArrayType(makeConstList(["\u09b0", "\u09b8\u09cb", "\u09ae", "\u09ac\u09c1", "\u09ac\u09c3", "\u09b6\u09c1", "\u09b6"]), type$.JSArray_legacy_String); B.List_M2I = A._setArrayType(makeConstList(["\u09b0", "\u09b8\u09cb", "\u09ae", "\u09ac\u09c1", "\u09ac\u09c3", "\u09b6\u09c1", "\u09b6"]), type$.JSArray_legacy_String);
B.List_M2b = A._setArrayType(makeConstList(["\u099c\u09be", "\u09ab\u09c7", "\u09ae\u09be", "\u098f", "\u09ae\u09c7", "\u099c\u09c1\u09a8", "\u099c\u09c1", "\u0986", "\u09b8\u09c7", "\u0985", "\u09a8", "\u09a1\u09bf"]), type$.JSArray_legacy_String); B.List_M2b = A._setArrayType(makeConstList(["\u099c\u09be", "\u09ab\u09c7", "\u09ae\u09be", "\u098f", "\u09ae\u09c7", "\u099c\u09c1\u09a8", "\u099c\u09c1", "\u0986", "\u09b8\u09c7", "\u0985", "\u09a8", "\u09a1\u09bf"]), type$.JSArray_legacy_String);
B.PaymentReportFields_0 = new A.PaymentReportFields(0, "id");
B.PaymentReportFields_1 = new A.PaymentReportFields(1, "number");
B.PaymentReportFields_2 = new A.PaymentReportFields(2, "amount");
B.PaymentReportFields_3 = new A.PaymentReportFields(3, "client");
B.PaymentReportFields_4 = new A.PaymentReportFields(4, "client_number");
B.PaymentReportFields_5 = new A.PaymentReportFields(5, "client_email");
B.PaymentReportFields_6 = new A.PaymentReportFields(6, "client_balance");
B.PaymentReportFields_7 = new A.PaymentReportFields(7, "client_address1");
B.PaymentReportFields_8 = new A.PaymentReportFields(8, "client_address2");
B.PaymentReportFields_9 = new A.PaymentReportFields(9, "client_vat_number");
B.PaymentReportFields_10 = new A.PaymentReportFields(10, "client_city");
B.PaymentReportFields_11 = new A.PaymentReportFields(11, "client_postal_code");
B.PaymentReportFields_12 = new A.PaymentReportFields(12, "client_country");
B.PaymentReportFields_13 = new A.PaymentReportFields(13, "client_shipping_address1");
B.PaymentReportFields_14 = new A.PaymentReportFields(14, "client_shipping_address2");
B.PaymentReportFields_15 = new A.PaymentReportFields(15, "client_state");
B.PaymentReportFields_16 = new A.PaymentReportFields(16, "client_shipping_city");
B.PaymentReportFields_17 = new A.PaymentReportFields(17, "client_shipping_state");
B.PaymentReportFields_18 = new A.PaymentReportFields(18, "client_shipping_postal_code");
B.PaymentReportFields_19 = new A.PaymentReportFields(19, "client_shipping_country");
B.PaymentReportFields_20 = new A.PaymentReportFields(20, "transaction_reference");
B.PaymentReportFields_21 = new A.PaymentReportFields(21, "date");
B.PaymentReportFields_22 = new A.PaymentReportFields(22, "type");
B.PaymentReportFields_23 = new A.PaymentReportFields(23, "payment1");
B.PaymentReportFields_24 = new A.PaymentReportFields(24, "payment2");
B.PaymentReportFields_25 = new A.PaymentReportFields(25, "payment3");
B.PaymentReportFields_26 = new A.PaymentReportFields(26, "payment4");
B.PaymentReportFields_27 = new A.PaymentReportFields(27, "exchange_rate");
B.PaymentReportFields_28 = new A.PaymentReportFields(28, "converted_amount");
B.PaymentReportFields_29 = new A.PaymentReportFields(29, "invoices");
B.PaymentReportFields_30 = new A.PaymentReportFields(30, "credits");
B.List_M6L = A._setArrayType(makeConstList([B.PaymentReportFields_0, B.PaymentReportFields_1, B.PaymentReportFields_2, B.PaymentReportFields_3, B.PaymentReportFields_4, B.PaymentReportFields_5, B.PaymentReportFields_6, B.PaymentReportFields_7, B.PaymentReportFields_8, B.PaymentReportFields_9, B.PaymentReportFields_10, B.PaymentReportFields_11, B.PaymentReportFields_12, B.PaymentReportFields_13, B.PaymentReportFields_14, B.PaymentReportFields_15, B.PaymentReportFields_16, B.PaymentReportFields_17, B.PaymentReportFields_18, B.PaymentReportFields_19, B.PaymentReportFields_20, B.PaymentReportFields_21, B.PaymentReportFields_22, B.PaymentReportFields_23, B.PaymentReportFields_24, B.PaymentReportFields_25, B.PaymentReportFields_26, B.PaymentReportFields_27, B.PaymentReportFields_28, B.PaymentReportFields_29, B.PaymentReportFields_30]), type$.JSArray_legacy_PaymentReportFields);
B.List_M9p = A._setArrayType(makeConstList(["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"]), type$.JSArray_legacy_String); B.List_M9p = A._setArrayType(makeConstList(["\u4e00\u6708", "\u4e8c\u6708", "\u4e09\u6708", "\u56db\u6708", "\u4e94\u6708", "\u516d\u6708", "\u4e03\u6708", "\u516b\u6708", "\u4e5d\u6708", "\u5341\u6708", "\u5341\u4e00\u6708", "\u5341\u4e8c\u6708"]), type$.JSArray_legacy_String);
B.PurchaseOrderReportFields_0 = new A.PurchaseOrderReportFields(0, "id"); B.PurchaseOrderReportFields_0 = new A.PurchaseOrderReportFields(0, "id");
B.PurchaseOrderReportFields_1 = new A.PurchaseOrderReportFields(1, "amount"); B.PurchaseOrderReportFields_1 = new A.PurchaseOrderReportFields(1, "amount");
@ -539727,32 +539804,6 @@
B.List_qpm = A._setArrayType(makeConstList(["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"]), type$.JSArray_legacy_String); B.List_qpm = A._setArrayType(makeConstList(["J", "F", "M", "A", "M", "J", "J", "A", "S", "O", "N", "D"]), type$.JSArray_legacy_String);
B.List_qq1 = A._setArrayType(makeConstList(["EEEE, d 'de' MMMM 'de' y", "d 'de' MMMM 'de' y", "d MMM y", "dd/MM/yy"]), type$.JSArray_legacy_String); B.List_qq1 = A._setArrayType(makeConstList(["EEEE, d 'de' MMMM 'de' y", "d 'de' MMMM 'de' y", "d MMM y", "dd/MM/yy"]), type$.JSArray_legacy_String);
B.List_qrV = A._setArrayType(makeConstList(["jan.", "feb.", "mar.", "apr.", "mai", "jun.", "jul.", "aug.", "sep.", "okt.", "nov.", "des."]), type$.JSArray_legacy_String); B.List_qrV = A._setArrayType(makeConstList(["jan.", "feb.", "mar.", "apr.", "mai", "jun.", "jul.", "aug.", "sep.", "okt.", "nov.", "des."]), type$.JSArray_legacy_String);
B.TaskReportFields_0 = new A.TaskReportFields(0, "id");
B.TaskReportFields_1 = new A.TaskReportFields(1, "rate");
B.TaskReportFields_2 = new A.TaskReportFields(2, "calculated_rate");
B.TaskReportFields_3 = new A.TaskReportFields(3, "start_time");
B.TaskReportFields_4 = new A.TaskReportFields(4, "end_time");
B.TaskReportFields_5 = new A.TaskReportFields(5, "duration");
B.TaskReportFields_6 = new A.TaskReportFields(6, "description");
B.TaskReportFields_7 = new A.TaskReportFields(7, "invoice");
B.TaskReportFields_8 = new A.TaskReportFields(8, "invoice_amount");
B.TaskReportFields_9 = new A.TaskReportFields(9, "invoice_date");
B.TaskReportFields_10 = new A.TaskReportFields(10, "invoice_due_date");
B.TaskReportFields_11 = new A.TaskReportFields(11, "project");
B.TaskReportFields_12 = new A.TaskReportFields(12, "client");
B.TaskReportFields_13 = new A.TaskReportFields(13, "client_balance");
B.TaskReportFields_14 = new A.TaskReportFields(14, "client_address1");
B.TaskReportFields_15 = new A.TaskReportFields(15, "client_address2");
B.TaskReportFields_16 = new A.TaskReportFields(16, "client_shipping_address1");
B.TaskReportFields_17 = new A.TaskReportFields(17, "client_shipping_address2");
B.TaskReportFields_18 = new A.TaskReportFields(18, "task1");
B.TaskReportFields_19 = new A.TaskReportFields(19, "task2");
B.TaskReportFields_20 = new A.TaskReportFields(20, "task3");
B.TaskReportFields_21 = new A.TaskReportFields(21, "task4");
B.TaskReportFields_22 = new A.TaskReportFields(22, "status");
B.TaskReportFields_23 = new A.TaskReportFields(23, "assigned_to");
B.TaskReportFields_24 = new A.TaskReportFields(24, "created_by");
B.List_qrv = A._setArrayType(makeConstList([B.TaskReportFields_0, B.TaskReportFields_1, B.TaskReportFields_2, B.TaskReportFields_3, B.TaskReportFields_4, B.TaskReportFields_5, B.TaskReportFields_6, B.TaskReportFields_7, B.TaskReportFields_8, B.TaskReportFields_9, B.TaskReportFields_10, B.TaskReportFields_11, B.TaskReportFields_12, B.TaskReportFields_13, B.TaskReportFields_14, B.TaskReportFields_15, B.TaskReportFields_16, B.TaskReportFields_17, B.TaskReportFields_18, B.TaskReportFields_19, B.TaskReportFields_20, B.TaskReportFields_21, B.TaskReportFields_22, B.TaskReportFields_23, B.TaskReportFields_24]), type$.JSArray_legacy_TaskReportFields);
B.List_qt1 = A._setArrayType(makeConstList(["sij", "velj", "o\u017eu", "tra", "svi", "lip", "srp", "kol", "ruj", "lis", "stu", "pro"]), type$.JSArray_legacy_String); B.List_qt1 = A._setArrayType(makeConstList(["sij", "velj", "o\u017eu", "tra", "svi", "lip", "srp", "kol", "ruj", "lis", "stu", "pro"]), type$.JSArray_legacy_String);
B.List_qva = A._setArrayType(makeConstList(["J", "F", "M", "\xc1", "M", "J", "J", "A", "Sz", "O", "N", "D"]), type$.JSArray_legacy_String); B.List_qva = A._setArrayType(makeConstList(["J", "F", "M", "\xc1", "M", "J", "J", "A", "Sz", "O", "N", "D"]), type$.JSArray_legacy_String);
B.List_r5C = A._setArrayType(makeConstList(["Su.", "M.", "Tu.", "W.", "Th.", "F.", "Sa."]), type$.JSArray_legacy_String); B.List_r5C = A._setArrayType(makeConstList(["Su.", "M.", "Tu.", "W.", "Th.", "F.", "Sa."]), type$.JSArray_legacy_String);
@ -539927,39 +539978,8 @@
B.List_wIq = A._setArrayType(makeConstList([B.Type_GroupEntity_CJE, B.Type__$GroupEntity_8qN]), type$.JSArray_legacy_Type); B.List_wIq = A._setArrayType(makeConstList([B.Type_GroupEntity_CJE, B.Type__$GroupEntity_8qN]), type$.JSArray_legacy_Type);
B.List_wIv = A._setArrayType(makeConstList(["1-\u056b\u0576 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f", "2-\u0580\u0564 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f", "3-\u0580\u0564 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f", "4-\u0580\u0564 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f"]), type$.JSArray_legacy_String); B.List_wIv = A._setArrayType(makeConstList(["1-\u056b\u0576 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f", "2-\u0580\u0564 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f", "3-\u0580\u0564 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f", "4-\u0580\u0564 \u0565\u057c\u0561\u0574\u057d\u0575\u0561\u056f"]), type$.JSArray_legacy_String);
B.Type__$SizeEntity_aLp = A.typeLiteral("_$SizeEntity"); B.Type__$SizeEntity_aLp = A.typeLiteral("_$SizeEntity");
B.List_wMy1 = A._setArrayType(makeConstList([B.Type_SizeEntity_ROq, B.Type__$SizeEntity_aLp]), type$.JSArray_legacy_Type); B.List_wMy0 = A._setArrayType(makeConstList([B.Type_SizeEntity_ROq, B.Type__$SizeEntity_aLp]), type$.JSArray_legacy_Type);
B.List_wMy = A._setArrayType(makeConstList(["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]), type$.JSArray_legacy_String); B.List_wMy = A._setArrayType(makeConstList(["Sunday", "Monday", "Tuesday", "Wednesday", "Thursday", "Friday", "Saturday"]), type$.JSArray_legacy_String);
B.PaymentReportFields_0 = new A.PaymentReportFields(0, "id");
B.PaymentReportFields_1 = new A.PaymentReportFields(1, "number");
B.PaymentReportFields_2 = new A.PaymentReportFields(2, "amount");
B.PaymentReportFields_3 = new A.PaymentReportFields(3, "client");
B.PaymentReportFields_4 = new A.PaymentReportFields(4, "client_number");
B.PaymentReportFields_5 = new A.PaymentReportFields(5, "client_balance");
B.PaymentReportFields_6 = new A.PaymentReportFields(6, "client_address1");
B.PaymentReportFields_7 = new A.PaymentReportFields(7, "client_address2");
B.PaymentReportFields_8 = new A.PaymentReportFields(8, "client_vat_number");
B.PaymentReportFields_9 = new A.PaymentReportFields(9, "client_city");
B.PaymentReportFields_10 = new A.PaymentReportFields(10, "client_postal_code");
B.PaymentReportFields_11 = new A.PaymentReportFields(11, "client_country");
B.PaymentReportFields_12 = new A.PaymentReportFields(12, "client_shipping_address1");
B.PaymentReportFields_13 = new A.PaymentReportFields(13, "client_shipping_address2");
B.PaymentReportFields_14 = new A.PaymentReportFields(14, "client_state");
B.PaymentReportFields_15 = new A.PaymentReportFields(15, "client_shipping_city");
B.PaymentReportFields_16 = new A.PaymentReportFields(16, "client_shipping_state");
B.PaymentReportFields_17 = new A.PaymentReportFields(17, "client_shipping_postal_code");
B.PaymentReportFields_18 = new A.PaymentReportFields(18, "client_shipping_country");
B.PaymentReportFields_19 = new A.PaymentReportFields(19, "transaction_reference");
B.PaymentReportFields_20 = new A.PaymentReportFields(20, "date");
B.PaymentReportFields_21 = new A.PaymentReportFields(21, "type");
B.PaymentReportFields_22 = new A.PaymentReportFields(22, "payment1");
B.PaymentReportFields_23 = new A.PaymentReportFields(23, "payment2");
B.PaymentReportFields_24 = new A.PaymentReportFields(24, "payment3");
B.PaymentReportFields_25 = new A.PaymentReportFields(25, "payment4");
B.PaymentReportFields_26 = new A.PaymentReportFields(26, "exchange_rate");
B.PaymentReportFields_27 = new A.PaymentReportFields(27, "converted_amount");
B.PaymentReportFields_28 = new A.PaymentReportFields(28, "invoices");
B.PaymentReportFields_29 = new A.PaymentReportFields(29, "credits");
B.List_wMy0 = A._setArrayType(makeConstList([B.PaymentReportFields_0, B.PaymentReportFields_1, B.PaymentReportFields_2, B.PaymentReportFields_3, B.PaymentReportFields_4, B.PaymentReportFields_5, B.PaymentReportFields_6, B.PaymentReportFields_7, B.PaymentReportFields_8, B.PaymentReportFields_9, B.PaymentReportFields_10, B.PaymentReportFields_11, B.PaymentReportFields_12, B.PaymentReportFields_13, B.PaymentReportFields_14, B.PaymentReportFields_15, B.PaymentReportFields_16, B.PaymentReportFields_17, B.PaymentReportFields_18, B.PaymentReportFields_19, B.PaymentReportFields_20, B.PaymentReportFields_21, B.PaymentReportFields_22, B.PaymentReportFields_23, B.PaymentReportFields_24, B.PaymentReportFields_25, B.PaymentReportFields_26, B.PaymentReportFields_27, B.PaymentReportFields_28, B.PaymentReportFields_29]), type$.JSArray_legacy_PaymentReportFields);
B.List_wQ8 = A._setArrayType(makeConstList(["f\xf8r Kristus", "etter Kristus"]), type$.JSArray_legacy_String); B.List_wQ8 = A._setArrayType(makeConstList(["f\xf8r Kristus", "etter Kristus"]), type$.JSArray_legacy_String);
B.List_wSV = A._setArrayType(makeConstList(["\u0c95\u0ccd\u0cb0\u0cbf.\u0caa\u0cc2", "\u0c95\u0ccd\u0cb0\u0cbf.\u0cb6"]), type$.JSArray_legacy_String); B.List_wSV = A._setArrayType(makeConstList(["\u0c95\u0ccd\u0cb0\u0cbf.\u0caa\u0cc2", "\u0c95\u0ccd\u0cb0\u0cbf.\u0cb6"]), type$.JSArray_legacy_String);
B.List_wTA = A._setArrayType(makeConstList(["\u0d1e", "\u0d24\u0d3f", "\u0d1a\u0d4a", "\u0d2c\u0d41", "\u0d35\u0d4d\u0d2f\u0d3e", "\u0d35\u0d46", "\u0d36"]), type$.JSArray_legacy_String); B.List_wTA = A._setArrayType(makeConstList(["\u0d1e", "\u0d24\u0d3f", "\u0d1a\u0d4a", "\u0d2c\u0d41", "\u0d35\u0d4d\u0d2f\u0d3e", "\u0d35\u0d46", "\u0d36"]), type$.JSArray_legacy_String);