MCP Occurrence-Felder beim Schreiben übernehmen
This commit is contained in:
1 parent
6750d4778f
commit
25ef8ef7b0
2 files changed
+12
-6
No files matched your search
@@ -215,6 +215,7 @@ function market_management_mcp_get_market(PDO $pdo, int $marketId, bool $include
|
||||
|
||||
function market_management_mcp_update_occurrence(PDO $pdo, int $occurrenceId, array $input): array
|
||||
{
|
||||
unset($input['occurrence_id']);
|
||||
$simpleCostFields = [];
|
||||
foreach (['gross_cost', 'cost_items_text', 'tax_status', 'tax_rate'] as $field) {
|
||||
if (array_key_exists($field, $input)) {
|
||||
|
||||
Reference in new issue
Block a user