diff --git a/client b/client index 1abb27e..e26933f 160000 --- a/client +++ b/client @@ -1 +1 @@ -Subproject commit 1abb27eecc7ed286594120fec03a0c90034422fd +Subproject commit e26933ff78e081f9804b65aa71c2d8d3a873465d diff --git a/common/proto/accounting.proto b/common/proto/accounting.proto index 78c30a4..cf9cd00 100644 --- a/common/proto/accounting.proto +++ b/common/proto/accounting.proto @@ -70,9 +70,8 @@ enum AccountingPeriodType { ACCOUNTING_PERIOD_TYPE_UNSPECIFIED = 0; // One calendar month. ACCOUNTING_PERIOD_TYPE_MONTH = 1; - // Twelve consecutive months, aligned to the profile's fiscal year. Starting - // in January gives the calendar year; any other start month gives a business - // year (hospodársky rok). + // Twelve consecutive months. Starting in January gives the calendar year; + // any other start month gives a business year (hospodársky rok). ACCOUNTING_PERIOD_TYPE_YEAR = 2; // Neither a whole month nor a whole year, because the entity was formed or // terminated part-way through one. The only type carrying an explicit end. diff --git a/common/proto/table_definition.proto b/common/proto/table_definition.proto index ec44c56..37995f4 100644 --- a/common/proto/table_definition.proto +++ b/common/proto/table_definition.proto @@ -96,13 +96,6 @@ message PostTableDefinitionRequest { // to base_currency: tables may hold money in any currency, and amounts convert // to this one when they reach the ledger. string accounting_currency = 8; - - // Month the profile's fiscal year begins, 1-12. Like accounting_currency, - // this describes the entity rather than the table, so it is required only - // when the request creates the profile and ignored afterwards. January means - // the calendar year; any other month means a business year (hospodársky - // rok), which may be used only after notifying the tax office. - uint32 fiscal_year_start_month = 9; } // Defines the input for explicitly creating a table backed by one invoice diff --git a/common/src/proto/descriptor.bin b/common/src/proto/descriptor.bin index 1b1555e..d16f322 100644 Binary files a/common/src/proto/descriptor.bin and b/common/src/proto/descriptor.bin differ diff --git a/common/src/proto/komp_ac.accounting.rs b/common/src/proto/komp_ac.accounting.rs index 247f35c..8f82501 100644 --- a/common/src/proto/komp_ac.accounting.rs +++ b/common/src/proto/komp_ac.accounting.rs @@ -423,9 +423,8 @@ pub enum AccountingPeriodType { Unspecified = 0, /// One calendar month. Month = 1, - /// Twelve consecutive months, aligned to the profile's fiscal year. Starting - /// in January gives the calendar year; any other start month gives a business - /// year (hospodársky rok). + /// Twelve consecutive months. Starting in January gives the calendar year; + /// any other start month gives a business year (hospodársky rok). Year = 2, /// Neither a whole month nor a whole year, because the entity was formed or /// terminated part-way through one. The only type carrying an explicit end. diff --git a/common/src/proto/komp_ac.table_definition.rs b/common/src/proto/komp_ac.table_definition.rs index 2b45fe2..8ab477e 100644 --- a/common/src/proto/komp_ac.table_definition.rs +++ b/common/src/proto/komp_ac.table_definition.rs @@ -56,13 +56,6 @@ pub struct PostTableDefinitionRequest { /// to this one when they reach the ledger. #[prost(string, tag = "8")] pub accounting_currency: ::prost::alloc::string::String, - /// Month the profile's fiscal year begins, 1-12. Like accounting_currency, - /// this describes the entity rather than the table, so it is required only - /// when the request creates the profile and ignored afterwards. January means - /// the calendar year; any other month means a business year (hospodársky - /// rok), which may be used only after notifying the tax office. - #[prost(uint32, tag = "9")] - pub fiscal_year_start_month: u32, } /// Defines the input for explicitly creating a table backed by one invoice /// template. typst_source must contain exactly one declaration of the form: diff --git a/graphs/src/pages/add_table/state.rs b/graphs/src/pages/add_table/state.rs index 173f952..18fad18 100644 --- a/graphs/src/pages/add_table/state.rs +++ b/graphs/src/pages/add_table/state.rs @@ -115,7 +115,6 @@ impl CreateTableForm { Ok(PostTableDefinitionRequest { accounting_currency: String::new(), - fiscal_year_start_month: 0, table_name, links, columns, diff --git a/server b/server index 14346db..828c338 160000 --- a/server +++ b/server @@ -1 +1 @@ -Subproject commit 14346dbc36b29731c01d0be631e156f456bb82a5 +Subproject commit 828c3382b97ceb25c055e7f4d9a7a98f3182477e