Initial financial project import

This commit is contained in:
seo
2026-06-07 00:33:58 +09:00
commit faeab5f0f5
50 changed files with 11267 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?php
require_once __DIR__ . '/../app/lib/auth.php';
require_once __DIR__ . '/../app/lib/transaction_service.php';
check_auth();
if (($_SERVER['REQUEST_METHOD'] ?? '') !== 'POST') {
http_response_code(405);
exit('Method not allowed.');
}
$id = (int)($_POST['id'] ?? 0);
if ($id > 0) {
delete_transaction($id, user_id());
}
header('Location: /transactions.php');
exit;