Kostenpositionen im Durchführungsdrawer bearbeiten

This commit is contained in:
gitea_admin committed 2026-09-20 11:58:25 +02:00
1 parent 2a09401600
commit 6226f2a037
4 files changed
+19 -14

No files matched your search

-11
View File
@@ -1192,17 +1192,6 @@ function market_management_set_occurrence_contact(PDO $pdo, array $input): array
return (array) $stmt->fetch();
}
function market_management_delete_organizer(PDO $pdo, int $occurrenceId): array
{
$stmt = $pdo->prepare('DELETE FROM market_occurrence_organizer WHERE occurrence_id = :occurrence_id RETURNING id, occurrence_id');
$stmt->execute([':occurrence_id' => $occurrenceId]);
$organizer = $stmt->fetch();
if (!is_array($organizer)) {
throw new RuntimeException('Veranstalter nicht gefunden.');
}
return $organizer;
}
function market_management_create_cost_item(PDO $pdo, array $input): array
{
$occurrenceId = market_management_require_positive_id($input['occurrence_id'] ?? null, 'occurrence_id');