Firefly III: a personal finances manager
PHP accountingbudgetbudgetingbudgetscash-flowcashflowcredit-carddockerexpensesfinancefinancesfinanciallinuxmoneypaycheckpersonal-financephpphp7
Small additions
James Cole6dcc78b9e5a5
diff --git a/resources/assets/v2/src/api/v1/model/account/put.js b/resources/assets/v2/src/api/v1/model/account/put.jsnew file mode 100644index 0000000000..d2ac8a8310--- /dev/null+++ b/resources/assets/v2/src/api/v1/model/account/put.js@@ -0,0 +1,36 @@+/*+ * list.js+ * Copyright (c) 2022 [email protected]+ *+ * This file is part of Firefly III (https://github.com/firefly-iii).+ *+ * This program is free software: you can redistribute it and/or modify+ * it under the terms of the GNU Affero General Public License as+ * published by the Free Software Foundation, either version 3 of the+ * License, or (at your option) any later version.+ *+ * This program is distributed in the hope that it will be useful,+ * but WITHOUT ANY WARRANTY; without even the implied warranty of+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the+ * GNU Affero General Public License for more details.+ *+ * You should have received a copy of the GNU Affero General Public License+ * along with this program. If not, see <https://www.gnu.org/licenses/>.+ */++import {api} from "../../../../boot/axios";+import format from "date-fns/format";++export default class Put {++ /**+ *+ * @param identifier+ * @param params+ * @returns {Promise<AxiosResponse<any>>}+ */+ put(identifier, params) {+ return api.put('/api/v2/accounts/' + identifier, params);+ }++}diff --git a/resources/assets/v2/src/support/page-settings/show-internals-button.js b/resources/assets/v2/src/support/page-settings/show-internals-button.jsindex a0d8e022a3..d9b466718d 100644--- a/resources/assets/v2/src/support/page-settings/show-internals-button.js+++ b/resources/assets/v2/src/support/page-settings/show-internals-button.js@@ -20,6 +20,6 @@export function showInternalsButton() {- console.log('showInternalsButton');+ // console.log('showInternalsButton');document.querySelector('.toggle-page-internals').classList.remove('d-none');}diff --git a/resources/views/v2/index.blade.php b/resources/views/v2/index.blade.phpindex fd5ae016d1..52f8ce6344 100644--- a/resources/views/v2/index.blade.php+++ b/resources/views/v2/index.blade.php@@ -59,7 +59,7 @@</div><div class="modal-body"><p>- Body+ Buttons.</p></div><div class="modal-footer">