Merge remote-tracking branch 'origin/main'
# Conflicts: # docker-compose.yml
This commit is contained in:
@@ -102,19 +102,19 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
.insert({
|
||||
account_id: input.accountId,
|
||||
name: input.name,
|
||||
short_name: input.shortName,
|
||||
short_name: input.shortName || null,
|
||||
association_type_id: input.associationTypeId,
|
||||
member_count: input.memberCount,
|
||||
founded_year: input.foundedYear,
|
||||
street: input.street,
|
||||
zip: input.zip,
|
||||
city: input.city,
|
||||
phone: input.phone,
|
||||
email: input.email,
|
||||
website: input.website,
|
||||
iban: input.iban,
|
||||
bic: input.bic,
|
||||
account_holder: input.accountHolder,
|
||||
phone: input.phone || null,
|
||||
email: input.email || null,
|
||||
website: input.website || null,
|
||||
iban: input.iban || null,
|
||||
bic: input.bic || null,
|
||||
account_holder: input.accountHolder || null,
|
||||
is_archived: input.isArchived,
|
||||
created_by: userId,
|
||||
updated_by: userId,
|
||||
@@ -248,8 +248,8 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
first_name: input.firstName,
|
||||
last_name: input.lastName,
|
||||
role: input.role,
|
||||
phone: input.phone,
|
||||
email: input.email,
|
||||
phone: input.phone || null,
|
||||
email: input.email || null,
|
||||
is_primary: input.isPrimary,
|
||||
})
|
||||
.select()
|
||||
@@ -309,7 +309,7 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
.insert({
|
||||
account_id: input.accountId,
|
||||
name: input.name,
|
||||
description: input.description,
|
||||
description: input.description || null,
|
||||
sort_order: input.sortOrder,
|
||||
})
|
||||
.select()
|
||||
@@ -368,7 +368,7 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
.insert({
|
||||
account_id: input.accountId,
|
||||
name: input.name,
|
||||
description: input.description,
|
||||
description: input.description || null,
|
||||
sort_order: input.sortOrder,
|
||||
})
|
||||
.select()
|
||||
@@ -427,7 +427,7 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
.insert({
|
||||
account_id: input.accountId,
|
||||
name: input.name,
|
||||
description: input.description,
|
||||
description: input.description || null,
|
||||
default_amount: input.defaultAmount,
|
||||
is_active: input.isActive,
|
||||
})
|
||||
@@ -532,8 +532,8 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
fee_type_id: input.feeTypeId,
|
||||
year: input.year,
|
||||
amount: input.amount,
|
||||
due_date: input.dueDate,
|
||||
paid_date: input.paidDate,
|
||||
due_date: input.dueDate || null,
|
||||
paid_date: input.paidDate || null,
|
||||
payment_method: input.paymentMethod,
|
||||
status: input.status,
|
||||
notes: input.notes,
|
||||
@@ -605,7 +605,7 @@ export function createVerbandApi(client: SupabaseClient<Database>) {
|
||||
title: input.title,
|
||||
content: input.content,
|
||||
note_type: input.noteType,
|
||||
due_date: input.dueDate,
|
||||
due_date: input.dueDate || null,
|
||||
is_completed: input.isCompleted,
|
||||
})
|
||||
.select()
|
||||
|
||||
Reference in New Issue
Block a user