fix: update RPC calls to use company_id instead of user_id for invoice and arrival number generation (#154)
This commit is contained in:
@@ -210,6 +210,7 @@ export async function processOverdueReminders(): Promise<ProcessRemindersResult>
|
||||
.insert({
|
||||
invoice_id: invoice.id,
|
||||
user_id: invoice.user_id,
|
||||
company_id: invoice.company_id,
|
||||
reminder_level: reminderLevel,
|
||||
email_to: customer.email
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user