Actualizar contabilidad.html
This commit is contained in:
@@ -72,9 +72,17 @@
|
|||||||
|
|
||||||
<script src="js/layout.js"></script>
|
<script src="js/layout.js"></script>
|
||||||
<script>
|
<script>
|
||||||
const API_URL = window.location.hostname === 'localhost' || window.location.hostname === '127.0.0.1'
|
<script src="js/layout.js"></script>
|
||||||
? 'http://localhost:3000'
|
<script>
|
||||||
: 'https://integrarepara-api.integrarepara.es';
|
let financials = [];
|
||||||
|
|
||||||
|
document.addEventListener("DOMContentLoaded", () => {
|
||||||
|
if (!localStorage.getItem("token")) window.location.href = "index.html";
|
||||||
|
setTimeout(loadFinancials, 200);
|
||||||
|
});
|
||||||
|
|
||||||
|
async function loadFinancials() {
|
||||||
|
// ... resto del código ...
|
||||||
|
|
||||||
let financials = [];
|
let financials = [];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user