mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-08 05:24:29 -04:00
Admin Portal - Profile
This commit is contained in:
parent
eed1bc2197
commit
12b75f84e9
13
public/main.profile.dart.js
vendored
13
public/main.profile.dart.js
vendored
@ -368599,7 +368599,7 @@
|
|||||||
_loadPDF$0: function() {
|
_loadPDF$0: function() {
|
||||||
var $async$goto = 0,
|
var $async$goto = 0,
|
||||||
$async$completer = P._makeAsyncAwaitCompleter(type$.legacy_Response),
|
$async$completer = P._makeAsyncAwaitCompleter(type$.legacy_Response),
|
||||||
$async$returnValue, $async$next = [], $async$self = this, errorMessage, state, url, t3, t4, startDate, endDate, exception, t1, response, t2;
|
$async$returnValue, $async$next = [], $async$self = this, errorMessage, state, url, t3, t4, exception, t1, response, t2;
|
||||||
var $async$_loadPDF$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
var $async$_loadPDF$0 = P._wrapJsFunctionForAsync(function($async$errorCode, $async$result) {
|
||||||
if ($async$errorCode === 1)
|
if ($async$errorCode === 1)
|
||||||
return P._asyncRethrow($async$result, $async$completer);
|
return P._asyncRethrow($async$result, $async$completer);
|
||||||
@ -368618,14 +368618,13 @@
|
|||||||
t3 = state.uiState.selectedCompanyIndex;
|
t3 = state.uiState.selectedCompanyIndex;
|
||||||
t2 = t2._list;
|
t2 = t2._list;
|
||||||
t4 = J.getInterceptor$asx(t2);
|
t4 = J.getInterceptor$asx(t2);
|
||||||
startDate = V.calculateStartDate(t4.$index(t2, t3).userCompany.company, null, null, $async$self._client_pdf$_dateRange, 0);
|
V.calculateStartDate(t4.$index(t2, t3).userCompany.company, null, null, $async$self._client_pdf$_dateRange, 0);
|
||||||
endDate = V.calculateEndDate(t4.$index(t2, t3).userCompany.company, null, null, $async$self._client_pdf$_dateRange, 0);
|
V.calculateEndDate(t4.$index(t2, t3).userCompany.company, null, null, $async$self._client_pdf$_dateRange, 0);
|
||||||
} else {
|
|
||||||
startDate = "";
|
|
||||||
endDate = "";
|
|
||||||
}
|
}
|
||||||
|
t2 = state.get$credentials(state);
|
||||||
|
t1 = t1.client.id;
|
||||||
$async$goto = 3;
|
$async$goto = 3;
|
||||||
return P._asyncAwait(new F.WebClient().post$4$data$rawResponse(url, state.get$credentials(state).token, C.C_JsonCodec.encode$1(P.LinkedHashMap_LinkedHashMap$_literal(["client_id", t1.client.id, "start_date", startDate, "end_date", endDate, "show_payments", $async$self._showPayments, "show_aging_table", $async$self._showAging], type$.legacy_String, type$.legacy_Object)), true), $async$_loadPDF$0);
|
return P._asyncAwait(new F.WebClient().post$4$data$rawResponse(url, t2.token, C.C_JsonCodec.encode$1(P.LinkedHashMap_LinkedHashMap$_literal(["client_id", t1, "start_date", "2019-01-01", "end_date", "2022-01-01", "show_payments", $async$self._showPayments, "show_aging_table", $async$self._showAging], type$.legacy_String, type$.legacy_Object)), true), $async$_loadPDF$0);
|
||||||
case 3:
|
case 3:
|
||||||
// returning from await.
|
// returning from await.
|
||||||
response = $async$result;
|
response = $async$result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user