Fix/user feedback (#210)
* Add delete policies for provider consent tokens and provider OTC * Add trade name support for companies in settings and documents * Resolved currency selection issue * Enhance invoice line display with foreign currency support and update delivery date schema to allow empty values * Add currency display for journal entries and include currency metadata in transaction creation * Add trade_name column to company_settings for external display
This commit is contained in:
@@ -196,6 +196,7 @@ export async function createTransactionJournalEntry(
|
||||
debit_amount: absAmount,
|
||||
credit_amount: 0,
|
||||
line_description: transaction.description,
|
||||
...(debitAccount === '1930' ? currencyMeta : {}),
|
||||
})
|
||||
// Credit revenue for net amount
|
||||
lines.push({
|
||||
@@ -221,6 +222,7 @@ export async function createTransactionJournalEntry(
|
||||
debit_amount: absAmount,
|
||||
credit_amount: 0,
|
||||
line_description: transaction.description,
|
||||
...(debitAccount === '1930' ? currencyMeta : {}),
|
||||
},
|
||||
{
|
||||
account_number: creditAccount,
|
||||
|
||||
Reference in New Issue
Block a user