accounts renamed to ledger_accounts from now on
This commit is contained in:
@@ -349,7 +349,7 @@ impl TableDefinitionPageState {
|
||||
/// A table cannot link to itself, and the chart of accounts is reached
|
||||
/// through an ACCOUNTING row rather than through a link of one's own.
|
||||
fn eligible_link_target(&self, table: &TableSummary) -> bool {
|
||||
table.name != self.selection.table && table.name != crate::schema::ACCOUNTS_TABLE
|
||||
table.name != self.selection.table && table.name != crate::schema::LEDGER_ACCOUNTS_TABLE
|
||||
}
|
||||
|
||||
pub(crate) fn global_link_target_tables(&self) -> Vec<&str> {
|
||||
|
||||
Reference in New Issue
Block a user