removing crap

This commit is contained in:
Priec
2026-07-26 19:09:51 +02:00
parent 5f910fb071
commit 5ee8f0b02f
8 changed files with 6 additions and 23 deletions

2
client

Submodule client updated: 1abb27eecc...e26933ff78

View File

@@ -70,9 +70,8 @@ enum AccountingPeriodType {
ACCOUNTING_PERIOD_TYPE_UNSPECIFIED = 0; ACCOUNTING_PERIOD_TYPE_UNSPECIFIED = 0;
// One calendar month. // One calendar month.
ACCOUNTING_PERIOD_TYPE_MONTH = 1; ACCOUNTING_PERIOD_TYPE_MONTH = 1;
// Twelve consecutive months, aligned to the profile's fiscal year. Starting // Twelve consecutive months. Starting in January gives the calendar year;
// in January gives the calendar year; any other start month gives a business // any other start month gives a business year (hospodársky rok).
// year (hospodársky rok).
ACCOUNTING_PERIOD_TYPE_YEAR = 2; ACCOUNTING_PERIOD_TYPE_YEAR = 2;
// Neither a whole month nor a whole year, because the entity was formed or // 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. // terminated part-way through one. The only type carrying an explicit end.

View File

@@ -96,13 +96,6 @@ message PostTableDefinitionRequest {
// to base_currency: tables may hold money in any currency, and amounts convert // to base_currency: tables may hold money in any currency, and amounts convert
// to this one when they reach the ledger. // to this one when they reach the ledger.
string accounting_currency = 8; 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 // Defines the input for explicitly creating a table backed by one invoice

Binary file not shown.

View File

@@ -423,9 +423,8 @@ pub enum AccountingPeriodType {
Unspecified = 0, Unspecified = 0,
/// One calendar month. /// One calendar month.
Month = 1, Month = 1,
/// Twelve consecutive months, aligned to the profile's fiscal year. Starting /// Twelve consecutive months. Starting in January gives the calendar year;
/// in January gives the calendar year; any other start month gives a business /// any other start month gives a business year (hospodársky rok).
/// year (hospodársky rok).
Year = 2, Year = 2,
/// Neither a whole month nor a whole year, because the entity was formed or /// 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. /// terminated part-way through one. The only type carrying an explicit end.

View File

@@ -56,13 +56,6 @@ pub struct PostTableDefinitionRequest {
/// to this one when they reach the ledger. /// to this one when they reach the ledger.
#[prost(string, tag = "8")] #[prost(string, tag = "8")]
pub accounting_currency: ::prost::alloc::string::String, 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 /// Defines the input for explicitly creating a table backed by one invoice
/// template. typst_source must contain exactly one declaration of the form: /// template. typst_source must contain exactly one declaration of the form:

View File

@@ -115,7 +115,6 @@ impl CreateTableForm {
Ok(PostTableDefinitionRequest { Ok(PostTableDefinitionRequest {
accounting_currency: String::new(), accounting_currency: String::new(),
fiscal_year_start_month: 0,
table_name, table_name,
links, links,
columns, columns,

2
server

Submodule server updated: 14346dbc36...828c3382b9