Set Invoice Credit, Consolidated all expense modals to modals/expense removed ajax_ and _modal prefixes from file name create new modal header and footer to include another parent directory eventually will consolidate all, this was just an example

This commit is contained in:
johnnyq
2025-08-22 16:59:31 -04:00
parent 7f49ecefb1
commit 6ccf7a0fb8
12 changed files with 49 additions and 29 deletions

View File

@@ -0,0 +1,10 @@
<script src="../../../js/app.js"></script>
<script src="../../../plugins/Show-Hide-Passwords-Bootstrap-4/bootstrap-show-password.min.js"></script>
<?php
$content = ob_get_clean();
// Return the title and content as a JSON response
echo json_encode(['content' => $content]);
exit();
?>

View File

@@ -0,0 +1,13 @@
<?php
require_once "../../../config.php";
require_once "../../../functions.php";
require_once "../../../includes/check_login.php";
header('Content-Type: application/json');
// Check for the 'id' parameter
//if (!isset($_GET['id'])) {
// echo json_encode(['error' => 'ID missing.']);
// exit;
//}